UART Communication

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

cross mob
Anonymous
Not applicable

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?

0 Likes
2 Replies
TeHe_281121
Level 3
Level 3

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

0 Likes
DrBu_265381
Level 1
Level 1

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.

0 Likes