Download Print this page

ST STM32L4+ Series Reference Manual page 1763

Hide thumbs Also See for STM32L4+ Series:

Advertisement

RM0432
CTS
Transmit data register
TDR
TX
Note:
For correct behavior, nCTS must be asserted at least 3 USART clock source periods before
the end of the current character. In addition it should be noted that the CTSCF flag may not
be set for pulses shorter than 2 x PCLK periods.
RS485 driver enable
The driver enable feature is enabled by setting bit DEM in the USART_CR3 control register.
This enables the user to activate the external transceiver control, through the DE (Driver
Enable) signal. The assertion time is the time between the activation of the DE signal and
the beginning of the start bit. It is programmed using the DEAT [4:0] bitfields in the
USART_CR1 control register. The deassertion time is the time between the end of the last
stop bit, in a transmitted message, and the de-activation of the DE signal. It is programmed
using the DEDT [4:0] bitfields in the USART_CR1 control register. The polarity of the DE
signal can be configured using the DEP bit in the USART_CR3 control register.
In USART, the DEAT and DEDT are expressed in sample time units (1/8 or 1/16 bit time,
depending on the oversampling rate).
Universal synchronous/asynchronous receiver transmitter (USART/UART)
Figure 513. RS232 CTS flow control
Data 2
empty
Stop
Start
Data 1
bit
bit
Writing data 3 in TDR
RM0432 Rev 6
CTS
Data 3
Stop
Data 2
bit
Transmission of Data 3 is
delayed until CTS = 0
CTS
empty
Start
Idle
Data 3
bit
MSv31167V2
1763/2301
1858

Advertisement

loading
Need help?

Need help?

Do you have a question about the STM32L4+ Series and is the answer not in the manual?

Subscribe to Our Youtube Channel