Skip to main content
andy22
Associate
December 1, 2009
Question

CAN stuck in ERROR PASSIVE state

  • December 1, 2009
  • 3 replies
  • 928 views
Posted on December 01, 2009 at 16:36

CAN stuck in ERROR PASSIVE state

    This topic has been closed for replies.

    3 replies

    andy22
    andy22Author
    Associate
    May 17, 2011
    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

    andy22
    andy22Author
    Associate
    May 17, 2011
    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.

    akaiser9
    Associate II
    May 17, 2011
    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 ]