imx6ull MQS Audio SAI1 programming

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

imx6ull MQS Audio SAI1 programming

460 Views
user123412
Contributor I

In the IMX6ULL Reference Guide MQS section: "The user needs to program SAI1 to output 2-channel MSB-16 bit active I2S signal, and then program the related IOMUXC_GPR2 bits."

How is SAI1 meant to be programmed for MQS? I ask because I am having an issue where the MQS PWM signals are turning on and off when playing audio, which causes the amplifier to make a popping noise. I am attempting to keep these signals always on at 50% duty cycle when audio is not being played to achieve the correct DC bias which should fix this popping. To do this, I believe I need to program the SAI1 signals. 

Thanks

0 Kudos
1 Reply

439 Views
user123412
Contributor I

Is it even possible to add a DC bias to eliminate MQS popping? I've been looking at fsl_mqs.c and fsl_sai.c drivers, but am having trouble figuring out how to achieve this. 

0 Kudos