This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

connect I2S with dual channel ADC

 

                    I am using 5505's DMA for its I2S interface, which is connected to a dual ADC.    Following is the connection:

 

                                     I2S0_CLK -----------------> SCLK                                         <----- ADC In 0

5505  (DMA0<-->I2S)        I2S_FS      -----------------> FS              Dual Channel ADC     <----- ADC In 1

                                     I2S_RX     <----------------- DOUT

                                     I2S_DX     -----------------> DIN

 

           The application is to ping-pong the ADC sampling (ADC In 0, ADC In 1, ADC In 0, ADC In 1, ADC In 0, ...).  I plan to use  one channel of DMA for receive and another channel for transmit (controlling the channel selection in ADC for each sample).  My question is:

                  Can this connection work?  DMA need to keep up with the strict sequencing requirement, i.e.   DMA channel 0 (transmit), channel1 (receive), channel 0 (transmit), channel1 (receive), channel 0 (transmit),...                 

Thanks,

Jim