Midnight Sun Firmware
Loading...
Searching...
No Matches
BootCanTiming

Selection for the supported CAN Bitrates. More...

#include <bootloader_can.h>

Public Attributes

uint16_t prescaler
 
uint32_t bs1
 
uint32_t bs2
 

Detailed Description

Selection for the supported CAN Bitrates.

CAN bit timing is composed of multiple time segments:

  • Synchronization Segment (Sync_Seg): Allows resynchronization
  • Propagation Segment (Prop_Seg): Compensates for physical delays
  • Phase Buffer Segments (Phase_Seg1 and Phase_Seg2):
    • Absorb time quanta variations
    • Provide sampling point adjustment
      Note
      Typical sampling occurs between 75-80% of bit time Higher bitrates require shorter time quantas Bitrate selection impacts signal reliability and bus length

The documentation for this struct was generated from the following file: