Are there any examples of I2S multichannel reception?

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

Are there any examples of I2S multichannel reception?

560 次查看
5angxr
Contributor II

I want to take data from two datalines and process them, how to set the configuration?

Are there any examples of I2S multichannel reception?

0 项奖励
回复
3 回复数

540 次查看
Habib_MS
NXP Employee
NXP Employee

Hello @5angxr ,
 

At the moment, SDK (Version 2.15.1) doesn't have an example of I2S reception, however, The RT11xx's family has examples that uses SAI in reception, this is called "SAI_interrupt_record_playback_cm7". This is not the only example of SAI, as shows the image below:

 

Habib_Melchor_Santos_0-1715897891518.png

 

Also, if you experience any issue, do not hesitate to let me know.

 

BR,
Habib.

0 项奖励
回复

470 次查看
5angxr
Contributor II

those examples do not use multichannel sai!

0 项奖励
回复

451 次查看
Habib_MS
NXP Employee
NXP Employee

Hello again @5angxr,

The examples that use multiple reception channels are "SAI_interrupt_record_playback_cm7" and   "SAI_edma_record_playback_cm7", both using stereo mode (two channels).

In these examples you need configurate the number of channels in the macro called "DEMO_AUDIO_DATA_CHANNEL", and at the same time, you need to change the struct of configuration that uses the function called "SAI_TransferRxSetConfig".

To get more information about the functionality of the mode you can see the comments of the function called "SAI_TransferReceiveEDMA". At the same time, this application note shows an example to configurate the TX SAI in multiple channels, and it could be utility: Using Multi-Channel Feature of SAI (nxp.com)

BR,

Habib.

0 项奖励
回复