MCUXpresso SDK Documentation

ezhv_gpio_toggle

ezhv_gpio_toggle#

Overview#

This project shows how to toggle gpio by sending a message way.

Supported Boards#

MIMXRT700-EVK
Hardware requirements
  • Micro USB cable

  • MIMXRT700-EVK board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a micro USB cable between the PC host and the USB port on the board

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Launch the debugger in your IDE to begin running the demo.

Running the demo
Gpio toggle demo - message from primary core side.
Gpio toggle demo - message from ezhv core side.
Press any key to start the program.
Ezhv irq channel = 0x1
Ezhv irq channel = 0x1
Ezhv irq channel = 0x1

Connect J6-5 to an oscilloscope to observe a square wave.
FRDM-IMXRT700
Hardware requirements
  • Type-C USB cable

  • FRDM-IMXRT700 board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a USB cable between the PC host and the USB port on the board

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Launch the debugger in your IDE to begin running the demo.

Running the demo
Gpio toggle demo - message from primary core side.
Gpio toggle demo - message from ezhv core side.
Press any key to start the program.
Ezhv irq channel = 0x1
Ezhv irq channel = 0x1
Ezhv irq channel = 0x1

Connect J6-5 to an oscilloscope to observe a square wave.