cancel
Showing results for 
Search instead for 
Did you mean: 

What are the conditions to set/modify/trigger IWDG2? My application runs in secure mode and I do write to 0x5a002000 the trigger value of 0xaaaa, but I still get a IWDG2 reset. No matter what I do I seem not to be able to change the settings.

42Bastian Schick
Associate III
 
1 ACCEPTED SOLUTION

Accepted Solutions
42Bastian Schick
Associate III

Solved.

I had to enable the APB4 clock (0x50000200 = 0x8000).

View solution in original post

3 REPLIES 3
42Bastian Schick
Associate III

Solved.

I had to enable the APB4 clock (0x50000200 = 0x8000).

Kevin HUBER
ST Employee

Hello @42Bastian Schick​ ,

Yes, you found it. Thanks for coming back to post the solution :).

As explained page 584 in the Reference Manual RM0436 rev5.0: https://www.st.com/resource/en/reference_manual/DM00327659-.pdf

The APB4 clock is needed to access to the IWDGx registers of IWDG2.

Regards,

Kévin

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
42Bastian Schick
Associate III

The confusion came because the registers could be read. Most often, if the clock is not enabled, you cannot even read the registers.

Cheers

42Bastian