Start/Stop Bits in Serial Communications

Thread Starter

Guinness1759

Joined Dec 10, 2010
64
It appears that there is no way to configure the number of start/stop bits and parity for the PIC16F1827. Anyone know why they left these configuration options out?
 

AlexR

Joined Jan 16, 2008
732
Start bits: always 1 as far as I know
Stop bits: some ancient electromechanical printers did need 1.5 or 2 stop bits but all modern computers, printers etc only require 1 stop bit so why complicate things.
Parity: If you really must have parity you can always compute it yourself and add it in (the USART can be configured for 8 or 9 data bits so you could have 7 or 8 bits with parity) but why bother? Parity is a very weak form of error checking and you are far better of using CRC to pick up errors.
 
Top