imx6 for esai data config

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

imx6 for esai data config

1,365 次查看
skylong
Contributor I

HI  NXP,

For this imx6 with android7. 

and we are using esai with i2s bus.  so this esai of PCM data format.  how we can config this PCM's channel with different situations?

eg:

4 channels for media function.

2 channels for navi function.

as this eg., how to config this PCM format, and where is this config file.

BR

Thanks

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

1,184 次查看
igorpadykov
NXP Employee
NXP Employee

Hi sky

please refer to additional documentation

AN1848 ESAI Programming and Interfacing Techniques Application Note

http://www.nxp.com/docs/en/application-note/AN1848.pdf 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,184 次查看
skylong
Contributor I

Hi igorpadykov,

For this case of HW detail hw information:

esai pin:  Tx0, Tx1, Bclk, LRCK, mclk.    as this 5 PIN, we only create one sound card with one playback devices.

so if we want to use TX0 playback mono audio and use TX1 playback stereo.  and we want to playback two type source sound at the same time through TX0, TX1.

For this case, i have more questions:

1. how to config this PCM data channel to adjust to this:

    2slots: channel_0(Left), channel_2(Right) playback Tx0.   channel_1(Left), channel_3(Right) playback with Tx1.

2, is this android need to create 4 channel data to write to audio hal?

3, how to enable one device work with four channel mode? any SW code guide?

BR

Thanks

0 项奖励
回复