English
Language : 

IA186EM_11 Datasheet, PDF (73/146 Pages) InnovASIC, Inc – 8-Bit/16-Bit Microcontrollers
IA186EM/IA188EM
8-Bit/16-Bit Microcontrollers
Data Sheet
February 25, 2011
these registers must be adjusted to reflect the new processor clock frequency if power-save mode
is in effect. The baud rate divisor may be calculated from:
BAUDDIV = (Processor Frequency/(32 x baud rate)) -1
(Equation 1)
By setting the BAUDDIV to 0000h, the maximum baud rate of 1/32 of the internal processor
frequency clock is set. Setting BAUDDIV to 129 (81h) provides a baud rate of 9600 at 40 MHz.
The baud rate tolerance is +4.6% to –1.9% with respect to the actual serial port baud rate, not the
target baud rate (see Table 35).
Table 35. Baud Rates
Baud Rate
300
600
1200
2400
4800
9600
14400
19200
625 Kbaud
781.25 Kbaud
1.041 Mbaud
1.25 Mbaud
Divisor Based on CPU Clock Rate
20 MHz 25 MHz 33 MHz 40 MHz
4166 5208 6875 8333
2083 2604 3437 4166
1041 1302 1718 2083
520
651
859
1041
260
325
429
520
130
162
214
260
42
53
71
85
31
39
53
64
0
NA
NA
1
NA
0
NA
NA
NA
NA
0
NA
NA
NA
NA
0
The value of the SPBAUD register at reset is undefined (see Table 36).
Table 36. Serial Port Baud Rate Divisor Registers
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
BAUDDIV
Bits [15–0]—BAUDDIV Baud Rate Divisor → Defines the divisor for the internal
processor clock.
5.1.20 SPRD (086h)
Serial Port Receive Data Register. Data received over the serial port are stored in this register
until read. The data are received initially by the receive shift register (no software access)
permitting data to be received while the previous data are being read.
The RDR bit (Receive Data Ready) in the serial port status register indicates the status of the
SPRD register. Setting the RDR bit to 1 indicates there is valid data in the receive register. The
value of the SPRD register is undefined at reset (see Table 37).
®
IA211050831-19
http://www.Innovasic.com
UNCONTROLLED WHEN PRINTED OR COPIED
Customer Support:
Page 73 of 146
1-888-824-4184