AM62x MCU+ SDK  09.02.00
SDL RTI

Introduction

The following shows an example of SDL RTI API usage by the application to set up the RTI as a watchdog and 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 WINDOWSIZE_100_PERCENT
UC-2 WINDOWSIZE_50_PERCENT
UC-3 Latency/Propagation timing error(early)(50% window)
UC-4 Latency/Propagation timing error(late)(50% window)

Supported Combinations

Parameter Value
CPU + OS m4fss0-0 nortos
r5fss0-0 nortos
Toolchain ti-arm-clang
Board am62x-sk
Example folder examples/sdl/rti/uc1/

| examples/sdl/rti/uc2/ | examples/sdl/rti/uc3/ | examples/sdl/rti/uc4/

Steps to Run the Example

See Also

RTI

Sample Output

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

UC1:
RTI Example Test Application
RTI_Test_init: Init MCU ESM complete
RTI Example code UC-1 started
DWWD configured to 100 percent window size
DWWD is configured for 10000 ms time-out
RTI DWWD proper servicing test running.
Please wait for max 10000 ms.
RTI DWWD proper servicing test successful.
RTI permanent failure test running.
DWWD will generate interrupt after 10 seconds
Wait for 10 sec for interrupt to be generated by DWWD.
RTI Window End time violation test successful.
Test Name: RTI EXAMPLE TEST PASSED
All tests have passed.
UC2:
RTI Example Test Application
RTI_Test_init: Init MCU ESM complete
RTI Example code UC-2 started
DWWD configured to 50 percent window size
DWWD is configured for 10000 ms time-out
RTI DWWD proper servicing test running.
Please wait for max 10000 ms.
RTI DWWD proper servicing test successful.
RTI permanent failure test running.
DWWD will generate interrupt after 10 seconds
Wait for 10 sec for interrupt to be generated by DWWD.
RTI Window End time violation test successful.
Test Name: RTI EXAMPLE TEST PASSED
All tests have passed.
UC3:
RTI Example Test Application
RTI_Test_init: Init MCU ESM complete
RTI Example code UC-3 started
DWWD configured to 50 percent window size
DWWD is configured for 10000 ms time-out
RTI DWWD Early Trigger violation test running.
Servicing before the window open.
RTI DWWD Early Trigger violation test successful.
Test Name: RTI EXAMPLE TEST PASSED
All tests have passed.
UC4:
RTI Example Test Application
RTI_Test_init: Init MCU ESM complete
RTI Example code UC-4 started
DWWD configured to 50 percent window size
DWWD is configured for 10000 ms time-out
DWWD will generate interrupt after 10 seconds
Waiting for window to expire
Wait for 10 sec for interrupt to be generated by DWWD.
RTI Late trigger servicing test running.
Re-Opening the window to service after previous feed
RTI Late trigger servicing test successful.
Test Name: RTI EXAMPLE TEST PASSED
All tests have passed.