UART or USART in Cube libraries ?
So even newer STM32s still have both of UARTs and USARTs.
My question is about how they are going to be supported in Cube libraries.
Am dealing with H7x3 recently, and noticed that the UART example actually is for USART - as the serial connector on the eval. board is indeed USART1.
I've played with the example as is, and it works. Then out of curiosity I've changed all uses of "UART" lib API there to USART (added hal_uart.c, ...uart_ex.c to the project...) and RX interrupt no longer works. Output works well.
It does not get any singe RX interrupt.
In my real project both UARTs and USARTs will be needed.
What we have in the HAL drivers?
stm32h7xx_ll_usart.h is there, but no ll_uart.h/.c
https://github.com/STMicroelectronics/STM32CubeH7/blob/master/Drivers/STM32H7xx_HAL_Driver/Inc/
And same in STML4 library.
Is this simply omission or the developers intend to unify UART and USART in one module?
So that only USART will remain as superset?
I plan to use LL drivers instead of "HAL" of course, but still learning differences of "low level" details of the newer U(S)ARTs compared to these of F4 and F0, so still need working examples, even if they demonstrate HAL libs.
Regards,
-- pa