Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 1 > UART Communication

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



UART Communication
Moderator:
ARVI

Post Reply
Follow this topic



UART Communication

Bala posted on 16 Jun 2010 11:53 PM PST

1 Forum Post

Hi,

I am working with CY8C29466 to communnicate with a digital sensor through UART Communication. The sensor works with the following UART settings.

- baud rate: 2400
- data bits  : 7
- stop bit    : 1
- parity        : Even
- Time out  : 1000ms.

With the example UART code I have done the above settings with 8 data bits and tested in PC hyperterminal.

How to configure the UART for 7 data bits?




Re: UART Communication

Terrence posted on 17 Aug 2010 08:11 AM PST
Top Contributor
43 Forum Posts

Hi, FYI, the PSoC3/5 can do 5 - 9 bits data on the uart, if ever you decide to move up.



Re: UART Communication

gobu posted on 18 Aug 2010 02:32 AM PST
Member
3 Forum Posts

Hi, perhaps it will work with 8 data bit and  UART_PARITY_NONE   but you have to mask  the received bit sequence to get out the correct result  from the sensor.

 






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: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20