Skip to main content
Anand Krishnan
Associate
April 6, 2017
Question

How to use APB1 prescaler in stm32F100

  • April 6, 2017
  • 1 reply
  • 1166 views
Posted on April 06, 2017 at 15:27

Which register to be used?

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    April 6, 2017
    Posted on April 06, 2017 at 15:46

    Hi,

    You should refer to the reference manual related to your device and you find all details about APBx prescaler and register.

    Imen

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
    Anand Krishnan
    Associate
    April 6, 2017
    Posted on April 06, 2017 at 16:02

    okay. I do have the related reference manual but cant understand which particular register to use. Nothing is mentioned.

    Technical Moderator
    April 6, 2017
    Posted on April 06, 2017 at 17:15

    Hi,

    You should refer to the ''Reset and clock control (RCC)'' inside the RM0041, exactly the Figure 8. STM32F100xx clock tree (low and medium-density devices) to have idea about clock tree and in the ''Clock configuration register (RCC_CFGR)'' 

    0690X00000606i8QAA.png

    You can use STM32CubeMx which is a graphical interface performs easy configuration and clock tree. (Please refer to ''Clock tree configuration view'' section on the UM1718 user manual).

    Hope this help you.

    Imen

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks