AnsweredAssumed Answered

Incorrect internal clock signal

Question asked by sebastien.guignard on Oct 22, 2015
Latest reply on Oct 23, 2015 by Jacobs.Carl.001
Hello !!!
I would recover my internal clock signal (configure to 16MHz)  with  an oscilloscope when I switch a pin of my microcontroller the signal is only of 450khz. Could someone explain to me why I don't  exceed the 450khz ?

my main program :

int main(void)
{

  /* Reset of all peripherals, Initializes the Flash interface and the Systick. */
  HAL_Init();

  /* Configure the system clock */
  SystemClock_Config();

  /* Initialize all configured peripherals */
  MX_GPIO_Init();

  while (1)
  {
    HAL_GPIO_TogglePin(GPIOB, GPIO_PIN_5);

  }
}



Thank you in advance and sorry for my poor english .

Outcomes