Hardware requirements
Mini/micro USB cable
MIMXRT1024-EVK board
Personal Computer
Board settings
No special settings are required.
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 the output of the xbar aoi demo in the terminal window:
XBAR and AOI Demo: Start...
Then change CMP analog input.
- CMP1_IN0 (J17-14) connected to VCC =3.3V (J19-16): XBAR interrupt occurred
- CMP1_IN0 (J17-14) connected to GND (J19-14): XBAT interrupt stopped
XBAR interrupt occurred
XBAR interrupt occurred