Hardware requirements

  • Mini USB cable

  • FRDM-MCXN236 board

  • Personal Computer

Board settings

MASTER(LPI2C2)                connect to        SLAVE(LPI2C2)
Pin Name    Board Location                      Pin Name    Board Location
SCL         J5 pin 5                            SCL         J5 pin 5
SDA         J5 pin 6                            SDA         J5 pin 6
GND         J5 pin 8                            GND         J5 pin 8

Prepare the Demo

  1. Connect a type-c USB cable between the PC host and the MCU-Link USB port on the board.

  2. 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

  3. Download the program to the target board.

  4. 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 .