Skip to main content
HEhat.1
Associate II
December 9, 2020
Question

[USART] half-duplex and synchronous mode at the same time

  • December 9, 2020
  • 1 reply
  • 1003 views

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

This topic has been closed for replies.

1 reply

TDK
December 9, 2020

Seems clear to me that those two conditions cannot happen at the same time.

"If you feel a post has answered your question, please click ""Accept as Solution""."