Reading I2S0 DMA data directly bypassing ALSA
I am exploring options to bypass the ALSA and directly read the I2S0 data in kernel space. I2S0 is connected to an external ADC. I want to read the I2S bus every 64 bytes and I don't want to miss any samples between reads. Something similar to I2C read, SPI read.
I see ALSA using this function to trigger DMA and callback. I'm not sure how to duplicate the necessary details for this function call if I want to hack these ALSA calls. Code:
sound/core/pcm_dmaengine.c |
All times are GMT -5. The time now is 06:03 AM. |