Hardware requirements

  • Micro USB cable

  • MIMXRT1060-EVKC board

  • Personal Computer

  • Headphone or speaker

  • SDCARD

  • CS42448 audio board

Board settings

No special settings are required.

Prepare the Demo

  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Insert the CS42448 audio board into J23.

  5. Insert the headphones into the headphone jack of CS42448 audio board line output.

  6. Prepare a FAT32 format sdcard and copy the 8_TDM.wav into sdcard and then Insert the sdcard into J22.

  7. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

When the demo runs successfully, you can hear

Line 1&2 output: “Front Left”, “Front Right” Line 3&4 output: “Centre”, tone Line 5&6 output: “Back Left”, “Back Right” Line 7&8 output: “Auxiliary Left”, “Auxiliary Right”

and the log would be seen on the OpenSDA terminal like:

SAI edma TDM example started.

8_TDM.wav File is available

Codec Init Done.

Start play 8_TDM.wav file.

SAI TDM EDMA example finished.