cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot succesfully write to WWDG registers.

GKorb.1
Associate

I'm using stm32f105VC. I have enabled the WWDG clock in RCC_APB1. I'm writing to WWDG registers.

The problem is that WWDG doesn't start. The printed value is 0x7F - always the same. I've checked also registers by Truestudio - both CFR and CR always have 0x7F.

0690X00000DYY2VQAX.png

0690X00000DYY2kQAH.png

Tried manipulating also EIT bit, clearing IT flag, placing the init function as earliest as possible, - without any success. I've checked RCC_APB1 and the bit for WWDG clock is set.

I've tried also setting bits directly (not using std library). (I've remembered to set also the Enable bit in WWDG_CR).

Does anybody have an idea what could be wrong? Didn't found any solution neither similar problem in the web.

Best Regards,

Gabriel

0 REPLIES 0