Sending String data through Uart and Receiving String Data through Uart

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