Skip to content

Repository files navigation

Overview

The GPIO Example project is a demonstration program that uses the KSDK software to manipulate the general-purpose outputs. The example is supported by the set, clear, and toggle write-only registers for each port output data register. The example take turns to shine the LED.

Toolchain supported

  • IAR embedded Workbench 9.10.2
  • Keil MDK 5.34

Hardware requirements

  • Mini/micro USB cable
  • FRDM-K32L3A6 board
  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo

  1. Connect a USB cable between the PC host and the OpenSDA USB port on the board.
  2. Open a serial terminal 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 example.

Running the demo

These instructions are displayed/shown on the terminal window:

GPIO Driver example
The LED is blinking.

And you will find the LED RED is taking turns to shine.

About

just for internal purpose

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages