
NUC970 Technical Reference Manual
Publication Release Date: Dec. 15, 2015
- 485 -
Revision V1.30
NUC97
0
T
E
CHNIC
A
L
RE
F
E
RE
N
CE
MA
NUA
L
4. Select the UART baud rate by setting ETURDIV (SC_ETUCR[11:0]) fields. For example, if
smartcard module clock is 12 MHZ and target baud rate is 115200bps, ETURDIV should fill
with (12000000 / 115200 - 1).
5. Select the data format include data length (by setting WLS (SC_UARTCTL[5:4]), parity format
(by setting OPE (SC_UARTCTL[7]) and PBOFF (SC_UARTCTL[6])) and stop bit length (by
setting NSB (SC_CTL[15]) or EGT (SC_EGT[7:0])).
6. Select the receiver buffer trigger level by setting RXTRGLV (SC_CTL[7:6]) field and select the
receiver buffer time-out value by setting RFTM (SC_RXTOUT[8:0]) field.
7. Write SC_DAT (SC_DAT[7:0]) (TX) register or read the SC_DAT (SC_DAT[7:0]) (RX) register
can perform UART function.