HAL_UARTEx_RxEventCallback Received Data Size Wrong?
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 to be counting in half-words, despite the actual transfer seemingly working: i.e., I get 6 bytes in my destination buffer which has 1-byte elements, but Size = 3. This holds for any number of bytes I attempt to transfer.
What am I missing?
