Question
DMA circular mode with 38 bytes on UART RX
Posted on December 10, 2015 at 06:28
I'm using STM32F4 discovery board and I'm receiving 38 bytes on UART RX line periodically, since I want to transfer this in DMA I used DMA circular mode.
But according to equation DMA_SxNDTR = Multiple of ((Mburst beat) � (Msize)/(Psize)), (Mburst beat) = 4, 8 or 16, ((Msize)/(Psize)) = 1, 2, 4, 1/2 or 1/4 My requirement wont satisfy the equation, so how can I configure the DMA in Circular mode for 38 bytes ? #dma #usart