Question
What is the difference between HAL UART and HAL USART?
Posted on March 30, 2017 at 16:22
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.
