Skip to content

Commit 163bd85

Browse files
committed
Missing IPCC enable for C2 in several examples from stm32CubeWB
This fix is coming from STMicroelectronics/STM32CubeWB#19 Signed-off-by: Francois Ramu <[email protected]>
1 parent 732ffed commit 163bd85

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/utility/STM32Cube_FW/hw_ipcc.c

+6
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,12 @@ void IPCC_C1_TX_IRQHandler(void)
9494
******************************************************************************/
9595
void HW_IPCC_Enable(void)
9696
{
97+
/**
98+
* Such as IPCC IP available to the CPU2, it is required to keep the IPCC clock running
99+
when FUS is running on CPU2 and CPU1 enters deep sleep mode
100+
*/
101+
LL_C2_AHB3_GRP1_EnableClock(LL_C2_AHB3_GRP1_PERIPH_IPCC);
102+
97103
/**
98104
* When the device is out of standby, it is required to use the EXTI mechanism to wakeup CPU2
99105
*/

0 commit comments

Comments
 (0)