MCBSTM32EXL Keil, MCBSTM32EXL Datasheet - Page 680

no-image

MCBSTM32EXL

Manufacturer Part Number
MCBSTM32EXL
Description
BOARD EVALUATION FOR STM32F103ZE
Manufacturer
Keil
Datasheets

Specifications of MCBSTM32EXL

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Universal synchronous asynchronous receiver transmitter (USART)
Note:
25.3.14
680/995
When the number of data transfers programmed in the DMA Controller is reached, the DMA
controller generates an interrupt on the DMA channel interrupt vector. The DMAR bit should
be cleared by software in the USART_CR3 register during the interrupt subroutine.
If DMA is used for reception, do not enable the RXNEIE bit.
Error flagging and interrupt generation in multibuffer communication
In case of multibuffer communication if any error occurs during the transaction the error flag
will be asserted after the current byte. An interrupt will be generated if the interrupt enable
flag is set. For framing error, overrun error and noise flag which are asserted with RXNE in
case of single byte reception, there will be separate error flag interrupt enable bit (EIE bit in
the USART_CR3 register), which if set will issue an interrupt after the current byte with
either of these errors.
Hardware flow control
It is possible to control the serial data flow between 2 devices by using the nCTS input and
the nRTS output. The
Figure 256. Hardware flow control between 2 USART
RTS and CTS flow control can be enabled independently by writing respectively RTSE and
CTSE bits to 1 (in the USART_CR3 register).
RTS flow control
If the RTS flow control is enabled (RTSE=1), then nRTS is asserted (tied low) as long as the
USART receiver is ready to receive new data. When the receive register is full, nRTS is
deasserted, indicating that the transmission is expected to stop at the end of the current
frame.
Figure 257. RTS flow control
nRTS
RX
Figure 257
TX circuit
RX circuit
USART 1
Start
Bit
shows an example of communication with RTS flow control enabled.
Figure 256
RX
nRTS
TX
nCTS
Data 1
Doc ID 13902 Rev 9
shows how to connect 2 devices in this mode:
RXNE
Stop
Bit
Idle Start
Data 1 read
Data 2 can now be transmitted
Bit
nRTS
nCTS
RX
TX
RX circuit
TX circuit
Data 2
USART 2
RXNE
Stop
Bit
RM0008

Related parts for MCBSTM32EXL