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 do not have 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 SK-AM62.
To modify the example to use main domain GPIO, refer Accessing main and wakeup domain peripherals from MCU domain
Parameter | Value |
---|---|
CPU + OS | m4fss0-0 nortos |
m4fss0-0 freertos | |
r5fss0-0 freertos | |
Toolchain | ti-arm-clang |
arm.gnu.aarch64-none | |
Board | am62x-sk, am62x-sk-lp |
Example folder | examples/drivers/gpio/gpio_led_blink/ |
Shown below is a sample output when the application is run,