AnsweredAssumed Answered

SPI-DMA Configuration

Question asked by Jay_Shah on Jul 6, 2017
Latest reply on Jul 20, 2017 by Jay_Shah

Hi All, I want to configure SPI of ADuCM4050 with an external ADC. ADC needs 12 Clock cycles to transmit the data (This accounts to 2-Byte SPI Transaction). It is needed by ADC that the CS pin should go from high to low for every transaction. what i want from my application is i want to configure SPI and DMA in such a way that, SPI is configured for 2 byte transaction (thus I'll get valid data from ADC) and DMA is configured in such a way that it should take such 50 valid data and then generate an interrupt, and during this the processor should be in Flexi mode, so processor will wake up only after 50 samples are acquired by DMA over SPI. The user manual is quite confusing to understand as specific description is not there. I've tried to modified the example code provided with BSP, but no luck.

Can someone please help me out on this of how to configure for such setting? or is it even possible to do so?