cancel
Showing results for 
Search instead for 
Did you mean: 

How to use APB1 prescaler in stm32F100

Anand Krishnan
Associate II
Posted on April 06, 2017 at 15:27

Which register to be used?

3 REPLIES 3
Imen.D
ST Employee
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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
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.

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen