CAN receiving HAL_CAN_ERROR_PARAM error????????
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-01-25 11:34 PM
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. )
Labels:
- Labels:
-
STM32CubeMX
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-12-14 4:14 AM
Did you solve it? Having same error...
