samples: boards: stm32 serial wakeup form LPUART on nucleo_wl55jc
This overlay shows the LPUART at 9600 with wakeUp capability to exit the nucleo_wl55jc target plaform from the low Power stop mode, EXTI_Line 28 is the corresponding wakeUp source. The LPUART is sourced by the LSE (32768Hz) and max baudrate is 9600. Set the console to 9600. Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
parent
0e119b53c6
commit
44b9cde054
1 changed files with 20 additions and 0 deletions
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* Copyright (c) 2022 STMicroelectronics
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&clk_lse {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
/* LPUART1 clock source on LSE : set console at 9600 */
|
||||
&lpuart1 {
|
||||
/delete-property/ clocks;
|
||||
clocks = <&rcc STM32_CLOCK_BUS_APB1_2 0x00000001>,
|
||||
<&rcc STM32_SRC_LSE LPUART1_SEL(3)>;
|
||||
|
||||
current-speed = <9600>;
|
||||
wakeup-source;
|
||||
wakeup-line = <28>;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue