Example Of Non Auto-Flow Control (Controlling Nrts And Ncts By Software) - Samsung S5PC110 Manual

Risc microprocessor
Table of Contents

Advertisement

S5PC110_UM
UART A

1.3.4 EXAMPLE OF NON AUTO-FLOW CONTROL (CONTROLLING NRTS AND NCTS BY SOFTWARE)

1.3.4.1 Rx Operation with FIFO
1. Select the transmit mode (Interrupt or DMA mode).
2. Check the value of Rx FIFO count in UFSTATn register. If the value is less than 16, you must set the value of
UMCONn[0] to '1' (activate nRTS). However, if the value equal to or larger than 16, you must set the value to
'0' (inactivate nRTS).
3. Repeat the Step 2.
1.3.4.2 Tx Operation with FIFO
1. Select the transmit mode (Interrupt or DMA mode).
2. Check the value of UMSTATn[0]. If the value is '1' (activate nCTS), you must write data to Tx FIFO register.
3. Repeat the Step 2
Transmission case in
UART A
UART B
TxD
RxD
nCTS
nRTS
Figure 1-2
1 UNIVERSAL ASYNCHRONOUS RECEIVER AND TRANSMITTER
Reception case in
UART A
RxD
nRTS
UART AFC Interface
UART A
UART B
TxD
nCTS
1-4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents