AnsweredAssumed Answered

What is the difference between HAL UART and HAL USART?

Question asked by Stefano Minconetti on Mar 30, 2017
Latest reply on Mar 31, 2017 by Guenael Cadier

Hi to all!,

 

Having to write a simple UART device driver for my application (based on a STM32L073 mcu),

I noticed that HAL presents two kind of uart drivers: an HAL UART and an HAL USART.

Digging a little bit into the related HAL code, I would say that HAL USART are more suited to

use USART macrocell as a simple uart; instead HAL UART seems to be more useful when 
a need for LIN/Multimaster mode or IrDA arises. Am I right?

 

Thanks in advance to everyone would take me a feedback!

Scrat75.

Outcomes