Skip to main content
Associate III
April 5, 2024
Solved

NUCLEO-F412ZG CAN Configuration issue

  • April 5, 2024
  • 2 replies
  • 1467 views

I having trouble getting the correct CAN timing configured with default 96Mhz System Clock on the NUCLEO-F412ZG eval board.

I need a 250kbit/s baud rate.

Here is what I have so far.

JDOG_0-1712351780796.png

The system clock setup is below.

JDOG_1-1712351954587.png

 

This topic has been closed for replies.
Best answer by Karl Yamashita

The ABP1 clock rate is 48MHz, not 96MHz.

Try these values to get 250kbit/s

 

KarlYamashita_0-1712353957244.png

 

2 replies

mƎALLEm
ST Technical Moderator
April 5, 2024

Hello,

Not sure I've understand the issue.

You need a bitrate of 250kb/s but I see you got it according to the screenshot. Could you please elaborate?

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Karl Yamashita
Karl YamashitaBest answer
Principal
April 5, 2024

The ABP1 clock rate is 48MHz, not 96MHz.

Try these values to get 250kbit/s

 

KarlYamashita_0-1712353957244.png

 

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 toolCANableV3 Open Source