This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM263P4: AM263Px: Configuring watchdog timer clock source to RCCCLK10M asserts in MCU+ SDK

Part Number: AM263P4
Other Parts Discussed in Thread: AM2634, SYSCONFIG

Hi team,

The AM263Px MCU+ SDK cannot handle RCCCLK10M as the clock source for watchdog timers, even though I'm able to configure it in SysConfig. This works on AM2634. I created a minimal reproducer by modifying the watchdog reset example and attached it here.

watchdog_reset_mode_am263px-cc_r5fss0-0_nortos_ti-arm-clang.zip 

Running this example leads to the following error:

Cortex_R5_0: ASSERT: 0.20238s: soc/am263px/soc_rcm.c:SOC_rcmGetPeripheralClockFrequency:1775: FALSE failed !!!

The root cause is in the SOC_rcmGetPeripheralClockFrequency function (source/drivers/soc/am263px/soc_rcm.c) that is missing a case for RCM_PLLID_RCCLK10M, which is pesent in the AM2634 version.

This issue persists in the newest MCU+ SDK 11.01.00.19 version.