Skip to main content
Associate III
September 13, 2024
Solved

clock configuration issues when I use CAN

  • September 13, 2024
  • 1 reply
  • 1904 views

good morning. I want to implement a can loopback on my STM32H755, but when I enable FCAN1, then my clock can't resolve it issues and shows this for FDCAN in the picture below. how could I resolve this problem?

Jad_0-1726221753821.png

 

Best answer by mƎALLEm

@Jad wrote:

Capture d’écran 2024-09-13 à 13.48.09.pngthan you very much for the quick response

those are the values I found. I do not know how to understand the values and adjustate the timer.


No these are the values for the power consumption.

You need to set the voltage scale according to the system frequency, from DS12919 Rev 2:

SofLit_1-1726228808037.png

Based on that voltage scale (VOS) level, you can know what is the maximum allowed kernel clock frequency you can set for FDCAN:

SofLit_0-1726223170325.png

1 reply

mƎALLEm
Technical Moderator
September 13, 2024

Hello,

You need to check the reference manual and check your system frequency as well as what voltage scale (VOS) configuration you set:

SofLit_0-1726223170325.png

Could you please share your ioc file?

 

 

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
JadAuthor
Associate III
September 13, 2024

Capture d’écran 2024-09-13 à 13.48.09.pngthan you very much for the quick response

those are the values I found. I do not know how to understand the values and adjustate the timer.

mƎALLEm
mƎALLEmBest answer
Technical Moderator
September 13, 2024

@Jad wrote:

Capture d’écran 2024-09-13 à 13.48.09.pngthan you very much for the quick response

those are the values I found. I do not know how to understand the values and adjustate the timer.


No these are the values for the power consumption.

You need to set the voltage scale according to the system frequency, from DS12919 Rev 2:

SofLit_1-1726228808037.png

Based on that voltage scale (VOS) level, you can know what is the maximum allowed kernel clock frequency you can set for FDCAN:

SofLit_0-1726223170325.png

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