Hardware requirements

  • Micro USB cable

  • EVKB-MIMXRT1060 board

  • Personal Computer

  • Headphone or speaker

  • SDCARD

  • CS42448 audio board

Board settings

Make sure resistors R368/R347/R349/R365/R363 are removed. Insert the CS42448 audio board into J23 Uninstall J41

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 headphones into the headphone jack of CS42448 audio board line output.

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

  6. 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.