cancel
Showing results for 
Search instead for 
Did you mean: 

CAN bus boudrate calculate

kadir ustun1
Senior
Posted on March 27, 2018 at 10:40

Hello, How can ı calculate CANBUS communication boudrate ?

12 REPLIES 12
Richard Lowe
Senior III
Posted on March 27, 2018 at 11:33

I use this website for quick calculations: 

http://www.bittiming.can-wiki.info/

Posted on March 27, 2018 at 13:12

THANK YOU

Posted on March 27, 2018 at 13:22

but, I want to learn

Posted on March 27, 2018 at 14:54

Sum of quanta, times prescaler, divided into APB clock the CAN is on.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on March 27, 2018 at 15:02

Hello,

The way how to calculate manually CAN baudrate you can find in MCU's reference manual, in chapter related to CAN interface. Please find below the part related to this subject and relationship between it and STM32CubeMX.

0690X0000060AHGQA2.png

Regards

Szymon

Posted on March 27, 2018 at 16:52

Thank you very much. I have a problem. ı dont send data via canbus . what can ı do ?

Posted on March 27, 2018 at 19:10

Hello Kadir,

Please refer to this thread:

https://community.st.com/0D50X00009XkWfySAF

. Inside it I attached two presentations: for STM32F7 and STM32L4. Each of them shows how to create a simple CAN bus application step by step from scratch. In this thread you can also find an information where to look for example CAN applications in Cube repository. I hope this content willhelp you to make CAN working on your side.

Regards

Szymon

Posted on March 27, 2018 at 21:06

thank you 

Posted on March 27, 2018 at 21:08

I will look. Thank you very much.