AM62x MCU+ SDK  10.01.00
RTC 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 times using RTC Timer.

Supported Combinations

Parameter Value
CPU + OS r5fss0-0 freertos
a53ss0-0 freertos
Toolchain ti-arm-clang
arm.gnu.aarch64-none
Board am62x-sk, am62x-sip-sk
Example folder examples/drivers/rtc/rtc_led_blink

Steps to Run the Example

  • When using CCS projects to build, import the CCS project for the required combination and build it using the CCS project menu (see Using SDK with CCS Projects).
  • When using makefiles to build, note the required combination and build using make command (see Using SDK with Makefiles)
Attention
As the wake-up R5 is the device manager, it needs to be started by the SBL. So it can not be loaded through CCS. It should be flashed and booted through SBL.

See Also

RTC

Sample Output

[RTC LED Blink Test] Starting ...
[RTC LED Blink Test] Started...
LED blinked successfully at time: 07/11/2024 14:45:12
LED blinked successfully at time: 07/11/2024 14:45:14
LED blinked successfully at time: 07/11/2024 14:45:16
LED blinked successfully at time: 07/11/2024 14:45:18
LED blinked successfully at time: 07/11/2024 14:45:20
LED blinked successfully at time: 07/11/2024 14:45:22
LED blinked successfully at time: 07/11/2024 14:45:24
LED blinked successfully at time: 07/11/2024 14:45:26
LED blinked successfully at time: 07/11/2024 14:45:28
LED blinked successfully at time: 07/11/2024 14:45:30
RTC LED blink test passed!!