Controlling SAI/I2S from A7 core in iMX7ULP

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

Controlling SAI/I2S from A7 core in iMX7ULP

Jump to solution
1,528 Views
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

Labels (4)
1 Solution
1,430 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

3 Replies
1,431 Views
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,430 Views
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 Kudos
Reply
1,430 Views
igorpadykov
NXP Employee
NXP Employee

Hi Jai

 

seems this is possible configuring xrdc properly

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

 

Best regards
igor

0 Kudos
Reply