2016-07-25 07:20 AM
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 #can #stm32f7 #filters2016-07-25 08:51 AM
Consider ''STM32 Software Tools and Firmware'' for Cube/HAL bug reports.