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 | MAIN INSTANCE |
UC-2 | WKUP INSTANCE |
Supported Combinations
Parameter | Value |
CPU + OS | m4fss0-0 nortos |
Toolchain | ti-arm-clang |
Board | am62x-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 Reset done
Delta MTOG prep time in micro secs 17
Delta MTOG execution time in micro secs 1490
Delta MTOG restore time in micro secs 2
MTOG complete for MCU MTOG0
Use case 1 passed
Starting MTOG test on WKUP MTOG0, index 2...
MTOG Reset done
Delta MTOG prep time in micro secs 8
Delta MTOG execution time in micro secs 2521
Delta MTOG restore time in micro secs 1
MTOG complete for WKUP MTOG0
Use case 2 passed
MTOG Saftey Example passed.