Hardware requirements

  • Micro USB cable

  • MIMXRT685-AUD-EVK board

  • Personal Computer

  • SDIO card

Board settings

Note: If the sdio card need WL_REG_ON, please connect WL_REG_ON to JS14.

Prepare the Demo

  1. Connect a micro USB cable between the PC host and the CMSIS DAP USB port (J5) on the 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. Launch the debugger in your IDE to begin running the demo. Please insert the SDIO card into card slot(J9)

Running the demo

When the demo runs successfully, the log would be seen on the terminal like:


SDIO freertos example.

Card inserted.

Card init finished, ready to access.

Read function CIS, in direct way

CIS read successfully

Please note that below log maybe printed according to the card capability.


Read function CIS, in extended way, non-block mode, non-word aligned size

Read function CIS, in extended way, block mode, non-word aligned size

The read content is consistent.

Input ‘q’ to quit card access task.

Input other char to access again.


If sdio card interrupt is generated, then more log will be generated like:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

SDIO interrupt is received

IO 1 interrupt detected.

If sdio card is not inserted before example run, then more log will generated like:

SDIO freertos example.

Please insert a card into board.