AnsweredAssumed Answered

CubeMX 407s USART/UART inconsistancy

Question asked by Andrei Chichak on Dec 12, 2014
Latest reply on Jan 9, 2015 by STM32Cube-T
I'm working on a system where we use a STM32F407VGT6. I set up the project in CubeMX (latest version). We are using USARTs 1,2, and 3 with interrupts for receive.

I'm having some issues with the USART portion of the HAL. I looked at the code in usart.c and I noticed that it is calling HAL_UART_init instead of HAL_USART_init (uart rather than uSart).

Actually, the code in stm32f4xx_hal_usart.c is mostly compiled out and the compiler ******* when I call HAL_USART_Receive_IT (as recommended in UM1725, the users manual for the F4 HAL).

Has the USART code been depreciated and I should always use the UART code?