Help for generic I2S driver

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Help for generic I2S driver

2,579 次查看
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.

标记 (5)
0 项奖励
回复
2 回复数

2,567 次查看
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 项奖励
回复

2,555 次查看
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?

标记 (1)
0 项奖励
回复