Skip to main content
Associate II
Jul 23, 2024 12:09 PM UTC
Solved

STM32WB55 - input clock for TIM6?

 

I am using STM32WB55 with 32 MHz HSE and am trying to find out which input clock frequency I should use for TIM16. Unfortunately it is not clear in the diagram from the datasheet. Where can I get this information?

 

Greetings,

Andreas 

 

AndreasC_0-1721736526957.png

    This topic has been closed for replies.
    STTwo-32
    STTwo-32Best answer
    ST Technical Moderator
    Jul 23, 2024 12:33 PM UTC

    Hello @AndreasC and welcome to the ST Community :smiling_face_with_smiling_eyes:.

    the APB2 is the clock bus for the TIM16:

    STTwo32_0-1721737978554.png

    Best Regards.

    STTwo-32

     

    To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

    4 replies

    Andrew Neil
    Super User
    Jul 23, 2024 12:11 PM UTC

    Choose a value that's appropriate to your intended use of TIM6.

    The Reference Manual will detail the available options.

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    AndreasCAuthor
    Associate II
    Jul 23, 2024 12:25 PM UTC

    You could save yourself this answer ;) It is not clear to me which clock bus the TIM16 is on (APB1 | APB" etc.) ...

    STTwo-32
    STTwo-32Best answer
    ST Technical Moderator
    Jul 23, 2024 12:33 PM UTC

    Hello @AndreasC and welcome to the ST Community :smiling_face_with_smiling_eyes:.

    the APB2 is the clock bus for the TIM16:

    STTwo32_0-1721737978554.png

    Best Regards.

    STTwo-32

     

    To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.