AnsweredAssumed Answered

Independent Watchdog Timer

Question asked by arslan.bahadir on Dec 8, 2013
Latest reply on Dec 8, 2013 by Clive One
hello I want to learn how to use independent watchdog so I wrote this code but it doesnt work .
here is my code :
#include "stm32f10x.h"
#include "stm32_eval.h"
#include <stdio.h>

GPIO_InitTypeDef GPIO_Config_Anahtari;

void Rcc_Configuration(void);
void IWDG_Configuration(void);
void GPIO_Rcc_Configuration(void);
void GPIO_Configuration(void);
void _Delay(uint16_t);

int main(void)


  * @brief  Reports the name of the source file and the source line number
  *         where the assert_param error has occurred.
  * @param  file: pointer to the source file name
  * @param  line: assert_param error line source number
  * @retval None
void assert_failed(uint8_t* file, uint32_t line)

  /* User can add his own implementation to report the file name and line number,
     ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */

  /* Infinite loop */
  while (1)

void Rcc_Configuration()

void IWDG_Configuration()

void GPIO_Rcc_Configuration()
void _Delay(uint16_t t)
     uint8_t i=0;
void GPIO_Configuration()
     GPIO_Config_Anahtari.GPIO_Mode = GPIO_Mode_Out_PP;
     GPIO_Config_Anahtari.GPIO_Pin = GPIO_Pin_7;
     GPIO_Config_Anahtari.GPIO_Speed = GPIO_Speed_50MHz;

So in this code I expect , iwdg creates an reset signal. So when reset signal created , led must be turn off and then turn on again. But in my board nothing change. So what is the problem ? 

Thanks for your help and sorry about my english