Having trouble with UART TX on P4.0

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
DaHu_285096
Level 5
Level 5
10 likes received 250 replies posted 100 replies posted

I am wanting to send UART data out P4.0 on CY8C4245PVI-482. Firmware is written in Creator 3.3 CP2.

   

When I attempt to use the UDB UART block, I cannot allocate the TX pin to P4.0 (the pin does not show in the pin list).

   

Should I be using the SCB component instead? And if so, how do I select P4.0 as pin to use.

   

 

   

Thanks

0 Likes
3 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Port 4 is not routable to signals coming from an UDB. Pick an SCB UART, that will work for pins P4_0 and P4_1

   

 

   

Bob

0 Likes
DaHu_285096
Level 5
Level 5
10 likes received 250 replies posted 100 replies posted

Thanks Bob,

   

I also noted I have TX and RX around the wrong way (I want TX out P4.0). I only need to send 2 bytes at a time at 6900 Baud so this time I am now bit-bashing them instead of redoing the hardware

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

You could use a PSoC4 L chip which is pin-compatible to your device. The internal routing is totally free.

   

 

   

Bob

0 Likes