AM62x MCU+ SDK  08.03.00
GPIO LED Blink

Introduction

This example configures a GPIO pin connected to an LED on the EVM in output mode. The application toggles the LED on/off for 10 seconds and exits.

We have not any LED connected direct from MCU connection for testing gpio pins on the board, So we are using MCU_HEADER pins for gpio pins for glowing LED. Make the following connections for this example to work on the AM62X-SK-EVM.

  • Connect LED(high) to Pin 18 of J9.
  • Connect LED(ground) to Pin 27 of J9.

Supported Combinations

Parameter Value
CPU + OS m4fss0-0 nortos
m4fss0-0 freertos
Toolchain ti-arm-clang
arm.gnu.aarch64-none
Board am62x-sk
Example folder examples/drivers/gpio/gpio_led_blink/

Steps to Run the Example

See Also

GPIO

Sample Output

Shown below is a sample output when the application is run,

GPIO LED Blink Test Started ...
LED will Blink for 10 seconds ...
GPIO LED Blink Test Passed!!
All tests have passed!!