Serial Communication Interface (S12SCIV5)
Table 11-2. SCIBDH and SCIBDL Field Descriptions
Field
Description
7
Infrared Enable Bit — This bit enables/disables the infrared modulation/demodulation submodule.
IREN
0 IR disabled
1 IR enabled
6:5
Transmitter Narrow Pulse Bits — These bits enable whether the SCI transmits a 1/16, 3/16, 1/32 or 1/4 narrow
TNP[1:0]
pulse. See Table 11-3.
4:0
7:0
SCI Baud Rate Bits — The baud rate for the SCI is determined by the bits in this register. The baud rate is
calculated two different ways depending on the state of the IREN bit.
SBR[12:0] The formulas for calculating the baud rate are:
When IREN = 0 then,
SCI baud rate = SCI bus clock / (16 x SBR[12:0])
When IREN = 1 then,
SCI baud rate = SCI bus clock / (32 x SBR[12:1])
Note: The baud rate generator is disabled after reset and not started until the TE bit or the RE bit is set for the
first time. The baud rate generator is disabled when (SBR[12:0] = 0 and IREN = 0) or (SBR[12:1] = 0 and
IREN = 1).
Note: Writing to SCIBDH has no effect without writing to SCIBDL, because writing to SCIBDH puts the data in
a temporary location until SCIBDL is written to.
Table 11-3. IRSCI Transmit Pulse Width
TNP[1:0]
Narrow Pulse Width
11
10
01
00
1/4
1/32
1/16
3/16
11.3.2.2 SCI Control Register 1 (SCICR1)
Module Base + 0x0002
7
6
5
4
3
2
1
0
R
W
LOOPS
SCISWAI
RSRC
M
WAKE
ILT
PE
PT
Reset
0
0
0
0
0
0
0
0
Figure 11-5. SCI Control Register 1 (SCICR1)
Read: Anytime, if AMAP = 0.
Write: Anytime, if AMAP = 0.
NOTE
This register is only visible in the memory map if AMAP = 0 (reset
condition).
S12P-Family Reference Manual, Rev. 1.13
368
Freescale Semiconductor