2017-04-06 06:27 AM
Which register to be used?
2017-04-06 06:46 AM
Hi,
You should refer to the reference manual related to your device and you find all details about APBx prescaler and register.
Imen
2017-04-06 09:02 AM
okay. I do have the related reference manual but cant understand which particular register to use. Nothing is mentioned.
2017-04-06 10:15 AM
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)''
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