cancel
Showing results for 
Search instead for 
Did you mean: 

CAN receiving HAL_CAN_ERROR_PARAM error????????

gkema
Associate II

I have trying for two weeks but cant solve an error can you help me about the receive error.

It is in stm32f4xx_hal_can.c at line 1136. The conditions given below;

if ((hcan->State == HAL_CAN_STATE_READY) ||
 
      (hcan->State == HAL_CAN_STATE_LISTENING))
 
  {
 
    /* Check the Rx FIFO */
 
    if (RxFifo == CAN_RX_FIFO0) /* Rx element is assigned to Rx FIFO 0 */
 
    {
 
      /* Check that the Rx FIFO 0 is not empty */
 
      if ((hcan->Instance->RF0R & CAN_RF0R_FMP0) == RESET)
 
      {
 
        /* Update error code */
 
        hcan->ErrorCode |= HAL_CAN_ERROR_PARAM;
 
 =======> STACK IN HERE
 
 
 
        return HAL_ERROR;
 
      }
 
    }

Its about software or hard ware ??

(NOTE: The transmission process is executed successfully by another node in same line. )

1 REPLY 1
JBond.1
Senior

Did you solve it? Having same error...