MS51
Nov. 28, 2019
Page
188
of 491
Rev 1.00
MS51
32K
SE
RIES
TE
CHNICAL RE
F
EREN
CE MA
N
UAL
SCnCR1
– SC Control Register
Register
SFR Address
Reset Value
SC0CR1
F2H, Page 2
0000_0000 b
SC1CR1
F4H, Page 2
0000_0000 b
SC2CR1
F6H, Page 2
0000_0000 b
7
6
5
4
3
2
1
0
OPE
PBOFF
WLS
TXDMAEN
RXDMAEN
CLKKEEP
UARTEN
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Bit
Name
Description
7
OPE
Odd Parity Enable Bit
0 = Even number of logic 1’s are transmitted or check the data word and parity bits in receiving
mode.
1 = Odd number of logic 1’s are transmitted or check the data word and parity bits in receiving
mode.
Note:
This bit has effect only when PBOFF bit is ‘0’.
6
PBOFF
Parity Bit Disable Control
0 = Parity bit is gene
rated or checked between the “last data word bit” and “stop bit” of the serial
data.
1 = Parity bit is not generated (transmitting data) or checked (receiving data) during transfer.
Note:
In ISO 7816-3
mode, this field must be ‘0’ (default setting is with parity bit)
5:4
WLS
Word Length Selection
00 = Word length is 8 bits.
01 = Word length is 7 bits.
10 = Word length is 6 bits.
11 = Word length is 5 bits.
Note:
In ISO 7816-3
mode, this WLS must be ‘00’
3
TXDMAEN
SC/UART TX DMA enable
This bit enables the SC/UART TX operating by through PDMA transfer, TX data needs to be
ready in XRAM before SC/UART TX starting.
0 = SPI TX DMA Disabled
1 = SPI TX DMA Enabled
2
RXDMAEN
SC/UART RX DMA enable
This bit enables the SC/UART RX operating by through PDMA transfer, RX data are saved in
XRAM after SC/UART RX operation.
0 = SC/UART RX DMA Disabled
1 = SC/UART RX DMA Enabled
1
CLKKEEP
SC Clock Enable Bit
0 = SC clock generation Disabled.
1 = SC clock always keeps free running.