[Menu]>[Guide to use the PIC]>[873 Hardware]>[SFR]
On this page, the setting of signaling speed of the USART is described. At the manual of PIC16F873, Baud is used as the signaling speed. It should make a bps. Strictly, "baud" and "bps" are different. In the following table, "bps" is used. In case of PIC, the signaling speed changes with the clock frequency of PIC. The setting of a signaling speed is done with the SPBRG register. In case of the asynchronous mode, the speed error with the communication device outside occurs. The selection of the clock where few errors occur is needed. The calculation formula with SPBRG register value and signaling speed refer to "The signaling speed designating". Asynchronous communication speed in low-speed ( BRGH = 0 )
Asynchronous communication speed in high-speed ( BRGH = 1 )
Synchronous communication speed
Difference of "Baud" and "bps"
"bps" is the unit which shows the number of the bits to transfer into 1 second. When send the data which make the positive voltage of the circuit as "1", make the negative voltage as "0", "baud" and "bps" become the same value. It often uses a telephone line to connect the Internet. A telephone line is made to conduct voice and is designed to let through the frequency from 300 Hz to 3400 Hz. 3400Hz is the signal which changes into 1 second 3400 times. So, it is possible to let through maximum of 3400-bps data. Actually, it isn't possible to let through 3400 bps. The recent modem can do high-speed communication like 28.8Kbps, 33.6Kbps, 56Kbps and so on. These modems are using a phase modulation and more than one bit can be transferred in the signal change in the once. In case of the modem of 28.8Kbps, the 9-bit signal can be transferred in the signal change in the once. So, it becomes 28800/9 = 3200 baud when showing in baud. The signal to have let out from the personal computer at 28800 bps becomes a 3200-baud signal with the modem and it reaches the other party modem which connects through the telephone line. The other party modem extracts a 28800-bps signal from the 3200-baud signal and transfers it to the personal computer. |