Can I configure the UART in DMA mode for transmitting and/or receiving ODD number of bytes?
Hi, I am trying to receive 19 bytes in UART in DMA mode. I have configured both the peripheral (DMA_CCR_PSIZE) and memory alignment(DMA_CCR_MSIZE) as byte.
When I Enable the UART receive in DMA mode, I encountered with Hardfault exception. After debugging the hardfault exception, I found the reason as un aligned data access. With this, now i configured the UART receive in DMA mode for 20 bytes. Now it is working without hardfault exception.
Can Some one help me to understand what happened exactly here? Is this the data alignment issue since I configured for 19 bytes? If yes, then what is the meaning of DMA_CCR_PSIZE and DMA_CCR_MSIZE in DMA_CCRx?
