2025-07-29 1:20 AM - last edited on 2025-07-29 2:07 AM by Andrew Neil
Hi,
I have an stm32G0B1 that i'm working on. I want to use a timer "TIMER2" but the block diagram of the board doesn't not give the AP2B2 clock bus. I know with other boards is usually mentioned. Where do I go to look for it, as I have looked and I struggle to find it.
2025-07-29 2:46 AM
Is this what you're looking for?
via: https://www.st.com/en/microcontrollers-microprocessors/stm32g0b1vc.html#documentation
2025-07-29 7:48 AM
Is it using HSI16? that's what confuses me .
2025-07-29 8:11 AM
It uses whichever primary clock source you've selected for SYSCLK, divided by the AHB prescaler and the APB prescaler (and optionally multiplied by 2 if APB divider is 2 or higher).
JW
2025-07-29 8:29 AM
@Marrkinho wrote:Is it using HSI16?
Trace it through the diagram