How to use CYUSBS236 to print UART from CYUSB3014

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

cross mob
BobaJFET
Level 2
Level 2
5 replies posted 25 sign-ins 5 questions asked

Hello, 

I would like to use CYUSBS236 to print UART debug messages from a CYUSB3014 MCU using CyU3PDebugPrint(); 

I have been testing this using the CYUSBKIT-003 development board, and example code from cyfxusbi2cregmode. 

For my first test I wired the Tx/Miso pin from the dev board to pin 2 of the DB9 connector which is RXD. But I get garbage messages as shown here.  

BobaJFET_1-1678809075638.png

BobaJFET_2-1678809192751.pngBobaJFET_3-1678809244363.png

 

I also tried connecting Tx to SCB1_0 but get nothing on tera term:

BobaJFET_4-1678809359109.png

 

 

0 Likes
1 Solution
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

Please check if the following

- Are the power domains of UART on CYUSBS236 and CYUSB3KIT-003 are same

- Please confirm if ground pin on the DB9 connector is connected with GND on CYUSB3Kit-003.

You can refer to schematics if Fx3 explorer kit (CYUSB3KIT-003)

EDIT: Please refer to Figure 6 of this KBA https://community.infineon.com/t5/Knowledge-Base-Articles/FX3-CyU3PDebugPrint-Not-Printing-UART-Debu... and confirm if this is the case applicable to your application

Regards,
Rashi

View solution in original post

0 Likes
4 Replies
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

Please check if the following

- Are the power domains of UART on CYUSBS236 and CYUSB3KIT-003 are same

- Please confirm if ground pin on the DB9 connector is connected with GND on CYUSB3Kit-003.

You can refer to schematics if Fx3 explorer kit (CYUSB3KIT-003)

EDIT: Please refer to Figure 6 of this KBA https://community.infineon.com/t5/Knowledge-Base-Articles/FX3-CyU3PDebugPrint-Not-Printing-UART-Debu... and confirm if this is the case applicable to your application

Regards,
Rashi
0 Likes

- Are the power domains of UART on CYUSBS236 and CYUSB3KIT-003 are same

CYUSBKIT-003 is bus powered. I've programmed CYUSBS236 to also be bus powered. 

- Please confirm if ground pin on the DB9 connector is connected with GND on CYUSB3Kit-003

GND is connected. Same result occurs whether or not GND is connected.

0 Likes
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

CYUSBKIT-003 is bus powered. I've programmed CYUSBS236 to also be bus powered. 

>> Sorry, I meant UART block power domain. Please refer to CYUSB3KIT-003 schematics which uses USB Serial

 

Regards,
Rashi
0 Likes
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

Please refer to Figure 6 of this KBA https://community.infineon.com/t5/Knowledge-Base-Articles/FX3-CyU3PDebugPrint-Not-Printing-UART-Debu... and confirm if this is the case applicable to your application

Regards,
Rashi
0 Likes