View Full Version : 110 Baud Serial Communications - Possible?
jamie_s
- 7th January 2006, 03:54
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.
Charles Linquis
- 7th January 2006, 04:49
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.
Powered by vBulletin® Version 4.1.7 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.