Other Parts Discussed in Thread: HALCOGEN
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