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.

MCU-PLUS-SDK-AM263X: Why are there added delays in the watchdog driver?

Part Number: MCU-PLUS-SDK-AM263X

Hi TI team,

I am currently implementing a custom watchdog driver using the AM263X SDK version 8.01.00.44 as an example reference. Specifically, I am referring to the following files:

C:\ti\mcu_plus_sdk_am263x_08_01_00_44\source\drivers\watchdog\v0\watchdog_rti.c

C:\ti\mcu_plus_sdk_am263x_08_01_00_44\source\drivers\watchdog\v1\watchdog_rti.c

In the v1 version of the driver, ClockP_usleep(25) calls are added in the Watchdog_open() function. Version v0 does not have it. I have bench tested with and without the sleep call and both seem to be working fine. I also checked the SDK release notes and don't see any information regarding this change. I would like to know why the sleep delays are added in v1 and what they are for?

Thanks,

Rick

  • Hi Rick,

    The V0 and V1 for WDT are for different SoCs. AM263x is using V0. Check C:\ti\mcu_plus_sdk_am263x_08_01_00_44\source\drivers\hw_include\am263x\soc_config.h for which version of drivers are used by AM263x.

    Best regards,

    Ming