Skip to main content
BMihe.1
Associate
Jul 28, 2020 12:01 PM UTC
Solved

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

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.
BMihe.1
BMihe.1Best answer
Associate
Jul 28, 2020 6:41 PM UTC

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

1 reply

BMihe.1
BMihe.1AuthorBest answer
Associate
Jul 28, 2020 6:41 PM UTC

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