cancel
Showing results for 
Search instead for 
Did you mean: 

CAN stuck in ERROR PASSIVE state

andy22
Associate II
Posted on December 01, 2009 at 16:36

CAN stuck in ERROR PASSIVE state

3 REPLIES 3
andy22
Associate II
Posted on May 17, 2011 at 13:32

Hi there!

Is there any other way to come out from the ERROR PASSIVE state, other than reset the CAN peripheral in the RCC->APB1RSTR register and setup it again?

The CAN software reset doesn't work (CAN_MCR Bit 15 RESET: bxCAN software master reset ).

Thanks,

Andy

akaiser9
Associate II
Posted on May 17, 2011 at 13:32

Look at the ABOM bit in the MCR.

[ This message was edited by: prx on 30-11-2009 17:25 ]

andy22
Associate II
Posted on May 17, 2011 at 13:32

The ABOM bit doesn't help. Anyway its enabled (it was the first thing, we tried). But when the CAN enters ERROR PASSIVE state (TEC or REC over 128) than you cannot send any msg. Even tried to enter and leave init mode on the CAN, but that doesn't work either.

We tested with stm32f105 (CAN1), we will test with stm32f103.