how to use SAI in I2S mode to play stereo audio

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

how to use SAI in I2S mode to play stereo audio

Jump to solution
1,658 Views
zhangyanming
Contributor I

Lately, i use i.MX RT 1052 to do some project.In the project,i want to use the SAI in I2S mode to play stereo audio,left channel play left channel  aduio data,right channel play right  channel  audio data.How to realize this function?

Labels (2)
0 Kudos
Reply
1 Solution
1,488 Views
igorpadykov
NXP Employee
NXP Employee

Hi zhang

one can look at MCUXpresso SDK for EVKB-IMXRT1050, in

..driver_examples/sai/edma_record_playback/sai_edma_record_playback.c

Welcome | MCUXpresso SDK Builder 

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

View solution in original post

0 Kudos
Reply
1 Reply
1,489 Views
igorpadykov
NXP Employee
NXP Employee

Hi zhang

one can look at MCUXpresso SDK for EVKB-IMXRT1050, in

..driver_examples/sai/edma_record_playback/sai_edma_record_playback.c

Welcome | MCUXpresso SDK Builder 

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

0 Kudos
Reply