How to disable one of the I2C interface (flexcomm) #75950
-
Hi all... I use the LPC55s69 with FC0~FC7, some for UART and some for I2C with different speed. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
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 |
Beta Was this translation helpful? Give feedback.
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