Hardware requirements
Micro USB cable
JTAG/SWD debugger
MIMXRT685-AUD-EVK board
Personal Computer
Headphones with 3.5 mm stereo jack
Board settings
Set the hardware jumpers (Tower system/base module) to default settings.
Set the hardware jumpers JP2 2-3, JP44 1-2 and JP45 1-2.
Prepare the Demo
Connect headphones to Audio HP / Line-Out connector (J4).
Connect a micro USB cable between the PC host and the debug USB port (J5) on the 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 for CM33 core to the target board.
Launch the debugger in your IDE to begin running the demo.
If building debug configuration, download the program for DSP core to the target board.
If building debug configuration, launch the Xtensa IDE or xt-gdb debugger to begin running the demo.
Notes
DSP image can only be debugged using J-Link debugger. See ‘Getting Started with Xplorer for MIMXRT685-AUD-EVK.pdf’ for more information.
Running the demo
The following lines are printed to the serial terminal when the demo program is executed.
Configure WM8904 codec
Configure I2S
This example transfers data from DMIC to Codec. Connect headphone/earphone on audio out of the board. Speak into the DMIC or play audio near the DMIC (U40), and you will hear sound on the left channel of headphone/earphone.