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

HFCLK in Pwr Mgmt Example

Hi everyone,

In the Power Management example, why the HFCLK still running when the uC is in sleep mode ? I see it in the HFCLK_STAT => State = 1

Shouldn't it be disable to optimise the consumption ?

Sincerely,
Sylvain.

Parents Reply
  • Hi,

    I talked a bit to my colleagues, and it seems like the register will always be 1 (Running) when you read it out. All ways of reading the register, including debugging, will cause the HFCLK to start. The register is most likely used internally by peripherals which check the state before starting. I am not actually sure why the register is documented at all.

    Best regards,
    Rune Holmgren

Children
Related