Announcements

Help us improve the Power & Sensing Selection Guide. Share feedback

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

cross mob
sanjay_ailani
Level 1
Level 1
First question asked Welcome!

I want to send String data using uart and receive string data using uart on cy8c4245axi-483. I want sample code for doing this.

 

Please Help,

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

Sanjay,

attached is example of fixed function SCB UART Rx for PSoC4200M (KIT-044M). In this demo, simple text commands (e.g. "R255", "G127", "B10") from UART terminal (like TeraTerm or Putty) are used to control RGB LED intensity. If command is not recognized, MCU replies with error message.

Do not forget to use CR, LF (or both) when sending control commands.

/odissey1

UART_SCB_Rx_01.png

View solution in original post

0 Likes
3 Replies
Rakshith
Moderator
Moderator
Moderator
250 likes received 1000 replies posted 750 replies posted

Hi @sanjay_ailani

Can you please check this code example and let us know if it helps? -  CE224431 - PSoC 4 UART printf

Thanks and Regards,
Rakshith M B
0 Likes
lock attach
Attachments are accessible only for community members.
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

Sanjay,

attached is example of fixed function SCB UART Rx for PSoC4200M (KIT-044M). In this demo, simple text commands (e.g. "R255", "G127", "B10") from UART terminal (like TeraTerm or Putty) are used to control RGB LED intensity. If command is not recognized, MCU replies with error message.

Do not forget to use CR, LF (or both) when sending control commands.

/odissey1

UART_SCB_Rx_01.png

0 Likes

KIT-042 Annotation Component will help you with pins assignment on CY8CKIT-042, and using USB-UART bridge built-in into onboard PSoC5

KIT-042 annotation component for CY8CKIT-042 Pioneer Kit 

KIT-042_01a_Demo1_A.png

0 Likes