how to use AUDMUX on esai audio codec

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

how to use AUDMUX on esai audio codec

986 Views
stevenshi
Contributor I

hi Freescale:

     our board designed base on SDB, Android OS is 4.4.2.

     our audio codec is ad1937, it like CS42888,  and we use esai interface,  now all function normal work, it can play music, and it also can play music over bluetooth headset.

     we are have new request. our board will connect bt module(it have wifi/bt/fm function) , BT_UART connect UART5_XXX, BT_PCM will connect AUD5_XXX, please check attachment,

     when we use bluetooth headset, android use A2DP profile, over UART_XXX, it work normally, we have no problem. but how to use AUD5_XXX function? i have no any idea. i have check SDB EVB, it use wm8962, ssi interface and aud3(we are esai interface and aud5)

     i have some question

     1. how to check AUD5 has worked on our board

     2. how to use AUD5 function, all the reference code is ssi audio codec + aud, but our board is esai codec + aud

     please give me some suggestions, thank you

i have check the AI Board code and schematic, it bluetooth module has use AUD_xxx and uart_xxx,  but in .h code, GPIO config is not config AUD, only config uartxxx

i add the imx_audmux_config(plat_data->src_port, plat_data->ext_port); to our codec code, i think it maybe not correct, have any reference??

i found freescale audio Architecture, esai codec enable ESAI, ssi codec enable SSI, how to enable SSI in our esai codec?

360截图20150619101337551.jpg360截图20150619101435110.jpg

0 Kudos
3 Replies

508 Views
igorpadykov
NXP Employee
NXP Employee

Hi steven

ESAI is different module than SSI, it does not use AUDMUX pins.

ESAI uses SDO (ESAI_TX)/SDI (ESAI_RX) pins, not AUD.

For reference code one can look at ESAI example in SDK:

i.MX 6Series Platform SDK  : Bare-metal SDK

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

508 Views
stevenshi
Contributor I

hi igorpadykov:

     this is not my question point, i want to konw how to set SSI and AUD5_XXX for our bt module (as AUD5_XXX connect  BT_PCM_XXX),

and please help to release the reference design guide ,

0 Kudos

508 Views
igorpadykov
NXP Employee
NXP Employee

if you wish to know about SSI with AUDMUX,

one can refer to SDK document iMX6_Firmware_Guide.pdf

Chapter 32 Configuring the SSI Driver

Best regards

igor

0 Kudos