AnsweredAssumed Answered

STM32F7: CAN2 Wrong Filter ID (FMI)

Question asked by Keaven on Jul 25, 2016
Latest reply on Jul 25, 2016 by Clive One
Hello all,

I am using both CAN on my device.  It is all working well except that I am receiving in HAL_CAN_RxCpltCallback() an incorrect ID value for all my CAN2 filters.  

I have 6 filters on CAN1 from 0 to 5 and 6 filters on CAN2 from 14 to 19.  I did set the starting CAN2 bank value to 14.

What is very strange is when the filter 14 trigged, CanHandle->pRxMsg->FMI is equal to 0 and not 14.  The instance is CAN2 so the right interface.

If I do a test on the interface CAN1 with a filter completely different on id 0.  The callback tell me the filter 0 trigged on interface CAN1.

Is it how it works?  Do I have to add the bank start when receiving on the CAN2 interface to my filter to get the correct filter ID?

For me it seems like a bug...

Thank you