AnsweredAssumed Answered

Bug on HAL_CAN_ConfigFilter for stm32f105 CubeMX

Question asked by marco on Feb 16, 2016
Latest reply on Jul 20, 2017 by Valentin
When you set the filters for can2, software try to set the registers at base 0x4006800 + 0x200 instead of  0x4006400 + 0x200.

Using handle hcan its correct ?

  MODIFY_REG(hcan->Instance->FMR                         ,
             CAN_FMR_CAN2SB                              ,
             CAN_FMR_FINIT                              |
             (uint32_t)(sFilterConfig->BankNumber << 8)   );

Sorry for my english