Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 5 > UART in PSoC5 (newbie)

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



UART in PSoC5 (newbie)
Moderator:
ANCY

Post Reply
Follow this topic



UART in PSoC5 (newbie)

reggler posted on 21 Dec 2011 4:39 PM PST
Senior Member
18 Forum Posts

Hi There,

 

I'm just starting evaluation of PSoC5 with the Development Kit CY8CKIT-050.

I opened the ADC_DAC sample application that displays an 8bit pot position on the LCD. I now would like to communicate this value in binary over RS232 to a terminal application. So I grabbed a UART and dropped it on my sheet, I configured baudrate, stopbit and parity and added UART_Start(); and then UART_PutString("Hello World!\r\n"); after that. However, when I reset my dev kit, nothing appears in the terminal.

On the schematic design, the rx and tx pins were automatically wired up to Rx_1 and Tx_1 which I assume are the Rx and Tx that are routed to the 9pin d-sub connector .

 

Any hints would be appreciated, Thank you!

Ron




Re: UART in PSoC5 (newbie)

kmmankad posted on 21 Dec 2011 05:14 PM PST
Top Contributor
268 Forum Posts

 Hey,

with the 050 kit,you'll need to add wires from your assigned TX,RX pins to the 4 pin "RX-TX-CTS-RTS" pads/headers.

Hope this helps :-)



Re: UART in PSoC5 (newbie)

Gautam Das posted on 21 Dec 2011 08:43 PM PST
Cypress Employee
742 Forum Posts

Hi Ron,

 

As kmmankad has suggested, it is necessary to connect externally with wires, the Rx_1 and Tx_1 pins to the Rx and Tx headers respectively on the left side of the prototype area.

 

The pins which are mapped to Rx_1 and Tx_1 can be configured in the "Pins" tab of the .cydwr file to select appropriate port pins according to your requirement . Configure the Hyperterminal such that the baud rate, data bits, parity and flow control is same as that of the UART in PSoC.



Re: UART in PSoC5 (newbie)

reggler posted on 22 Dec 2011 10:20 AM PST
Senior Member
18 Forum Posts

Heh, okay, that would also explain why I couldnt' find anything on the schematics...

I soldere two wires on there and it works just fine now. Thanks for the hint! I thought it might be wired up already and I just can't find it...

 

Thanks a lot guys!






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20