Skip to main content
RPavl.2
Associate II
February 7, 2021
Question

Clock tree with 16MHz oscillator in CUBE and incorrect system timer.

  • February 7, 2021
  • 1 reply
  • 1225 views

0693W000007EFBoQAO.pngI have a ready-made project for STM32F103T8u for an 8MHz oscillator, but I had to replace the oscillator with 16MHz. It would seem nothing difficult to change HSE from 1 to 2 and get the required parameters at the output, but I noticed that now my second lasts half a second and I have no idea what can be checked.

This topic has been closed for replies.

1 reply

RPavl.2
RPavl.2Author
Associate II
February 7, 2021

Maybe I phrased it wrong. Despite the fact that I changed the divider and all frequencies should have changed, this did not happen, UART(i set 115200) works at frequencies 115200x2, HAL_delay (1000) lasts 500ms and so on.