Controlling SAI/I2S from A7 core in iMX7ULP

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

Controlling SAI/I2S from A7 core in iMX7ULP

跳至解决方案
1,434 次查看
jaiganesh_sridh
Contributor III

Hello,

Is it possible to control I2S/SAI controller from A7 domain in iMX7ULP?

By default, I2S/SAI drivers are available in M4 SDK (part of FreeRTOS) provided in the release package and are enabled by default to work with wm8960 codec. I could also see drivers available in linux (sound/soc/fsl/fsl_sai.c) and it is compatible with imx7ulp. So, can we control the I2S/SAI from A7 (Linux) itself ?

Thanks,

Jai Ganesh Sridharan

标签 (4)
1 解答
1,336 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Jai

seems sai0 is used for A7 :

imx7ulp-evk-wm8960.dts\dts\boot\arm\arch - linux-imx - i.MX Linux kernel 

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

在原帖中查看解决方案

3 回复数
1,337 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Jai

seems sai0 is used for A7 :

imx7ulp-evk-wm8960.dts\dts\boot\arm\arch - linux-imx - i.MX Linux kernel 

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

1,336 次查看
jaiganesh_sridh
Contributor III

Hi Igor,

Thank you. I can see it is controlled by A7. Can I2C0 also be controlled from A7 itself ?

Thanks,

Jai Ganesh Sridharan

0 项奖励
回复
1,336 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Jai

 

seems this is possible configuring xrdc properly

(M4 SDK example ../driver_examples/xrdc/)

 

Best regards
igor

0 项奖励
回复