AM62x MCU+ SDK  09.02.00
RTI

The Windowed Watchdog Timer (WWDT) generates reset after a programmable period, if not serviced within that period. This time-out boundary is configurable, and the windowed feature allows the start time boundary to be configurable. The WWDT can generate an Interrupt, if not serviced within window (Open Window) defined by start time and time-out boundary. Also the WWDT can generate an Interrupt if serviced outside Open Window (within Closed Window). Generation of Interrupt depends on the WWDT Reaction configuration. SDL supports configuration of the watchdog timers. It also supports notification of the error via ESM interrupt. Additionally, APIs for checking the status of the watchdog timer is provided.

Features Supported

The module provides the following functionality

  • Ability to to initialize the RTI -DWWD module
  • Ability to configure RTI -DWWD module
  • Ability to service an RTI instance
  • Ability to read Status of the configuration
  • Ability to read back static register

There are 7 RTI Modules in the device – 1 in the MCU domain and 5 in the Main domain and 1 in wakup domain.

Instances in MCU domain: 1) MCU_RTI0

Instances in Main domain: 1) RTI0 2) RTI1 3) RTI2 4) RTI3 5) RTI15

Instances in WKUP domain: 1) WKUP_RTI0

SysConfig Features

  • None

Features NOT Supported

  • None

Important Usage Guidelines

  • None

Example Usage

The following shows an example of SDL RTI API.

Include the below file to access the APIs

#include <sdl/sdl_rti.h>

Config an RTI Instance

/* Configure RTI parameters for preload, window and reaction*/
pConfig.SDL_RTI_dwwdPreloadVal = RTIGetPreloadValue(RTI_CLOCK_SOURCE_200KHZ, RTI_WDT_TIMEOUT);
#if defined (M4F_CORE)
#endif
#if defined (R5F_CORE)
#endif
if (retVal == SDL_EFAIL)
{
UART_printf("Error during Window configuration.\n");
}

Verify the config

/* Verify the config */
#if defined (M4F_CORE)
#endif
#if defined (R5F_CORE)
#endif
if (retVal == SDL_EFAIL)
{
UART_printf("Error during Window Verify configuration.\n");
}

Read the static registers

SDL_RTI_staticRegs pStaticRegs;
#if defined (M4F_CORE)
#endif
#if defined (R5F_CORE)
#endif

Start an RTI Instance

#if defined (M4F_CORE)
#endif
#if defined (R5F_CORE)
#endif

Start an RTI Instance

/* Servicing of the watchdog is done by the core that is being monitored with the watchdg */
#if defined (M4F_CORE)
#endif
#if defined (R5F_CORE)
#endif

API

APIs for SDL RTI

SDL_RTI_configParms::SDL_RTI_dwwdReaction
uint32_t SDL_RTI_dwwdReaction
Definition: sdl_ip_rti.h:101
SDL_RTI_verifyConfig
int32_t SDL_RTI_verifyConfig(SDL_RTI_InstanceType InstanceType, SDL_RTI_configParms *pConfig)
RTI API to verify the written configuration. This API can be used after calling SDL_RTI_config in ord...
SDL_INSTANCE_MCU_RTI0_CFG
@ SDL_INSTANCE_MCU_RTI0_CFG
Definition: sdl_soc_rti.h:67
RTI_DWWD_WINDOWSIZE_100_PERCENT
#define RTI_DWWD_WINDOWSIZE_100_PERCENT
Definition: sdl_ip_rti.h:191
SDL_RTI_config
int32_t SDL_RTI_config(SDL_RTI_InstanceType InstanceType, const SDL_RTI_configParms *pConfig)
RTI configuration API. This API configures the specified RTI instance using the provided configuratio...
SDL_RTI_configParms::SDL_RTI_dwwdPreloadVal
uint32_t SDL_RTI_dwwdPreloadVal
Definition: sdl_ip_rti.h:97
sdl_rti.h
SDL_RTI_readStaticRegs
int32_t SDL_RTI_readStaticRegs(SDL_RTI_InstanceType InstanceType, SDL_RTI_staticRegs *pStaticRegs)
This API returns the static registers for RTI-DWWD.
SDL_RTI_configParms::SDL_RTI_dwwdWindowSize
uint32_t SDL_RTI_dwwdWindowSize
Definition: sdl_ip_rti.h:99
SDL_RTI_start
int32_t SDL_RTI_start(SDL_RTI_InstanceType InstanceType)
Enable the RTI instance.
RTI_DWWD_REACTION_GENERATE_NMI
#define RTI_DWWD_REACTION_GENERATE_NMI
Definition: sdl_ip_rti.h:227
SDL_RTI_staticRegs
List of Static Registers for RTI DWWD.
Definition: sdl_ip_rti.h:79
SDL_INSTANCE_WKUP_RTI0
@ SDL_INSTANCE_WKUP_RTI0
Definition: sdl_soc_rti.h:73
SDL_RTI_service
int32_t SDL_RTI_service(SDL_RTI_InstanceType InstanceType)
Service the RTI instance.
SDL_RTI_configParms
List of Config Parameters for RTI DWWD.
Definition: sdl_ip_rti.h:95