Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 216863

Forum Post: CCS/RM44L920: SPI receive overrun flag asserted using DMA in multi-buffer mode

$
0
0
Part Number: RM44L920 Tool/software: Code Composer Studio hi , Spi receive overrun flag always asserted when I used SPI to communicate with an external ADC using DMA in multi-buffer mode. My SPI clock is 4MHz, and a single shot SPI DMA transmission which will transmitted 16 bytes between CPU and ADC is initiated in an timer interrupt routine. The SPI DMA initialization follows examples "example_mibspiDMA.c" in examples folder of HalCoGen tool. During my test, I found that RXOVRUNFLAG in SPIFLG register always be set and I wonder how does this happen? I wonder if there is anything I missed? Thanks, Catherine

Viewing all articles
Browse latest Browse all 216863

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>