i2s_dma_ping_pong_buffer#
Overview#
The I2S example project uses one I2S interface to continuously record input sound to a buffer and another I2S interface to playback the buffer to output - digital loopback.
Supported Boards#
MIMXRT685-AUD-EVK
Hardware requirements
Micro USB cable
MIMXRT685-AUD-EVK board
Personal Computer
headphones with 3.5 mm stereo jack
source of sound (line output to 3.5 mm stereo jack)
Board settings
Prepare the Demo
Connect headphones to J4.
Connect source of sound(from PC or Smart phone) to Audio Line-In connector J55.
Connect a micro USB cable between the PC host and the CMSIS DAP 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 to the target board.
Launch the debugger in your IDE to begin running the demo.
Running the demo
Note: This demo outputs 1KHZ sine wave audio signal. If the demo running successfully, you will hear the line in audio from line out and terminal window will show:
I2S DMA ping pong buffer demo start