Posted on October 08, 2015 at 00:01 Hi, I have a problem in catching errors when using UART in DMA mode. I use CubeMx to generate the code. The functions which I use to catch interrupts are the following (obviously my code is more complex, this ...
Posted on October 08, 2015 at 00:50 It just needs to enable UART_IT_ERR and UART_IT_PE... So I add the following lines at the end of the function HAL_UART_MspInit(UART_HandleTypeDef* huart) and it works: void HAL_UART_MspInit(UART_HandleTyp...