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: AM263X

Part Number: MCU-PLUS-SDK-AM263X
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

how can we increase the WDT Expiry Time In Millisecond(ms) in configuration of WDT in sysconfig. Explain

  • Hello Anandakrishnan,

    Are you having issues using the 'WDT Expiry Time in Milliseconds' in the SysConfig? If so can you elaborate what settings you are using and what expiry time you are attempting to set? Also are using Windowed mode and if so, what % is the Window?

    Best Regards,

    Ralph Jacobi

  • I am using 50% window size , currently I am an using expiry time 5300 ms, WDT Clock Source= XTALC 25MHz and WDT Input Clock Frequency (Hz) = 6250000. At this settings windowed watchdog works. I need to know how to increase the expiration time and adjust all the other settings to increase the expiration time. 

  • Hello Anandakrishnan,

    It doesn't look like it is possible to extend the expiry time further than you've outlined as the XTAL clock cannot be divided lower and the expiry time window cannot be configured higher based on that frequency.

    There may be a software-based method to extend the expiry time but I will need one of our software experts to comment on that, please expect a response from them after they review your requirements.

    Best Regards,

    Ralph Jacobi

  • Hi Anandakrishnan R,

    Let me explain the math behind the calculation:

    You can find the logic in TRM section 13.5.1.4.2

    from which you can come to the conclusion of:

    8192 < Expiry_time*Clock_frequency < 33554432

    Now, There are 2 ways:

    1. In 09.02 MCU_PLUS_SDK, for WDT, 10 Mhz RCCLK  clock was added which can be used to increase expiry time beyond 5300 ms.

    2. You reduce the WDT Input clock frequency to increase the expiry time (based on the above formula), if you don't wish to change your clock source.

    Regards,
    Shaunak

  • Hi Shaunak,

    I had no idea that the RCCLK was supported for this now, that changes the situation a ton.

    I played around with settings and using RCCLK at max divider (16) to get 625kHz clock input to WDT, now I can get the runtime timeout up to 53687 milliseconds.

    Best Regards,

    Ralph Jacobi