Hardware requirements
Mini/micro USB cable
MIMXRT1180-EVK board
Personal Computer
Multimeter
Board settings
Connect J10 pin 1-2.
Prepare the Demo
Connect a USB cable between the host PC and the OpenSDA USB port on the target 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.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
The log below shows in the terminal window:
DAC basic Example.
Please input a value (0 - 4095) to output with DAC:
Input value is 400
DAC out: 400
Please input a value (0 - 4095) to output with DAC:
Then user can measure the DAC0 output pin(TP9) to check responding voltage = 1.8v * 400 / 4096