AnsweredAssumed Answered

How to add individual reset for ESAI transmitter sequence?

Question asked by Takayuki Ishii on Jan 16, 2019
Latest reply on Feb 25, 2019 by Takayuki Ishii

Hello community,

 

I try to add an Individual reset of ESAI Transmit function by suggestion of following community thread.

 

ESAI_TX_FS and ESAI_TX_CLK signal level after stop audio playback 

I'm adding a reset sequence of "25.5.2.2 Initializing the ESAI Transmitter Section" 

in ReferenceManual_iMX6DQPRM_rev2 to SNDRV_PCM_TRIGGER_SUSPEND,

SNDRV_PCM_TRIGGER_STOP and SNDRV_PCM_TRIGGER_PAUSE_PUSH command response code on

the sound/soc/fsl/fsl_esai.c

 

After audio playback by aplay and gst-play-1.0 command, ESAI_TX_FS and ESAI_TX_CLK signal state

both High and Low level randomly.

 

By changing the PAD control register value of "MX6QDL_PAD_ENET_CRS_DV__ESAI_TX_CLK" and

"MX6QDL_PAD_ENET_RXD1__ESAI_TX_FS" from 0x0001b030 to 0x00013030 in "imx6qdl-sabreauto.dtsi"

Initial signal revel both ESAI_TX_FS and ESAI_TC_CLK, it will change from High to Low by Pull-down register

setteing.

But after audio playback, it will change High or low level randomly.

 

Attached file is a source code I modified.

 

Do I need some more modify or some mistake in it?

Do you mind explaining this in more detail?

 

Best regards,

Ishii.

Attachments

Outcomes