AM243x MCU+ SDK  08.01.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.

Supported Combinations

AM243X-EVM

Parameter Value
CPU + OS r5fss0-0 nortos
m4fss0-0 nortos
Toolchain ti-arm-clang
Board am243x-evm
Example folder examples/drivers/gpio/gpio_led_blink/

AM243X-LP

Parameter Value
CPU + OS r5fss0-0 nortos
Toolchain ti-arm-clang
Board am243x-lp
Example folder examples/drivers/gpio/gpio_led_blink/

Steps to Run the Example

AM243X-EVM

  • Watch out for LED LD26 on the EVM to blink which is controlled by MCU_GPIO0_5.

AM243X-LP

  • Watch out for LED LD1 on the LP to blink which is controlled by GPIO0_22.

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!!