Skip to main content
RJain.1
Associate III
June 13, 2022
Question

FDCAN classic in stm32h7 stop receiving data after some time

  • June 13, 2022
  • 1 reply
  • 713 views

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.

This topic has been closed for replies.

1 reply

mƎALLEm
ST Technical Moderator
September 22, 2026

Hello,

You didn’t provide details about your code from both sides (F7 and H7) as well as the CAN hardware. Need more than that to help you efficiently.

on the other hand, when H7 is configured as FDCAN only, in this case F7 is transmitting without any issue.

That doesn’t make sense. STM32F7 doesn’t support CANFD frames.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.