Question
multiple rxcallback for circular dma operation
Posted on November 08, 2015 at 16:59
Hello all,
Data is coming from uart in chunks of 30 bytes via uart. I want to get these incoming chunks of 30 bytes and store them in a circular buffer of size 240 bytes by using DMA. I want to configure the DMA such that it works in * circular mode with a 240 wide buffer * fires the rxcallback function for every 30 bytes of data transfer I have read the reference manual for STM32F30 and checked the examples but couldn't find how to configure the above settings. Can you please tell me whether it is possible to achieve the above settings or should I use linear DMA and some extra logic to achieve this thank you for your time #circular-dma-uart-hal