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.

MSPM0L1306: About SDK wwdt_window_mode_periodic_reset

Part Number: MSPM0L1306
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi team,

My customer would like to confirm about SDKexamples> nortos> LP_MSPM0L1306> driverlib> wwdt_window_mode_periodic_reset.

They removed the watchdog timer clear so that the reset would take place, but it would not be executed from the reset vector, and it seems to run out of control.

Do you have any advice on how to solve this issue ?

Thank you in advance.

Regards,

Kenley

  • For this demo is using WWDT0, a WWDT0 violation generates a BOOTRST, which resets the peripheral and CPU state and also causes the boot configuration routine (BCR) to run. 

    but it would not be executed from the reset vector

    How you know it no execute from reset hander?  

    run out of control.

    what's the phenomenon for this?

  • Hi Gary,

    The requirements for the WDT that customer want to use are simply reset by the WDT and no interrupts are required.
    Could you please provide such sample code and information on how to configure it?

    Best regards,

    Kenley

  • Hi Kenley,

    Customer can try this demo below, this demo I just comments  the timer's interrupts in the main loop code(for the sysconfig I have not make any change, you can remove the timer if needed in the sysconfig). 

    wwdt_window_mode_periodic_reset_LP_MSPM0L1306_nortos_ticlang.zip

    This demo can make the device reset by WTD every 500ms, you can see the PA0 is toggled every 500ms.And there is no any interrupt happen.

    By the way, this demo can't keep running at debug mode, because the WTD reset will interrupt the debug mode and make device disconnected as below. It is normal!