cancel
Showing results for 
Search instead for 
Did you mean: 

Stm32g474re-nucleo FDCAN internal loop not working

enee
Associate

Hi, I have all configured using internal loop FDCAN1 and there is not working on my STM32G474RE-Nucleo board

 

Screenshot 2026-03-13 194621.png

3 REPLIES 3
TDK
Super User

What does "not working" mean here?

How to write your question to maximize your chance... - STMicroelectronics Community

If you feel a post has answered your question, please click "Accept as Solution".
mƎALLEm
ST Employee

Hello,

"Not working" does mean nothing. What problem you are facing? in transmit? in receive? 

Try to use external loopback mode and monitor FDCAN_Tx pin.

I am not comfortable with setting 1Tq to the time segments. Here you are setting 1Tq for TSEG2:

screenshot.png

Try to set NTSEG1 = 17TQ and NTSEG2=2TQ

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.
Karl Yamashita
Principal

Upload your IOC file. Also show some code. We don't know if you configured the filters correctly and if you even started the CAN controller with interrupts.

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.
CAN Jammer an open source CAN bus hacking tool
CANableV3 Open Source