Data Fields
CAN_DataBitRateTimingRaw Struct Reference

Structure defining the raw MCAN CAN FD data phase bit rate configuration. More...

#include <CAN.h>

Data Fields

uint32_t dbrp
 
uint32_t dtSeg1
 
uint32_t dtSeg2
 
uint32_t dsjw
 
uint32_t tdcOffset
 
uint32_t tdcFilterWinLen
 

Detailed Description

Structure defining the raw MCAN CAN FD data phase bit rate configuration.

The length of the bit time is [dtSeg1 + dtSeg2 + 3] tq. Bit Rate = (MCAN system clock / (dbrp + 1)) / (length of bit time)

Field Documentation

§ dbrp

uint32_t CAN_DataBitRateTimingRaw::dbrp

DBRP: Data Bit Rate Prescaler value for the MCAN system clock. Interpreted by MCAN as the value is this field + 1. If Transceiver Delay Compensation is used, valid range: 0 to 1. Otherwise, valid range: 0 to

§ dtSeg1

uint32_t CAN_DataBitRateTimingRaw::dtSeg1

DTSEG1: Data time segment 1 + prop segment. Interpreted by MCAN as the value in this field + 1. Valid range: 0 to 31.

§ dtSeg2

uint32_t CAN_DataBitRateTimingRaw::dtSeg2

DTSEG2: Data time segment 2. Interpreted by MCAN as the value is this field + 1. Valid range: 0 to 15.

§ dsjw

uint32_t CAN_DataBitRateTimingRaw::dsjw

DSJW: Data Resynchronization Jump Width. Interpreted by MCAN as the value is this field + 1. Valid range: 0 to 15. Typically set equal to tSeg2.

§ tdcOffset

uint32_t CAN_DataBitRateTimingRaw::tdcOffset

Transceiver Delay Compensation offset. Valid range: 0 to 127 mtq.

§ tdcFilterWinLen

uint32_t CAN_DataBitRateTimingRaw::tdcFilterWinLen

Transceiver Delay Compensation filter window length. Valid range: 0 to 127 mtq.


The documentation for this struct was generated from the following file:
© Copyright 1995-2023, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale