i.MX RT1060 continuous spi read

cancel
Showing results for 
Search instead for 
Did you mean: 

i.MX RT1060 continuous spi read

169 Views
erintel
Contributor I

Hi,

I want to read data from an external ADC (AD7380 https://www.analog.com/en/products/ad7380.html) over SPI and DMA with equidistant sampling at ~100kSPS.
To initiate the conversion process the CS has to be pulled down and the result clocks out on the serial output pin.
Just to test the ADC I am calling LPSPI_MasterTransferEDMA in a general purpose timer.

Can I control the CS with a GPIO?
I just need a starting point or an idea how to handle this problem.

Thanks

0 Kudos
1 Reply

109 Views
FelipeGarcia
NXP TechSupport
NXP TechSupport

Hi,

Yes, CS can be controlled with GPIO but you will need to control it manually.

Regards,

Felipe

0 Kudos