How to configure uart0 with one start bit based on imp005?


#1

The character format I need to use is 1 start bit, 8 data bits, no parity and 1 stop bit. However, there’s no start bit in the application examples provided by electric imp. I checked out both hardware and software sides, but it failed to solve my problem. Does anyone know how to solve this problem? Thanks in advance.


#2

A single start bit is standard for all configurations of the electric imp UARTs. You don’t need to specify it when you configure uart0 for operation. It is just assumed.


#3

Nice. Thank you! I will have a try.


#4

I’ve never seen any configuration other than 1 start bit, in fact… or any chips that can support multiple start bits. Essentially, multiple stop bits are almost the same (in terms of increasing byte to byte separation for a given baudrate).