This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf52832 Peripheral Clock Assignment

Hi,

The nrf52832 product spec shows all the clocks provided by HFCLK and LFCLK. But where can I find which peripheral is using which peripheral clock specifically?

For example, which clock is used by UART and TWI?

Thanks for the help in advance!

Parents Reply
  • Yes, there is no such info in a single place for quick look, only in description of modules that use clock different from PCLK16. LFCLK is mentioned in spec for RTC and WDT, the same is for radio and NFC that require HFXO. Other modules will use either HFINT running on-demand, or HFXO if it's already started. Most are running from PCLK16M, timers can work from PCLK1M when it's sufficient, PCLK32M is used for I2S and PDM. Anyway you can't control these lines independently.

    What's really missing is a notice about switching between HFINT and HFXO - while it looks quite clear, many developers are got catched. Because of a difference in frequency, this switching sometimes causes issues especially with UART and PWM.

Children
Related