RXNEIE needed for dma request?
Hello,
i am trying to interface TI's ADS8910 (18bit SAR ADC) to an STM32F730 via normal SPI, since i am unsure whether QSPI will work.
I want to achieve the full 18 bit @1MSa, which is possible when working with 54MHz (/2 APB2 prescaler on the F730 which runs at full speed - 216MHz) and the ADC's zone 2 transfer.
The HAL implementation of dma transfer is way to slow between consecutive readouts and thus gets stuck "busy" and "locked" forever after the first readout.
Therefore i am currently trying to write everything myself.
My question is regarding the SPI CR2 register, bits 6 & 7 (RXNEIE and TXEIE):
Will the DMA requests, mentioned in Bits 0 & 1 (RXDMAEN and TXDMAEN) still be generated when the interrupts are masked?
I don't want my program to be interrupted more than neccessary.
the flow should be :
F7 gets an interrupt that signals that the ADC has finished conversion and is ready to send the new data.
SPI transfers 3x 8bits // or 2x 11bits (the ads 8910 needs at least 22 clocks)
DMA request is generated
DMA finishes transfer an generates an interrupt
Code handles data and SPI/DMA flags and enables/disables
Thanks in advance!
Michael
