Skip to main content
Graduate
July 29, 2025
Question

TIM2 Bus speed

  • July 29, 2025
  • 3 replies
  • 275 views

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.

block diagram.png

    This topic has been closed for replies.

    3 replies

    MarrkinhoAuthor
    Graduate
    July 29, 2025

    Is it using HSI16? that's what  confuses me .

    Super User
    July 29, 2025

    @Marrkinho wrote:

    Is it using HSI16? 


    Trace it through the diagram

    Super User
    July 29, 2025

    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