Skip to main content
GKorb.1
Visitor II
March 3, 2020
Question

Cannot succesfully write to WWDG registers.

  • March 3, 2020
  • 0 replies
  • 544 views

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

This topic has been closed for replies.