AM62Px MCU+ SDK  09.01.00
SDL MTOG Example

Introduction

The following shows an example of SDL MTOG API usage by the application to set up the TOG module with the usage of the various APIs. Events can be monitored by enabling the events in the associated ESM instance.

Use Cases

Use Case Description
UC-1 WKUP0 INSTANCE
UC-2 WKUP1 INSTANCE

Supported Combinations

Parameter Value
CPU + OS mcu-r5fss0-0 nortos
Toolchain ti-arm-clang
Board am62px-sk
Example folder examples/sdl/mtog/mtog_example/

Steps to Run the Example

See Also

MTOG

Sample Output

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

TIMER_ESM_init: Init MCU ESM complete
Starting MTOG test on MCU MTOG0, index 1...
MTOG Status Register Value for the instance1 = 2
MTOG Reset done
Delta MTOG prep time in micro secs 5
Delta MTOG execution time in micro secs 6740
Delta MTOG restore time in micro secs 1
MTOG complete for MCU MTOG0
Sdl mtog instance 1 passed
Starting MTOG test on MCU MTOG0, index 2...
MTOG Status Register Value for the instance2 = 1
MTOG Reset done
Delta MTOG prep time in micro secs 4
Delta MTOG execution time in micro secs 6442
Delta MTOG restore time in micro secs 0
MTOG complete for MCU MTOG0
Sdl mtog instance 2 passed
MTOG Saftey Example passed.