Skip to content

Commit 4d9fd31

Browse files
FRASTMfpistm
authored andcommitted
fix: 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 ac3469e commit 4d9fd31

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
@@ -107,6 +107,12 @@ void IPCC_C1_TX_IRQHandler(void)
107107
******************************************************************************/
108108
void HW_IPCC_Enable( void )
109109
{
110+
/**
111+
* Such as IPCC IP available to the CPU2, it is required to keep the IPCC clock running
112+
when FUS is running on CPU2 and CPU1 enters deep sleep mode
113+
*/
114+
LL_C2_AHB3_GRP1_EnableClock(LL_C2_AHB3_GRP1_PERIPH_IPCC);
115+
110116
/**
111117
* When the device is out of standby, it is required to use the EXTI mechanism to wakeup CPU2
112118
*/

0 commit comments

Comments
 (0)