ADTF_DEVICE_TOOLBOX  3.12.1 (ADTF 3.18.3)
tECUConfig

ECU FlexRay communication controller configuration from FIBEX. More...

Public Attributes

int32_t nAllowHaltDueToClock
 Controls the transition to HALT state due to a clock synchronization error. More...
 
int32_t nAllowPassiveToActive
 Defines the number of consecutive even / odd cycle pairs that must have valid clock correction terms before the CC is allowed to transit from NORMAL_PASSIVE to NORMAL_ACTIVE state. More...
 
int32_t nChannels
 Selects the channel on which the CC is connected. More...
 
int32_t nClusterDriftDamping
 Configures the cluster drift damping value used in clock synchronization to minimize accumulation of rounding errors. More...
 
int32_t nDecodingCorrection
 Configures the decoding correction value used to determine the primary time reference point. More...
 
int32_t nDelayCompensationA
 Configuration to compensate the reception delays on channel A in microticks. More...
 
int32_t nDelayCompensationB
 Configuration to compensate the reception delays on channel B in microticks. More...
 
int32_t nExternOffsetCorrection
 Configures the external offset correction value in microticks to be applied by the internal clock synchronization algorithm. More...
 
int32_t nExternRateCorrection
 Configures the external rate correction value in microticks to be applied by the internal clock synchronization algorithm. More...
 
int32_t nKeySlotUsedForStartup
 Defines whether the key slot is used to transmit startup frames.
 
int32_t nKeySlotUsedForSync
 Defines whether the key slot is used to transmit sync frames.
 
int32_t nLatestTx
 Configures the maximum minislot value allowed before inhibiting frame transmission in the dynamic segment of the cycle. More...
 
int32_t nMacroInitialOffsetA
 Configures the number of macroticks between the static slot boundary and the subsequent macrotick boundary of the secondary time reference point based on the nominal macrotick duration. More...
 
int32_t nMacroInitialOffsetB
 Configures the number of macroticks between the static slot boundary and the subsequent macrotick boundary of the secondary time reference point based on the nominal macrotick duration. More...
 
int32_t nMaxPayloadLengthDynamic
 Not used.
 
int32_t nMicroInitialOffsetA
 Configures the number of microticks between the actual time reference point on channel A and the subsequent macrotick boundary of the secondary time reference point. More...
 
int32_t nMicroInitialOffsetB
 Configures the number of microticks between the actual time reference point on channel B and the subsequent macrotick boundary of the secondary time reference point. More...
 
int32_t nMicroPerCycle
 Configures the duration of the FlexRay communication cycle in microticks. More...
 
int32_t nMicroPerMacroNom
 Not used.
 
int32_t nOffsetCorrectionOut
 Defines the maximum permitted offset correction value to be applied by the internal clock synchronization algorithm (absolute value). More...
 
int32_t nRateCorrectionOut
 Defines the maximum permitted rate correction value to be applied by the internal clock synchronization algorithm. More...
 
int32_t nSamplesPerMicrotick
 Has to be 0.
 
int32_t nSingleSlotEnabled
 Selects the initial transmission slot mode. More...
 
int32_t nWakeupChannel
 Selects the channel on which the CC sends the Wakeup pattern. More...
 
int32_t nWakeupPattern
 Configures the number of repetitions (sequences) of the Tx wakeup symbol. More...
 
int32_t nAcceptedStartupRange
 Configures the number of microticks constituting the expanded range of measured deviation for startup frames during integration. More...
 
int32_t nListenTimeout
 Configures wakeup / startup listen timeout in uT. More...
 
int32_t nMaxDrift
 Configures the maximum drift offset between two nodes that operate with unsynchronized clocks over one FlexRay communication cycle in micorticks. More...
 
float fMicrotick
 Not used.
 
int32_t nExternOffsetControl
 Configures the external offset correction. More...
 
int32_t nExternRateControl
 Configures the external rate correction. More...
 
