FDCAN classic in stm32h7 stop receiving data after some time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-06-13 4:50 AM
Hi,
Am interfacing STM32H743 FDCAN classic with STM32F7 CAN. When I tried transmitting data from F7 to H7, within a minute H7 stop receiving data. I also tried debug the problem on F7 side and found that breakpoint hit on following condition inside the HAL_CAN_AddTxMessage() function in stm CAN driver:
else
{
/* Update error code */
hcan->ErrorCode |= HAL_CAN_ERROR_PARAM;
return HAL_ERROR;
}
}
It means, all three mailboxes are filled that's why this condition getting true. I tried example from STM32H7 repository but same results.
on the other hand, when H7 is configured as FDCAN only, in this case F7 is transmitting without any issue.
Please help, am stuck with this problem from last 5-7 days.
thanks in advance.
- Labels:
-
FDCAN
-
STM32F7 Series
-
STM32H7 Series
