Posted on June 25, 2015 at 15:58You are right, but question was about HAL libraries, so using DMA with single byte transfer is workaround for HAL ''issue''. Using normal UART interrupts you also need to generate interrupt for receiving each byte, so...
Posted on June 25, 2015 at 00:41I have no other idea how to manage UART framed communication with various frame sizes, without possibility for loosing some bytes . Especially using HAL libraries . If you have better solution, I would appreciate to ...
Posted on June 23, 2015 at 23:24Hi, There is an error in ''stm32f3xx_hal_uart.c'' file. In callback function ''UART_DMAReceiveCplt'' line 1822, condition for Circular mode. Working function should look like:/** * @brief DMA UART receive process co...
Posted on June 23, 2015 at 20:21Hi, I've spent few hours on it, but finally I have solution. I've found mistake in ''stm32f0xx_hal_uart.c'' file. There is no condition for Circular Mode in callback function ''UART_DMAReceiveCplt'' line 1572. Working...