int32_t nChannelsMTS
 Selects the channel on which the CC sends a media test symbol. More...
 

Detailed Description

ECU FlexRay communication controller configuration from FIBEX.

Definition at line 185 of file flexray_database_intf.h.

Member Data Documentation

◆ nAcceptedStartupRange

int32_t nAcceptedStartupRange

Configures the number of microticks constituting the expanded range of measured deviation for startup frames during integration.

Valid values are 0 to 1875 uT.

Definition at line 276 of file flexray_database_intf.h.

◆ nAllowHaltDueToClock

int32_t nAllowHaltDueToClock

Controls the transition to HALT state due to a clock synchronization error.

Valid values are 0 to 1. If a clock sync error occurred the CC will enter HALT state or enter/remain in NORMAL_PASSIVE state.

Definition at line 190 of file flexray_database_intf.h.

◆ nAllowPassiveToActive

int32_t nAllowPassiveToActive

Defines the number of consecutive even / odd cycle pairs that must have valid clock correction terms before the CC is allowed to transit from NORMAL_PASSIVE to NORMAL_ACTIVE state.

If set to 0 the CC is not allowed to transit from NORMAL_PASSIVE to NORMAL_ACTIVE state. Valid values are 0 to 31 even / odd cycle pairs.

Definition at line 196 of file flexray_database_intf.h.

◆ nChannels

int32_t nChannels

Selects the channel on which the CC is connected.

Valid values are the defines FLEXRAY_CHANNEL_A, FLEXRAY_CHANNEL_B and FLEXRAY_CHANNEL_AB.

Definition at line 199 of file flexray_database_intf.h.

◆ nChannelsMTS

int32_t nChannelsMTS

Selects the channel on which the CC sends a media test symbol.

Valid values are the defines FLEXRAY_CHANNEL_A, FLEXRAY_CHANNEL_B and FLEXRAY_CHANNEL_AB.

Definition at line 300 of file flexray_database_intf.h.

◆ nClusterDriftDamping

int32_t nClusterDriftDamping

Configures the cluster drift damping value used in clock synchronization to minimize accumulation of rounding errors.

Valid values are 0 to 20 uT.

Definition at line 202 of file flexray_database_intf.h.

◆ nDecodingCorrection

int32_t nDecodingCorrection

Configures the decoding correction value used to determine the primary time reference point.

Valid values are 14 to 143 uT.

Definition at line 205 of file flexray_database_intf.h.

◆ nDelayCompensationA

int32_t nDelayCompensationA

Configuration to compensate the reception delays on channel A in microticks.

Valid values are 0 to 200 uT.

Definition at line 208 of file flexray_database_intf.h.

◆ nDelayCompensationB

int32_t nDelayCompensationB

Configuration to compensate the reception delays on channel B in microticks.

Valid values are 0 to 200 uT.

Definition at line 211 of file flexray_database_intf.h.

◆ nExternOffsetControl

int32_t nExternOffsetControl

Configures the external offset correction.

Valid values are 0 to 3. Value 0 and 1 means no external offset correction is used. Value 2 means the external offset correction value will be subtracted from calculated offset correction value. Value 3 means the external offset correction value will be added to calculated offset correction value.

Definition at line 291 of file flexray_database_intf.h.

◆ nExternOffsetCorrection

int32_t nExternOffsetCorrection

Configures the external offset correction value in microticks to be applied by the internal clock synchronization algorithm.

The value is subtracted or added to the calculated offset correction value. Valid values are 0 to 7 uT.

Definition at line 215 of file flexray_database_intf.h.

◆ nExternRateControl

int32_t nExternRateControl

Configures the external rate correction.

Valid values are 0 to 3. Value 0 and 1 means no external rate correction is used. Value 2 means the external rate correction value will be subtracted from calculated rate correction value. Value 3 means the external rate correction value will be added to calculated rate correction value.

Definition at line 297 of file flexray_database_intf.h.

◆ nExternRateCorrection

int32_t nExternRateCorrection

