English
Language : 

MC68HC11PH8 Datasheet, PDF (98/264 Pages) Motorola, Inc – High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcomputer Unit
5.6.1 SCBDH, SCBDL — SCI baud rate control registers
SCI1 baud rate high (SCBDH)
SCI1 baud rate low (SCBDL)
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
$0070 BTST BSPL BRST SBR12 SBR11 SBR10 SBR9 SBR8 0000 0000
$0071 SBR7 SBR6 SBR5 SBR4 SBR3 SBR2 SBR1 SBR0 0000 0100
The contents of this register determine the baud rate of the SCI.
BTST — Baud register test (Test mode only)
BSPL — Baud rate counter split (Test mode only)
5
BRST — Baud rate reset (Test mode only)
SBR[12:0] — SCI baud rate selects
Use the following formula to calculate SCI baud rate. Refer to the table of baud rate control values
for example rates:
SCI baud rate = -1--S6----T-×---4--(-X-2----BC----RK-----)
where the baud rate control value (BR) is the contents of SCBDH/L (BR = 1, 2, 3,... 8191).
For example, to obtain a baud rate of 1200 with a ST4XCK frequency of 12MHz, the baud register
(SCBDH/L) should contain $0138 (see Table 5-1).
The clock rate generator is disabled if BR = 0, or if neither the receiver nor transmitter is enabled
(both RE and TE in SCCR2 are cleared).
Writes to the baud rate registers will only be successful if the last (or only) byte written is SCBDL.
The use of an STD instruction is recommended as it guarantees that the bytes are written in the
correct order.
Note:
ST4XCK may be the output of the PLL circuit or it may be the EXTAL input of the MCU
(see Section 2.5, Figure 8-1 and Figure 8-2).
MOTOROLA
5-6
SERIAL COMMUNICATIONS INTERFACE
TPG
MC68HC11PH8