Intel 8XC196K Series User Manual page 172

Table of Contents

Advertisement

SP_BAUD (Continued)
The serial port baud rate (SP_BAUD) register selects the serial port baud rate and clock source. The
most-significant bit selects the clock source. The lower 15 bits represent BAUD_VALUE, an unsigned
integer that determines the baud rate.
The maximum BAUD_VALUE is 32,767 (7FFFH). In asynchronous modes 1, 2, and 3, the minimum
BAUD_VALUE is 0000H when using XTAL1 and 0001H when using T1CLK. In synchronous mode 0, the
minimum BAUD_VALUE is 0001H for transmissions and 0002H for receptions.
15
CA, J x
7
BV7
15
K x
CLKSRC
7
BV7
Bit
Bit
Number
Mnemonic
14:0
BV14:0
On the 87C196CA, 8XC196J x devices the T1CLK pin is not implemented; therefore, on these devices
this bit is reserved and should be written as one.
Figure 7-7. Serial Port Baud Rate (SP_BAUD) Register (Continued)
BV14
BV13
BV12
BV6
BV5
BV4
BV14
BV13
BV12
BV6
BV5
BV4
These bits constitute the BAUD_VALUE.
Use the following equations to determine the BAUD_VALUE for a given
baud rate.
††
Synchronous mode 0:
F
O SC
------------------------------------- - 1
BAUD_VALUE
=
Baud Rate
Asynchronous modes 1, 2, and 3:
F
---------------------------------------- - 1
BAUD_VALUE
=
Baud Rate
††
For mode 0 receptions, the BAUD_VALUE must be 0002H or greater.
Otherwise, the resulting data in the receive shift register will be incorrect.
SERIAL I/O (SIO) PORT
Address:
Reset State:
BV11
BV10
BV3
BV2
BV11
BV10
BV3
BV2
Function
T1CLK
--------------------------- -
or
×
2
Baud Rate
OSC
------------------------------------- -
or
×
16
Baud Rate
1FBCH
0000H
8
BV9
BV8
0
BV1
BV0
8
BV9
BV8
0
BV1
BV0
T1CLK
×
8
7-11

Advertisement

Table of Contents
loading

Table of Contents