UART tx with two stop bits and 7 data bits

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

cross mob
Anonymous
Not applicable

I need to modify the default 8 1 N string of the UART transmitter possible in the PSOC 1 devices. The requirement is for 7 2 N format. Does any one know the solution as cypress tech support apparently is not interested in looking in such trivial matters. I would be glad if some one could help me.

0 Likes
1 Reply
SampathS_11
Moderator
Moderator
Moderator
250 sign-ins 250 solutions authored 5 questions asked

Hello Girish,

   

By setting the 7th bit of your transmit data, which should be in bits[6:0], you can achieve 7 2 N format. There will be no changes in the receiver at the other end. 

   

Secondly, the 7th bit of the received data should be cleared. 

   

There will be no change in the timing, since the overall bit count remains same for 8 1 N and 7 2 N.

   

Thanks,

   

Sampath

0 Likes