Hardware requirements

  • Micro USB cable

  • MIMXRT685-AUD-EVK board

  • Personal Computer

Board settings

  • Set VREF_L to GND, VREF_H to 1.8V (connect JP9, JP10).

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.

Running the demo

When the demo runs successfully, following information can be seen on the terminal:

LPADC Temperature Measurement Example
ADC Full Range: 4096
Full channel scale (Factor of 1).
Please press any key to get temperature from the internal temperature sensor.
Current temperature: 27.831
Current temperature: 28.124
Current temperature: 28.124
Current temperature: 28.124
Current temperature: 28.124
Current temperature: 28.124
Current temperature: 28.124
Current temperature: 28.124
Current temperature: 28.124
Current temperature: 28.124
Current temperature: 28.417