Because the 8051's UART requires timer1, which is clocked by the crystal (divided by 12), the only baud rates which the 8051's hardware can produce are:
Baud = Crystal / ( 12 * 16 * N )
where "N" is an integer from 1 to 255.
Summary of some standard crystals and the maximum standard baud rates:
Baud = Crystal / ( 12 * 16 * N )
where "N" is an integer from 1 to 255.
Summary of some standard crystals and the maximum standard baud rates:
Crystal (MHz) | Maximum Baudrate |
---|---|
1.00 | 300 |
1.8432 | 9600 |
2.00 | 300 |
2.4576 | 300 |
3.00 | 1200 |
3.579545 | 300 |
3.6864 | 19200 |
4.00 | 1200 |
4.194304 | 2400 |
4.91520 | 1200 |
5.00 | 2400 |
5.0688 | 2400 |
6.00 | 2400 |
6.144 | 1200 |
7.3728 | 38400 |
8.00 | 2400 |
10.00 | 4800 |
10.738635 | 2400 |
11.00 | 57600 |
11.0592 | 57600 |
12.00 | 4800 |
12.288 | 2400 |
14.31818 | 2400 |
14.7456 | 38400 |
15.00 | 38400 |
16.00 | 4800 |
18.432 | 19200 |
20.00 | 9600 |
22.1184 | 115200 |
24.00 | 9600 |
24.576 | 4800 |
25.00 | 4800 |
28.00 | 9600 |
32.00 | 9600 |
Related topics:
8051 Serial Baudrate Calculation | 8051 Timer Delay Calculation | 8051 Serial Port | 8051 Serial Port Programming | 8051 Timer Programming | 8051 Timers | 8051 Software Development Tools | 8051 Development Boards and Evaluation Kits | 8051 Features | 8051 History | 8051 Enhanced Version 8052
List of topics: 8051
No comments:
Post a Comment