cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

sanjay_ailani
New Contributor

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
odissey1
Honored Contributor II

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

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
odissey1
Honored Contributor II

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
odissey1
Honored Contributor II

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