- Code generate prescale, segment1, segment2 for config CAN in STM32.
- You just only change value at variable clock and bitrate on this file.
- Formula :
- prescaler*(Seg1 + Seg2 + 1) = Clock/bitrate
- sample_point = (Seg1 + Sync_Seg)/(Seg1 + Seg2 + Sync_Seg)
-
Notifications
You must be signed in to change notification settings - Fork 0
duclinhfetel/CAN_Calc_Bit_Timing_STM32
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
code generate prescale, segment1, segment2 for config CAN in STM32. You just only change value at variable clock and bitrate on this file.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published