Skip to main content
gkema
Associate
January 26, 2019
Question

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

  • January 26, 2019
  • 1 reply
  • 868 views

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. )

This topic has been closed for replies.

1 reply

JBond.1
Senior
December 14, 2019

Did you solve it? Having same error...