Hardware requirements
Mini USB cable
Two MCX-N9XX-EVK boards
Personal Computer
Board settings
MASTER(LPI2C2) connect to SLAVE(LPI2C2)
Pin Name Board Location Pin Name Board Location
SCL J2 pin 20 SCL J2 pin 20
SDA J2 pin 18 SDA J2 pin 18
GND J2 pin 14 GND J2 pin 14
Prepare the Demo
Connect a micro USB cable between the PC host and the MCU-Link USB port on the board.
Open a serial terminal on PC for JLink serial device with these 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 following message shows in the terminal if the example runs successfully.
CMSIS LPI2C board2board interrupt example -- Slave transfer.
End of LPI2C example .