Configures the external rate correction value in microticks to be applied by the internal clock synchronization algorithm.

The value is subtracted or added to the calculated rate correction value. Valid values are 0 to 7 uT.

Definition at line 219 of file flexray_database_intf.h.

◆ nLatestTx

int32_t nLatestTx

Configures the maximum minislot value allowed before inhibiting frame transmission in the dynamic segment of the cycle.

Valid values are 0 to 7981 minislots. There is no transmission in dynamic segment if is set to 0.

Definition at line 227 of file flexray_database_intf.h.

◆ nListenTimeout

int32_t nListenTimeout

Configures wakeup / startup listen timeout in uT.

Valid values are 1284 to 1283846.

Definition at line 279 of file flexray_database_intf.h.

◆ nMacroInitialOffsetA

int32_t nMacroInitialOffsetA

Configures the number of macroticks between the static slot boundary and the subsequent macrotick boundary of the secondary time reference point based on the nominal macrotick duration.

Valid values are 2 to 72 MT.

Definition at line 231 of file flexray_database_intf.h.

◆ nMacroInitialOffsetB

int32_t nMacroInitialOffsetB

Configures the number of macroticks between the static slot boundary and the subsequent macrotick boundary of the secondary time reference point based on the nominal macrotick duration.

Valid values are 2 to 72 MT.

Definition at line 235 of file flexray_database_intf.h.

◆ nMaxDrift

int32_t nMaxDrift

Configures the maximum drift offset between two nodes that operate with unsynchronized clocks over one FlexRay communication cycle in micorticks.

Valid values are 2 to 1923 uT.

Definition at line 283 of file flexray_database_intf.h.

◆ nMicroInitialOffsetA

int32_t nMicroInitialOffsetA

Configures the number of microticks between the actual time reference point on channel A and the subsequent macrotick boundary of the secondary time reference point.

Valid values are 0 to 240 uT.

Definition at line 241 of file flexray_database_intf.h.

◆ nMicroInitialOffsetB

int32_t nMicroInitialOffsetB

Configures the number of microticks between the actual time reference point on channel B and the subsequent macrotick boundary of the secondary time reference point.

Valid values are 0 to 240 uT.

Definition at line 245 of file flexray_database_intf.h.

◆ nMicroPerCycle

int32_t nMicroPerCycle

Configures the duration of the FlexRay communication cycle in microticks.

Valid values are 640 to 640000 uT.

Definition at line 248 of file flexray_database_intf.h.

◆ nOffsetCorrectionOut

int32_t nOffsetCorrectionOut

Defines the maximum permitted offset correction value to be applied by the internal clock synchronization algorithm (absolute value).

The CC checks only the internal offset correction value against the maximum offset correction value. Valid values are 5 to 15266 uT.

Definition at line 255 of file flexray_database_intf.h.

◆ nRateCorrectionOut

int32_t nRateCorrectionOut

Defines the maximum permitted rate correction value to be applied by the internal clock synchronization algorithm.

The CC checks only the internal rate correction value against the maximum rate correction value (absolute value). Valid values are 2 to 1923 uT.

Definition at line 260 of file flexray_database_intf.h.

◆ nSingleSlotEnabled

int32_t nSingleSlotEnabled

Selects the initial transmission slot mode.

Valid values are 0 to 1. In SINGLE slot mode the CC may only transmit the configured sync-frame message. In ALL slot mode the CC may transmit all configure Tx frames.

Definition at line 266 of file flexray_database_intf.h.

◆ nWakeupChannel

int32_t nWakeupChannel

Selects the channel on which the CC sends the Wakeup pattern.

Valid values are the defines FLEXRAY_CHANNEL_A and FLEXRAY_CHANNEL_B

Definition at line 269 of file flexray_database_intf.h.

◆ nWakeupPattern

int32_t nWakeupPattern

Configures the number of repetitions (sequences) of the Tx wakeup symbol.

Valid values are 2 to 63.

Definition at line 272 of file flexray_database_intf.h.