Skip to content

How to disable one of the I2C interface (flexcomm) #75950

Discussion options

You must be logged in to vote

Hi Mars,

Just to clarify, the mode supported is sleep, not deep-sleep.

You can disable the peripheral clocks when going in to sleep mode and reenable them when waking up. This will reduce the current draw.

I recommend taking a look at the Power Management APIs. The struct pm_notifier contains callbacks that are called when entering and exiting power states. This can aid in managing the peripheral clocks when entering/exiting deep-sleep mode.

Thanks, Jacob

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@MarsMSWu
Comment options

@jacob-wienecke-nxp
Comment options

@MarsMSWu
Comment options

@jacob-wienecke-nxp
Comment options

@MarsMSWu
Comment options

Answer selected by DerekSnell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants