2020-03-03 03:56 AM
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.
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