MIMXRT106|| Audio/ Speaker Connection/ Audio processing

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

MIMXRT106|| Audio/ Speaker Connection/ Audio processing

850 Views
goyal9076
Contributor I

Hi,

I am facing problem in interfacing speaker. Till now I have understand that MQS pin are used for that. Is there any other provision other than this?

Also need to have a block diagram for audio processing if I/P is provided at SAI3 pins through I2S communication. 

0 Kudos
3 Replies

841 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello

Hope you are well.
Yes, you can use the MQS to interface a speaker but you will need external circuitry since the output is a PWM signal.

This post might be helpful since it refers to the circuit to connect the speaker as well as an example code: https://community.nxp.com/t5/i-MX-Processors/RT1064-MQS-Driver-Circuitary/m-p/1348070

You can also connect a speaker through an external audio codec like WM8960 that is on our boards. The example codes can be found at the SDK.

If you have more questions do not hesitate to ask me.
Best regards,
Omar

0 Kudos

832 Views
goyal9076
Contributor I

Hi,
Are you recommending attached image for MQS driver circuitry?

Q1- In this circuitry, Is Power AMP required in between buffer and audio jack?

Q2- Attaching the image of our schematic dig for the implementation of speaker connection, Can you please confirm whether it will work or not? If any modification required, please comment.

Also please share the test code and drivers needed.

0 Kudos

794 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Yes, the circuit attached from my colleague can be helpful. With the 74vc244 you won´t need an RC circuit.

A1 - No, the parts in that circuitry are enough to reproduce music.

A2 - Your schematic looks fine. We have to consider that the output from MQS is a PWM signal so we first need to add an RC filter and improve the signal with an amplifier.
The example was uploaded by Kerry in this post:  https://community.nxp.com/t5/i-MX-Processors/RT1064-MQS-Driver-Circuitary/m-p/1348070
For the drivers you need to install the SDK: https://mcuxpresso.nxp.com/en/welcome

If you have more questions do not hesitate to ask me.
Best regards,
Omar

0 Kudos