Hello, I am new to PSOC4, I need to take data from UART and transmit to the GPIOs

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

cross mob
Anonymous
Not applicable

Hello, I am new to PSOC4, I need to take data from UART and transmit to the GPIOs

0 Likes
1 Solution
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

abhijeet,

Check this PSOC4 UART code example (receiving/sending command string from terminal and changing LED brightness)

(SCB mode)

http://www.cypress.com/comment/389231#comment-389231

And similar for UDB mode

http://origin-www.cypress.com/comment/235306#comment-235306

/odissey1

View solution in original post

2 Replies
Anonymous
Not applicable

Start with a UART example to read data from the UART port, then add a GPIO port to your schematic in the project and set the pin value based on the UART value received as directed by the datasheet for the GPIO component for setting the GPIO values.

0 Likes
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

abhijeet,

Check this PSOC4 UART code example (receiving/sending command string from terminal and changing LED brightness)

(SCB mode)

http://www.cypress.com/comment/389231#comment-389231

And similar for UDB mode

http://origin-www.cypress.com/comment/235306#comment-235306

/odissey1