AnsweredAssumed Answered

Bug in HAL_CAN_ConfigFilter() in STM32Cube_FW_F4_V1.4.0 ?

Question asked by rsp.rsp on Feb 26, 2015
Latest reply on Feb 26, 2015 by rsp.rsp
The function HAL_CAN_ConfigFilter() takes as a parameter CAN_HandleTypeDef* hcan (a handle) but inside the function will be used a fixed CAN1.

Line 370:
  /* Initialisation mode for the filter */
  CAN1->FMR |= (uint32_t)CAN_FMR_FINIT;

Should not be used hCan->Instance-> ... ?

Outcomes