User Activity

Using an STM32L0x0, and with the DMA a HAL_UARTEx_ReceiveToIdle_DMA call to receive 6 bytes. DMA is configured for 8-bit data size on both the peripheral and memory size (MSIZE and PSIZE in DMA_CCR are both 0x00). However, the RxEventCallback seems t...
Unless I'm missing something, I don't see a HT flag documented in the STM32L0X0 reference manual in the USART_ISR register. I see the TC, idle, etc. flags. So how is that interrupt getting triggered (because I have verified it does get triggered)? ED...
I need to receive a six-byte packet via the UART (using an STM32L010F4). There is a SOF and an EOF byte included in these six bytes. There could be long stretches when no data is sent, followed by a stream of these six-byte packets that are 5mS apart...
I have a device that receives six bytes via the UART. There is a known SOF and EOF byte. The first time I get the data, all is well. But subsequent receptions are "corrupted": either the EOF byte is first, or sometimes I get two SOF bytes in a row (a...
Started a project based on the STM32L010 which needs to receive six bytes from the UART. Works fine if I use it in interrupt mode. Does NOT work if I use it in DMA mode. Saw multiple posts about the DMA needing to be init'd before the peripheral in q...