Im looking at using PIC's for a serial interface / converter for some legacy equipment, which requires a baud rate of 110bps.
Is there any way a pic can go down to 110bps for serial input and output?
All i have found so far is some info on 300.
Im looking at using PIC's for a serial interface / converter for some legacy equipment, which requires a baud rate of 110bps.
Is there any way a pic can go down to 110bps for serial input and output?
All i have found so far is some info on 300.
You should be able to do this easily.
The method depends on whether or not you are using software (SERIN2/SEROUT2) or hardware (HSERIN/HSEROUT) UARTS.
For SERIN2/SEROUT2 you can use the formula given on page 129 of the PBP manual -
MODE = (1000000/baud) - 20
For HSERIN/HSEROUT check the datasheet for your processor. You will have to directly set BRGH and SPBRG according to your oscillator frequency.
Charles Linquist
Bookmarks