AM263Px MCU+ SDK  10.01.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 r5fss0-0 nortos
r5fss1-0 nortos
Toolchain ti-arm-clang
Board am263px-cc
Example folder examples/sdl/rti/uc1/
Example folder examples/sdl/rti/uc2/
Example folder examples/sdl/rti/uc3/
Example folder 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,

UC-1:

rti Test Application
Test Name: RTI POSITIVE TEST PASSED
Test Name: RTI NEGATIVE TEST PASSED
All tests have passed.
RTI Function test started
DWWD configured to 100 percent window size
DWWD is configured for 10000 ms time-out
DWWD will generate interrupt after above time-out period.
Wait for 10000 ms for interrupt to be generated by DWWD.
RTI End time violation test successful.
RTI DWWD proper servicing test running.
Please wait for max 30000 ms.
RTI DWWD proper servicing test successful.
Test Name: RTI FUNCTION TEST PASSED
All tests have passed.

UC-2:

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.

UC-3:

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.

UC-4:

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