Skip to main content
Explorer II
April 5, 2024
Solved

NUCLEO-F412ZG CAN Configuration issue

  • April 5, 2024
  • 2 replies
  • 1445 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

    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?

    Graduate II
    April 5, 2024

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

    Try these values to get 250kbit/s

     

    KarlYamashita_0-1712353957244.png