I'm not able to get the FDCAN filter working on a STM32MP157C-DT2. I'm able to receive valid ID' with no problem, however, invalid ID's are getting through.
Would someone be kind enough to take a quick look at my setup to make sure I did not miss anything. Please see attached code.
when you say "are getting through" do you mean that invalid ID's are not filtered ?
I see in your code :
if (HAL_FDCAN_ConfigGlobalFilter(&hfdcan1, FDCAN_REJECT, FDCAN_ACCEPT_IN_RX_FIFO0, FDCAN_REJECT_REMOTE, FDCAN_FILTER_REMOTE))
so FDCAN_ACCEPT_IN_RX_FIFO0 means that the invalid ID should be stored in FIFO0
is this what is happening ?