stm32f103, IWDG
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2009-03-24 10:35 PM
Posted on March 25, 2009 at 06:35
stm32f103, IWDG
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-05-17 4:07 AM
Posted on May 17, 2011 at 13:07
Is there a full working IWDG example ?
I tried this, but it seems not working (the watchdog doesn't reset the cpu). // cpu clock from external xtal (HSE) + RCC_PLLMul_8 RCC_LSICmd(ENABLE); while(RCC_GetFlagStatus(RCC_FLAG_LSIRDY) == RESET); RCC_APB1PeriphClockCmd(RCC_APB1Periph_PWR, ENABLE); RCC_ClearITPendingBit(RCC_IT_LSIRDY); RCC_ITConfig(RCC_IT_LSIRDY, ENABLE); IWDG_WriteAccessCmd(IWDG_WriteAccess_Enable); IWDG_SetPrescaler(IWDG_Prescaler_32); IWDG_SetReload(200); IWDG_ReloadCounter(); IWDG_Enable(); I am testing thru JTAG. Does it disable the IWDG ? best regards, Sala