cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F072 CAN Interrupt as Stop Mode wakup

Karol Mika
Associate
Posted on March 07, 2017 at 17:03

Hello,

In my project I need to run Stop Mode on STM32F072, but also I would like to monitor CAN Bus and wake it up when some specific ID will be send. Is it possible ? I'm trying and it's not working ?

I did set up CAN Interrrupt and it's working. I did set up external Interrupt (line 6) and it works as a wakup source. I also wakup using RTC (EXTI LIne 17) which works fine too. But I can't wakup my uC using CAN (CEC CAN Interrupt). Reference Manual (RM0091) says that CEC and CAN global interrupts are combined with EXTI Line 27 but it deosn't work.

Can anyone confirm that this is possible and I'm making something wrong, or maybe it can't be done that way ?

#stm32f072 #can-bus
1 REPLY 1
Posted on March 08, 2017 at 00:30

Stop mode stops all clocks, including CAN clock, so it can't receive.

You can try to go for sleep mode with selectively disabling as many peripherals' clocks through RCC_AxxxENR as possible to achieve low consumption.

JW