2022-06-13 04: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.