Skip to content

marineop/CAN_Bus_BitTimingCalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CAN Bus Bit Timing Calculator

  1. List all possible bit timing parameters
  2. Support both CAN 2.0 and CAN FD
  3. Sorting according to clock tolerance allows you to choose the best parameters
  4. Simple Windows Form project

Fields Explanation

  1. Common

    • Bus Length: According to your physical cable.
    • Bus Propagation Delay: According to the cable datasheet or actual measurement.
    • Transceiver Loop Delay: Check the CAN transceiver datasheet.
    • CAN Controller IPT: Information Processing Time. Check the datasheet of MCU.
    • Clock Frequency: Check the system clock and PLL settings of MCU and firmware.
  2. CAN 2.0

    • TSeg1 and TSeg2 Range: Check the reference manual of the MCU.
    • Sampling Range: Filter to the result, in case your system require a specific range of sampling point.
  3. CAN FD

    • TSeg1 and TSeg2 Range: Check the reference manual of the MCU.
    • Secondary Sampling Point: Enable to allow a larger bit rate in data field.
    • Sampling Range: Filter to the result, in case your system require a specific range of sampling point.

Reference

  1. FDCAN Normal Operating Mode
  2. AN1798: CAN Bit Timing Requirements by Stuart Robb, East Kilbride, Scotland, NXP
  3. Bit Time Requirements for CAN FD by Florian Hartwich, Robert Bosch GmbH
  4. Robustness of a CAN FD Bus System – About Oscillator Tolerance and Edge Deviations by Dr. Arthur Mutter, Robert Bosch GmbH

TODO

  1. Add document

About

CAN 2.0 and CAN FD Bit Timing Calculator

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages