Skip to main content
Pieter Conradie
Associate III
February 14, 2024
Solved

STM32WL55: IPCC wake up CPU2 from STOP mode? Workarounds?

Hi there!

If I interpret table 45 on p. 247 of the reference manual correctly, then the IPCC interrupt is not able to wake up a CPU from STOP mode:

stop_table .png

Am I correct in my interpretation? If so, is there any other way for CPU1 to wake up CPU2 from STOP mode to signal that there is a message waiting? One way I can think of is connecting two GPIO pins so that CPU1 can generate an external interrupt to CPU2 but that feels like such a waste of resources :(

Thanks in advance,

Pieter

This topic has been closed for replies.
Pieter Conradie
Pieter ConradieBest answer
Associate III
February 23, 2024

ST support helped me on this. For other people also looking for a solution, this is it:

On CPU1:

// Enable IPCC CPU1 Wake up interrupt
LL_EXTI_EnableIT_32_63(LL_EXTI_LINE_36);

On CPU2:

// Enable IPCC CPU2 Wake up interrupt
LL_C2_EXTI_EnableIT_32_63(LL_EXTI_LINE_37);

See Reference Manual "16.3.1 EXTI wake-up interrupt list":

exti_list.png

Best regards,

Pieter

https://piconomix.com

1 reply

Pieter Conradie
Pieter ConradieAuthorBest answer
Associate III
February 23, 2024

ST support helped me on this. For other people also looking for a solution, this is it:

On CPU1:

// Enable IPCC CPU1 Wake up interrupt
LL_EXTI_EnableIT_32_63(LL_EXTI_LINE_36);

On CPU2:

// Enable IPCC CPU2 Wake up interrupt
LL_C2_EXTI_EnableIT_32_63(LL_EXTI_LINE_37);

See Reference Manual "16.3.1 EXTI wake-up interrupt list":

exti_list.png

Best regards,

Pieter

https://piconomix.com