Hardware requirements
Mini/micro USB cable
MIMXRT1170-EVKB board
Personal Computer
Board settings
Please note that the input voltage to the CMP1_IN1(J25-13) should in the range of 0V to 1.8V.
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
If CMP1_IN1 (J25-13) connected to the input voltage that in the range of 0.9V to 1.8V then the XBAR interrupt will start. If CMP1_IN1 (J25-13) connected to the input voltage that in the range of 0V to 0.9V then XBAR interrupt will stop. The log below shows the output of the xbar aoi demo in the terminal window:
XBAR and AOI Demo: Start...
Then change CMP analog input.
- CMP1_IN1 (J25-13) connected to the input voltage that in the range of(0.9V to 1.8V): XBAR interrupt started
XBAR interrupt occurred
XBAR interrupt occurred