AnsweredAssumed Answered

CubeMX can not set speeds above 32 MHz on NUCLEO F446ZE

Question asked by Elwood Downey on Aug 24, 2016
Latest reply on Feb 22, 2017 by Andres Cao
I have NUCLEO F446ZE, STM32CubeMX version 4.16.0 on Mac OS X 10.11.6. When I set the HCLK to 8, 16 or 32 MHz my program runs fine, but anything faster and it does not run at all. For this exercise my program is just one line:

    HAL_GPIO_TogglePin(GPIOB, LD2_Pin);

I put a scope probe on CN1 21 (PB_7 for LED2). When I set HCLK to 8 MHz, I see the square wave period is 4.68 usec; at 16 MHz it is 2.32; at 32 MHz it is 1.16, all fine. But anything higher and the pin does not change state at all, it just stays low.

Any suggestions would be welcome. My project chose the F446 in part because it should be able to go up to 180 MHz so I hope this is possible. Cube does say "180 MHz max" below the speed setting box so it should be possible.

Thanks much for any ideas.

Elwood Downey
Steward Observatory
University of Arizona