Help for generic I2S driver

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Help for generic I2S driver

1,473 Views
Livius
Contributor II

Can somebody suggest me a generic I2S driver in Linux which is able to send RAW data in I2S? I am looking for a driver which is similar like spidev "/dev/spidevX.Y" or i2c "/dev/i2c-X", so a simple character device driver for I2S "/dev/i2s-X".

My goal is to sending datas from i.MX7D to a DSP processor in I2S communication.

0 Kudos
Reply
2 Replies

1,461 Views
igorpadykov
NXP Employee
NXP Employee

Hi Benjamin

 

one can look at simple audio card example

https://bootlin.com/blog/eight-channels-audio-on-i-mx7-with-pcm3168/

 

Best regards
igor

0 Kudos
Reply

1,449 Views
Livius
Contributor II

Thanks the link!
As i see in it, this I2S example is using a PCM codec IC for "simple-audio-card". I realized that i need to use TDM2, TDM4 or TDM8. Are TDM format is a similar codec format like PCM over I2S? Am I correct?

Many DSP processor has I2S/TDM format interfaces and moreover there are some MEMS accelerometer sensors (ADXL317) which can constantly streams data out over I2S/TDM. My two goal is to be able to communicate with a DSP processor in TDM format and later i like to be able to recording data streams from a MEMS accelerator sensors in TDM format.

Can you share any info about are there possible over I2S in Linux with i.MX7D?

Tags (1)
0 Kudos
Reply