Data bits / Word Length

14 years 3 months ago #11741277 by woodsb02
Data bits / Word Length was created by woodsb02
Hi there,

I am using the ST16C552 chip in a microcontroller to communicate with the Roboteq AX1500 via the RS232 serial port.

The options i have to set are:
<ul><li>Word Length (5 - 8)</li><li>Stop Bits (1 - 2)</li><li>Parity (None, even, odd, mark, space)</li><li>Break Control</li><li>Baud rate counter</li></ul>
The last two can simply be ignored and set to "normal" operation.

Obviously, I set stop bits to 1, parity to even... but is "Word Length" the same as "Data Bits"? The roboteq manual speaks of "data bits", but the manual for my chip speaks of "word length"... should word length be 7 or 8? I am thinking it is the same as data bits and is 7?

Cheers

Please Log in or Create an account to join the conversation.

14 years 3 months ago #11741428 by cosma
Replied by cosma on topic Re:Data bits / Word Length

Use the word lenght parameter and set it to 7-bit.

Please Log in or Create an account to join the conversation.

14 years 3 months ago #11741842 by woodsb02
Replied by woodsb02 on topic Re:Data bits / Word Length
Excellent... I suspected that would be the case.

Thank you very much for the speedy reply :)

Please Log in or Create an account to join the conversation.

Moderators: tonysantoni
Time to create page: 0.129 seconds