Skip to main content
mcoc7n
Associate II
October 14, 2020
Solved

STM32L475RC - reconfiguration of peripherals necessary when switching between power modes?

  • October 14, 2020
  • 2 replies
  • 763 views

Hi,

I'm working on a project with a STM32L475RC.

Depending on the operating status the STM32 is switched between different run modes like run mode, low power run mode and shutdown mode. When switching from run mode to low power run mode the clocks are also reconfigured.

I'm facing the problem, that the SMBUS/PMBUS communication is sporadically disturbed and now I'm wondering if for example the SMBUS peripheral has to be reconfigured when switching between different power modes and/or the clocks are reconfigured.

Can someone tell me something about this?

Thanks in advance.

This topic has been closed for replies.
Best answer by TDK

If the peripheral clock changes, then yes you need to account for this by adjusting the prescaler. After shutdown mode, the peripheral is reset and needs reconfigured entirely.

2 replies

TDK
TDKBest answer
October 14, 2020

If the peripheral clock changes, then yes you need to account for this by adjusting the prescaler. After shutdown mode, the peripheral is reset and needs reconfigured entirely.

"If you feel a post has answered your question, please click ""Accept as Solution""."
mcoc7n
mcoc7nAuthor
Associate II
October 15, 2020

OK thanks. That answers my question..