SW_Tx_UART issue

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

cross mob
mmartinez001
Level 1
Level 1
5 replies posted First reply posted First question asked

Device: CY8C5888LTI-LPO97

Simply trying to get print statement read out in putty. Device is connected to computer via USB connection. 

Firmware has been updated.

Already checked port and pin is correct one for this hardware. 

Code has not been changed. I have tired all baud rates.

Anyone I can trouble shoot this. I have no errors in the logs and nothing to tell me there is something wrong with the program. Is it possible the hardware is bad? I would appreciate any suggestions to trouble shoot. 

 

mmartinez001_1-1659823332014.png

mmartinez001_2-1659823366444.png

 

mmartinez001_0-1659823244680.png

 

0 Likes
1 Solution
BiBi_1928986
Level 7
Level 7
First comment on blog 500 replies posted 250 replies posted

It works for me.

Did you assign the port (in Design Wide Resources, Pins tab) according to PSoC 4 as shown in your image, or, did you connect to PSoC 5LP port TX 12.7?

edit: I was able to get garbage characters by slowing IMO clock down to 24MHz (despite what component datasheet says).  Had good results when IMO set to Desired 48MHz in Clocks tab of Design Wide Resources window.

View solution in original post

0 Likes
7 Replies
BiBi_1928986
Level 7
Level 7
First comment on blog 500 replies posted 250 replies posted

It works for me.

Did you assign the port (in Design Wide Resources, Pins tab) according to PSoC 4 as shown in your image, or, did you connect to PSoC 5LP port TX 12.7?

edit: I was able to get garbage characters by slowing IMO clock down to 24MHz (despite what component datasheet says).  Had good results when IMO set to Desired 48MHz in Clocks tab of Design Wide Resources window.

0 Likes

my port is P0[5] at pin 54

 

0 Likes

After further inspection, I needed to adjust the port to P12[7]. Thank you It works  now.

0 Likes
Len_CONSULTRON
Level 9
Level 9
Beta tester 500 solutions authored 1000 replies posted

mmartinez,

I downloaded the SW_TX_UART example project like you did.

The only change I needed to make is the assignment of the Tx pin.  Since I was using the CY8CKIT-059 the pin to sent UART Tx out the KitProg UART USB is P12.7

If you're not using the CY8CKIT-059, here is a table of other development boards and their pin assignments:

Len_CONSULTRON_1-1659871560250.png

 

This is the output I get using Termite:

Len_CONSULTRON_0-1659871367565.png

No problem here.

Make sure the pin assignment for the Tx pin matches your configuration for board you are using as BiBi suggested.

Len
"Engineering is an Art. The Art of Compromise."
0 Likes

my kit is CY8C5888LTI-LP097.

I think either my kit is damaged or its possible the USB cable I am using is damaged.  Might have to do some hardware checks... if its working for you guys

0 Likes
mmartinez001
Level 1
Level 1
5 replies posted First reply posted First question asked

this is how my pin assignment looks 

 

mmartinez001_0-1659900418271.png

 

 

 

0 Likes
mmartinez001
Level 1
Level 1
5 replies posted First reply posted First question asked

mmartinez001_1-1659900752069.png

 

0 Likes