AM263P4-Q1: Configurations for Watch Dog Timer 0

Part Number: AM263P4-Q1
Other Parts Discussed in Thread: AM263P4, SYSCONFIG

Hi TI Experts,
I am currently working with the AM263P4 Control Card (PROC159E2) and implementing Watchdog Timer 0 (WDT0) for my application.
Initially, I tested the reference example from the MCU+ SDK with the default configuration (WDT set to 3 seconds), and it worked successfully. However, my application requires a longer Watchdog expiry timeout of around 15 to 20 seconds.
To achieve this, I modified the WDT configurations in SysConfig as follows:
  • WDT Input Clock Source: XTACLK
  • Clock Divider: Div /15 (resulting in 1.667 MHz input to WDT0)
  • WDR Expiry Timeout (ms): 15000
The project builds successfully without any errors. However, during runtime, the program hangs inside the driver initialization sequence: Drivers_open() -> Drivers_watchdogOpen() -> Watchdog_open() -> Watchdog_setWindowSize().
Specifically, the execution gets stuck at the HW_WR_FIELD32 macro within the following SDK function:
 
void Watchdog_setWindowSize(Watchdog_Handle handle, uint32_t dwwdWindowSize)
{
    Watchdog_Config*        ptrWatchdogConfig;
    Watchdog_HwAttrs*       ptrHwCfg;

    ptrWatchdogConfig = (Watchdog_Config*)handle;
    ptrHwCfg = (Watchdog_HwAttrs*)ptrWatchdogConfig->hwAttrs;

    HW_WR_FIELD32(ptrHwCfg->baseAddr + CSL_RTI_RTIWWDSIZECTRL,
                    CSL_RTI_RTIWWDSIZECTRL_WWDSIZE,
                    dwwdWindowSize);
}
 
Immediately after this register write operation, a Data Abort Exception is triggered, and the CPU traps into HwiP_user_data_abort_handler_c.
I have attached the screenshot of the CCS expressions window showing the exception context register values (dfsr, adfsr, DFAR, LR, SPSR) which helped me trace the issue back to this register write.
 
image.png
 
I have reviewed the WDT0 register definitions in the Technical Reference Manual (TRM) but have not yet found the root cause of why writing to RTIWWDSIZECTRL triggers a Data Abort under these clock settings.
Could you please guide me on how to properly configure the AM263P Watchdog to achieve a 15-20 seconds timeout without triggering a memory fault?
Thank you in advance for your support!