Electronic – Why there are data bit lower than 8 data bit of uart

rs232uart

Our group are creating a UART IP Soft Core with Wishbone Wrapper and we are using 5,6,7 and 8 data bit. I just want to know what are the use of the 5, 6 and 7 data bit?

In addition to my question above, what are the possible applications of the customizable uart? any suggetion please?

Best Answer

In the past Baudot code was popular 5-bit code used with telegraph machines. The idea of being able to shift between letters and figures gave it coverage of uppercase letters, numeric and other common punctuation symbols above the usual total of 32 you'd expect from a 5-bit number.

ASCII is a 7-bit code (although often now transmitted as 8 bits regardless) so that explains why that was common. I'd never heard of six bits being used but presumably in the past if it was worthwhile to cover five, seven and eight bits handling six bits added no additional complexity, but more likely is Michael Karas' answer in that regard that six bit encoding was also popular as well.