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: Is it possible to switched RTI_FCLK off via the disable registers of the Clock management?

Part Number: MCU-PLUS-SDK-AM263X


I found watchdog chapter in the TRM 

From what I understand from the attached paragraph, watchdog timer could be stopped by disabling RTI_FCLK. 

but I can not find the way in detail in the TRM.

What I'm trying to do is disable the watchdog for a while which is already running.

Can anybody guide me to disable RTI_FCLK?

and I have following questions.

1. if I switch RTI_FCLK  off, then any other module could be stop? ( It is not only for WDTn Clock source?)

2. is it possible to change the register after all peripherals are all done for  initialization?

3. I have tried to change Wdt clksrc and clkdiv , during watchdog running, It leads to a reset. It looks like happened what should have be happened, does it?

  • Hello Song-hwan,

    What I'm trying to do is disable the watchdog for a while which is already running.

    Can anybody guide me to disable RTI_FCLK?

    If you objective is to disable the watchdog, the simplest method to stop the counters should be by writing to the RTIGCTRL register to CNT0EN / CNT1EN which stops the counters.

    To specifically answer how to disable RTI_FCLK, you would use the clock gating for the RTI module to shut the clock off from reaching it via CFG0_RTIx_CLK_GATE (x being 0 through 3)

    1. if I switch RTI_FCLK  off, then any other module could be stop? ( It is not only for WDTn Clock source?)

    Any module sourced with the RTI_FCLK would stop at that point. Hence the recommendation to use RTIGCTRL instead.

    2. is it possible to change the register after all peripherals are all done for  initialization?

    Sure, that is generally the case, but the impact on the system would depend on which register you mean and how you are changing it.

    3. I have tried to change Wdt clksrc and clkdiv , during watchdog running, It leads to a reset. It looks like happened what should have be happened, does it?

    You definitely should be pausing the Watchdog before making changes like that. I don't know for certain if the reset is the expected behavior (this isn't currently documented as it shouldn't be done), but I'm not at all surprised that is the result. 

    Best Regards,

    Ralph Jacobi