mqs_sai#
Overview#
The mqs_sai example shows how to use sai and MQS driver with interrupt:
In this example, one sai instance playbacks the audio data stored in flash/SRAM using interrupt. MQS will covert audio stream to PWM signals.
Supported Boards#
FRDM-IMX95
Hardware requirements
Micro USB cable
FRDM-IMX95 board
J-Link Debug Probe
12V~20V power supply
Personal Computer
Headphone
Board settings
Plugin headphone to J18.
Please note this application can’t support running with Linux BSP!
Prepare the Demo
Connect 12V~20V power supply and J-Link Debug Probe to the board, switch SW4 to power on the board.
Connect a micro USB cable between the host PC and the J31 USB port on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either re-power up your board or launch the debugger in your IDE to begin running the example
Running the demo
When the demo runs successfully, you can hear the tone and the log would be seen on the terminal like:
MCUX SDK version: 2026.03.00
SAI MQS example started!
MQS SAI example finished!
FRDM-IMX952
Hardware requirements
Micro USB cable
FRDM-IMX952 board
JLink Plus
15V~20V USB Type-C PD power supply
Personal Computer
Headphone
Board settings
Plugin headphone to J17.
Please note this application can’t support running with Linux BSP!
Prepare the Demo
Connect 15V~20V USB Type-C PD power supply and JLink Plus to the board, switch SW1 to power on the board.
Connect a micro USB cable between the host PC and the J1 USB Type-C port on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either re-power up your board or launch the debugger in your IDE to begin running the example
Running the demo
When the demo runs successfully, you can hear the tone and the log would be seen on the terminal like:
MCUX SDK version: 2026.03.00
SAI MQS example started!
MQS SAI example finished!
FRDM-IMX937
Hardware requirements
Micro USB cable
FRDM-IMX937 board
J-Link Debug Probe
12V~20V power supply
Personal Computer
Headphone
Board settings
Plugin headphone to J18.
Please note this application can’t support running with Linux BSP!
Prepare the Demo
Connect 12V~20V power supply and J-Link Debug Probe to the board, switch SW4 to power on the board.
Connect a micro USB cable between the host PC and the J31 USB port on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either re-power up your board or launch the debugger in your IDE to begin running the example
Running the demo
When the demo runs successfully, you can hear the tone and the log would be seen on the terminal like:
MCUX SDK version: 2026.03.00
SAI MQS example started!
MQS SAI example finished!