samples: boards stm32 power mgmt nucleo_wb55rg sets a lptim prescaler
configure the nucleo_wb55rg with a prescaler on the LPTIMer input clock to increase the max sleep duration. With 32 the input clock is 1024Hz and max reachable timeout is 64 seconds. Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
parent
403279cc76
commit
29ef82cfaf
1 changed files with 9 additions and 0 deletions
|
@ -0,0 +1,9 @@
|
|||
/*
|
||||
* give a prescaler to the lptim clock : LSE / 32 = 1024Hz
|
||||
* so that the sleep period is of 64s in the sample application
|
||||
*
|
||||
*/
|
||||
|
||||
&lptim1 {
|
||||
st,prescaler = <32>;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue