Data Dictionary


Overview

Change Log
Variable Dictionary
Calibration Dictionary
Global Constants
Template
Help


Sheet 1: Change Log

TuningSelectAuthority - Rev 4<- Global Program / Module Name


RevisionAuthorDateChange Description

Data Dictionary Type:Component
1.0VK3-Jul-12Initial Creation (stub)



2VK12-Jul-12Updates to add FDD referance name



3LWW28-Jul-12Changes to add new design



4LWW3-Aug-12Updates to I/O




































































































































































































































































































































Sheet 2: Variable Dictionary

TuningSelectAuthority - Rev 4

IOMDN
Variable Information

YN










Range











Software Variable NameStandard Reference NameFDD ReferenceDescription[I]nput [O]uput [M]oduleInternal [D]isplay [N]onVolatileMemory UsageOEM1X, 1Y, 1Z, 1I, 1BS 2X, 2Y, 2Z, 2I, 2BS etc Graph SettingsInitalization ValueMinMaxResolutionUnit Test Tolerance (+/-)UnitsTypeMemory Segment






Variables




















HwTorque_HwNm_f32Hw_Torque
Handwheel torque measured inputIN
0-1010Single Precision Float
HwNmfloat32







VehicleSpeed_Kph_f32Vehicle_Speed
Conditioned vehicle speed from serial communications busIN
00511Single Precision Float
Kphfloat32







DesiredTunPers_Cnt_u16DesiredTunPers

IN
001001
Cntuint16







DesiredTunSet_Cnt_u16DesiredTunSet

IN
001001
Cntuint16







TunPer_Ptr_Str
SF23 TuningSelectAuthority
ON
0FULLFULL10.00E+00CntTUNING_P_Str*







TunSet_Ptr_Str
SF23 TuningSelectAuthority
ON
0FULLFULL10.00E+00CntTUNING_Y_Str*







ActiveTunPers_Cnt_u16ActiveTunPersSF23 TuningSelectAuthority
ON
0010010.00E+00Cntuint16







ActiveTunSet_Cnt_u16ActiveTunSetSF23 TuningSelectAuthority
ON
0010010.00E+00Cntuint16







HwTrqLPFiltSV_HwNm_M_strHwTrqLPFiltSVSF23 TuningSelectAuthority
MN
{0,0}

Single Precision Float{SV: 7.81E-03, K: 1.52E-05}HwNmLPF32KSV







PrevTunSet_Cnt_M_u16
SF23 TuningSelectAuthority
MN
0010010.00E+00Cntuint16







PrevTunPers_Cnt_M_u16
SF23 TuningSelectAuthority
MN
0010010.00E+00Cntuint16






































































































































































































































































































































































































































































































































































































































































Sheet 3: Calibration Dictionary

TuningSelectAuthority - Rev 4


N
Calibration InformationAchieved in Software Design



Y








Range





P
Software Calibration NameStandard Reference NameFDD ReferenceDescriptionTuning SetOEM1X, 1Y, 1Z, 1I, 1BS 2X, 2Y, 2Z, 2I, 2BS etc Graph SettingsDefault ValueMinMaxUnitsTypeMemory Segment



Calibrations















k_TunSelHwTrqLPFKn_Hz_f32TunSel_k_HwTrqLPFKn_HzSF23 TuningSelectAuthorityLow pass filter cutoff frequencyNN
5150Hzfloat32




k_TunSelHwTrqThresh_HwNm_f32TunSel_k_HwTrqThresh_HwNmSF23 TuningSelectAuthorityHandwheel torque threshold valueNN
2010HwNmfloat32




k_TunSelVehSpdThresh_Kph_f32TunsSel_k_VehSpdThresh_KphSF23 TuningSelectAuthorityVehicle speed threshold valueNN
1000255Kphfloat32





Sheet 4: Global Constants

TuningSelectAuthority - Rev 4








































































Variable Information (Global Variables Only)

Achieved in Software DesignUsed in Module List





Layer 2Layer 3Layer 4Layer 5
Constant NameDescriptionUintsTypeEngineering ValueADCADC DiagnosticsData Memory VerificationDC Link Power ControlDSP Computational IntegrityDSP SPI driverEvent Manager DriverExternal Memory DriverFlash Programming ExecGPIOIllegal OpCode HandlerInterrupt HandlerMotor Current DriverMotor Driver DiagnosticsMotor Position DriverPhase Feedback CapturePowerdown ControlPrimary Shutdown ControlProgram FlowProgram Memory DiagnosticPWM Duty CycleRedundant Memory CheckRedundant Rapid ShutdownSchedulerStack MonitorState Dependent Task ListSystem Boot & StartupSystem ControlTemperature Sensor DiagnosticUnused Interrupt HandlerUtilization MonitorWatchdog DirverSmithBattery VoltageBattery Voltage DiagnosticsDiagnostic CTC ManagerDiagnostic ManagerDiagnostics Application ServicesEOL TorqueTestFlash Boot LoaderFlight RecorderHandwheel PositionHandwheel TorqueMotor Control Output ConversionMotor Position DiagnosticsMotor Position InitializationMotor VelocityMotor Velocity TachometerSerial Communications I/OSerial Communications ServicesStates and ModesTuning SelectVehicle Power ModeVehicle SpeedController PolarityCurrent EstimationHandwheel VelocityInverse Motor ModelMotor Temperature EstimationMotor Torque LimitOutput Reasonableness DianosticParameter EstimationQuadrant and rate DetectionActive Pull CompensationAssistDampingDuty CycleKinematic Integrity DiagnosticLong Term Vehicle Speed DiagnosticMax Assist LimitReturnState Output ControlTorque Output
D_TRUE_CNT_LGC
Countsboolean1








































































D_FALSE_CNT_LGC
Countsboolean0



































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































Sheet 5: Template

2.2aData File:












Header:extern <TYPE><TAB><NAME>;









Source:#pragma DATA_SECTION(<ROOTNAME>, "<SEGMENT>");
<TYPE> <NAME>;










EOL Constants:












Header:extern <TYPE><TAB><NAME>;









Source:#pragma DATA_SECTION(<ROOTNAME>, "<SEGMENT>");
<TYPE> <NAME>;










Global (Embedded) Constants:












Header:#define <NAME><COL40><VALUE>









A2L Name












Measurement:rte_<SWC>_<NAME>









Calibration Constants:












Tuning ID:



















Tuning:NIndex Range:










Header:extern CONST(<AUTOSAR_TYPE>, CAL_CONST) <NAME>;









Source:#pragma DATA_SECTION(<ROOTNAME>, ".<SEGMENT>");
CONST(<AUTOSAR_TYPE>, CAL_CONST) <NAME> = <VALUE>;










eCal:<NAME>























Tuning:YIndex Range:










Header:extern CONST(<AUTOSAR_TYPE>, CAL_CONST) <NAME>;









Source:#pragma DATA_SECTION(<ROOTNAME>, ".<SEGMENT>");
CONST(<AUTOSAR_TYPE>, CAL_CONST) <NAME> = <VALUE>;










eCal:<NAME>























Tuning:PIndex Range:










Header:extern CONST(<AUTOSAR_TYPE>, CAL_CONST) <NAME>;









Source:#pragma DATA_SECTION(<ROOTNAME>, ".<SEGMENT>");
CONST(<AUTOSAR_TYPE>, CAL_CONST) <NAME> = <VALUE>;










eCal:<NAME>
















Sheet 6: Help

Short cutMacroSescription
Ctrl-qClearDataDictFilterWill clear all autofilters on the Global Data Dictionary




DFD_CreateCreates a Series of Data Flow Worksheet Pages from the information in the data dictionary. If Data Flow Worksheet pages already exist, they will be deleted first.

DFD_DeleteWill clear all Data Flow Diagram pages from the Data Dictionary. This will make the file smaller for archiving.

DFD_PrintFormate and prepares to print the Data Flow Worksheet pages.
Last modified October 12, 2025: Initial commit (0347a62)