cancel
Showing results for 
Search instead for 
Did you mean: 

FDCAN2 doesn't seem to work with STM32G474e-EVAL board

ESchn.1
Associate II

I'm having problems getting my software to work with FDCAN2 on the STM32G474e-EVAL board. It works with FDCAN1, but w/ FDCAN2, messages accumulate in the Tx buffer until I get buffer fill errors.

I built the FDCAN_Com_IT example from the latest STM32GCube firmware bundle and it fails in the exact same manner. Board is terminated correctly and I believe the CAN pins are wired to each other correctly. What could be going wrong here? Thanks.

-es

11 REPLIES 11
ESchn.1
Associate II

Ok, finally tracked this problem down. It would appear that some revisions of the STM32G474E-EVAL board default to having the FDCAN2 TX pin disconnected. If you solder the SB5 location on the board closed, the pin will be connected and FDCAN2 will work.

KDJEM.1
ST Employee

Hello @ESchn.1 ,

Glad to know that the issue is already fixed.

Thank you for your sharing the solution .

Yes, you are right the FDCAN2 TX is initially disconnected in G474EMC-B04 Board revision, SB5 is open by default, contrary to G474E-B04 Board revision 

 Thank you for your contribution in STCommunity. 

 Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.