AM261x MCU+ SDK: SDL RTI

| AM261x MCU+ SDK 26.00.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

# 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)
- Launch a CCS debug session and run the executable, see CCS Launch, Load and Run

# 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