Department of Computer Science and Information EngineeringNational Cheng Kung University
HANEL
SERIAL COMMUNICA-TION
PROGRAMMINGDoubling Baud
Rate(cont’)
48002400
F4
-12SMOD=1 192009600 24001200
E8
-244800
FA
-69600
FD
-3SMOD=0
(Hex)
(Decimal)
TH1
XTAL oscillator Baud Rate comparison for SMOD=0 and SMOD=1÷^12÷^16
SMOD = 1
Machine cycle freq921.6 kHz28800 HzTo timer 1 To set the Baud rate÷^3257600 Hz11.0592 MHzSMOD = 0