I work with STM32G484, with FDCAN. I want to create filter so only messages with my own CAN_ID will reach HAL_FDCAN_RxFifo0Callback.
I started by define the filter:
I'm unsure but I have HAL_FDCAN_Start and HAL_FDCAN_ActivateNotification with FDCAN_IT_RX_FIFO0_NEW_MESSAGE for active interrupt on every new message in HAL_FDCAN_RxFifo0Callback
and you also need to have HAL_FDCAN_ActivateNotification in FDCAN RX callback too.
i work with CAN-ID of 10 to 200. So its not a problem of ID length. Any way I changed the ID type to extend and it still not working - passing all with regular filter only, and block all with the global filter