GD32F20x User Manual
489
ISO 7816-3 compliant smartcard interface
–
Character mode (T=0)
–
Block mode (T=1)
–
Direct and inverse convention
Multiprocessor communication
–
Enter into mute mode if address match does not occur
–
Wake up from mute mode by idle frame or address match detection
Various status flags:
–
Flags for transfer detection: Receive buffer not empty (RBNE), Transmit buffer
empty (TBE), transfer complete (TC), and busy (BSY).
–
Flags for error detection: overrun error (ORERR), noise error (NERR), frame error
(FERR) and parity error (PERR)
–
Flag for hardware flow control: CTS changes (CTSF)
–
Flag for LIN mode: LIN break detected (LBDF)
–
Flag for multiprocessor communication: IDLE frame detected ( IDLEF)
–
Flags for smartcard block mode: end of block (EBF) and receiver timeout (RTF)
–
Interrupt occurs at these events when the corresponding interrupt enable bits are
set
While USART0/1/2/5 is fully implemented, UART3/4/6/7 is only partially implemented with the
following features not supported.
Smartcard mode
Synchronous mode
Hardware flow control protocol (CTS/RTS)
Configurable data polarity
19.3.
Function overview
The interface is externally connected to another device by the main pins listed as following.
Table 19-1. USART important pins description
Pin
Type
Description
RX
Input
Receive Data
TX
Output
I/O (single-wire/Smartcard mode)
Transmit Data. High level when enabled but nothing
to be transmitted
CK
Output
Serial clock for synchronous communication
nCTS
Input
Clear to send in hardware flow control mode
nRTS
Output
Request to send in hardware flow control mode
Summary of Contents for GD32F20 Series
Page 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Page 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Page 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Page 385: ...GD32F20x User Manual 385 ...
Page 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...