AnsweredAssumed Answered

STM32F7 maximum toogle GPIO speed question

Question asked by Francois Alexandre on Aug 30, 2017
Latest reply on Aug 30, 2017 by Francois Alexandre

Hi to all,

 

Am working with a a custom board with a STM32F767BIT6 working at the highest speed possible. I am trying the simplest test on a GPIOH pin 8 :

    for(;;){
          {
              GPIOH->BSRR = 0x00000100U;
              GPIOH->BSRR = 0x01000000U;
          }

I can only get a frequency of 54MghZ exactly on the pin. I would like to have more ...

here the initialization:

  __HAL_RCC_GPIOH_CLK_ENABLE();
     

   GPIO_InitStruct.Pin = GPIO_PIN_8;
  GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
  GPIO_InitStruct.Pull = GPIO_NOPULL;
  GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
  HAL_GPIO_Init(GPIOH, &GPIO_InitStruct);

Outcomes