Enhanced Serial Communication Interface (eSCI)
MPC5510 Microcontroller Family Reference Manual, Rev. 1
24-6
Freescale Semiconductor
Preliminary
24.3.2.2
eSCI Control Register 2 (ESCIx_CR2)
Offset: Base + 0x0004
Access: Read/Write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
MDIS
FBR
BSTP
IEB
ERR
RX
DMA
TX
DMA
BRK
13
TXDI
R
BESM
13
SB
STP
0
PMSK ORIE
NFIE
FEIE
PFIE
W
Reset
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 24-3. eSCI Control Register 2 (ESCIx_CR2)
Table 24-3. ESCIx_CR2 Field Description
Field
Description
MDIS
Module Disable. The MDIS bit enables or disables the module. DMA requests are negated if the device is in module
disable mode.
0 Module enabled
1 Module disabled
FBR
Fast Bit Error Detection. Manages bit error detection on a per-bit basis. If this is not enabled, bit errors will be
detected on a per-byte basis.
BSTP
Bit Error/Physical Bus Error Stop. Causes DMA TX requests to be suppressed, as long as the bit error and physical
bus error flags are not cleared. This stops further DMA writes, which would otherwise cause data bytes to be
interpreted as LIN header information.
IEBERR Enable Bit Error Interrupt. Generates an interrupt, when a LIN bit error is detected.
RXDMA
Activate RX DMA Channel. If this bit is enabled and the eSCI has received data, it will raise a DMA RX request.
TXDMA
Activate TX DMA Channel. When the eSCI is able to transmit data, it will raise a DMA TX request.
BRK13
Break Transmit Character Length. Determines whether the transmit break character is 10/11 or 13/14 bits long. The
detection of a framing error is not affected by this bit.
0
Break Character is 10 or 11 bits long
1
Break character is 13 or 14 bits long
Note: LIN 2.0 now requires that a break character is always 13 bits long, so this bit must always be set to 1. The
eSCI will work with BRK13=0, but it will violate LIN 2.0.
TXDIR
Transmitter Pin Data Direction in Single-Wire Mode. The TXDIR bit determines whether the TXD pin is going to be
used as an input or output in the Single-Wire mode of operation. This bit is only relevant in the Single-Wire mode of
operation.
0 TXD pin to be used as an input in Single-Wire mode
1 TXD pin to be used as an output in Single-Wire mode
Break Length:
ESCIx_CR1[M]
0
1
BRK13
0
10
11
1
13
14