AnsweredAssumed Answered

[STM32F2] issue with CAN-HAL interrupt receivng

Question asked by d-chris on Aug 30, 2016
Latest reply on Dec 7, 2016 by FTITI.Walid
based on stm32cubemx with library 1.4.0 for stm32f205

with interrupt receiving  the fifonumber within the struct CanRxMsgTypeDef is not set by the function CAN_Receive_IT() in stm32f2xx_hal_can.c

if the user/application does not care about the fifo it makes no big deal.

patch  for  stm32f2xx_hal_can.c
  * @version V1.1.3
  * @date    29-June-2016

add following in stm32f2xx_hal_can.c @ line #1346
hcan->pRxMsg->FIFONumber = FIFONumber;

Outcomes