Skip to main content
Visitor II
July 28, 2020
Solved

STM32F446RE, firmware V1.25.0, HAL driver for CAN doesn't generate rx interrupt

  • July 28, 2020
  • 1 reply
  • 605 views

I've tried numerous of configurations, initialized pins in different modes, but CAN doesn't reach IRQ handler...it should work after "HAL_CAN_ActivateNotification(&hcan1, CAN_IT_RX_FIFO0_MSG_PENDING)" according to library documentation....the driver initializes fine, and I'm able to send messages succesfully...however RX never generates an interrupt..am I missing something

Note: I tried both loopback mode, as well as normal

    This topic has been closed for replies.
    Best answer by BMihe.1

    Ok, it seems that you have to configure filter, it won't pass all messages as default

    1 reply

    BMihe.1AuthorAnswer
    Visitor II
    July 28, 2020

    Ok, it seems that you have to configure filter, it won't pass all messages as default