2020-12-08 10:40 PM
Is it possible to use half-duplex mode and synchronous mode in the USART at the same time?
I am trying to use USART with half-duplex mode and synchronous mode.
When I refer to RM, it says
"the synchronous mode is selected by writing the CLKEN bit in the USART_CR2 register to
1. In synchronous mode, the following bits must be kept cleared:
• HDSEL bit in the USART_CR3 register."
and in the half-duplex mode, saying
"The single-wire half-duplex mode is selected by setting the HDSEL bit in the USART_CR3
register. In this mode, the following bits must be kept cleared:
• CLKEN bit in the USART_CR2 register."
I assume I cannot use those modes at the same time.
Please tell me your opinion.
Best regards,
Hayden
2020-12-09 05:18 AM
Seems clear to me that those two conditions cannot happen at the same time.