1 - Data Dictionary


Overview

Change Log
Variable Dictionary
Calibration Dictionary
Global Constants
Template
Help


Sheet 1: Change Log

SVDiag - Rev 9<- Global Program / Module Name


RevisionAuthorDateChange Description

Data Dictionary Type:Component
1.0OT19-Sep-12Initial Component Version



2SP15-Mar-13Updated to FDD V003



4,5Selva8-May-13Updated Display variable LRPR low and high limit



6LWW17-May-13Updated range on GenGateDrv fault accumulator and threshold cal



7Selva27-Jun-13Updated to FDD V004 and FDD V005



8VT12-Aug-13Updated range of variable Max Number of CommOffset, per unit test results



9VT3-Oct-13Update module and display variables with SVDiag












































































































































































































































































































Sheet 2: Variable Dictionary

SVDiag - Rev 9














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



















MtrDrvrInitStart_Cnt_lgc
FDD49 SineVoltageGenerationDiagnostics
I

001n/a
Countsboolean






VswitchClosed_Cnt_lgcEn_Relay_ClosedFDD49 SineVoltageGenerationDiagnostics
I

001n/a
Countsboolean






FETFaultPhase_Cnt_enum
FDD49 SineVoltageGenerationDiagnostics
O

00310.00E+00Countsuint8






FETFaultType_Cnt_enum
FDD49 SineVoltageGenerationDiagnostics
O

00210.00E+00Countsuint8






MtrDrvrInitComplete_Cnt_lgcMtrDrvrInit_CompleteFDD49 SineVoltageGenerationDiagnostics
O

001n/an/aCountsboolean






SVDiag_MtrDrvInitStartTime_mS_M_u32p0
FDD49 SineVoltageGenerationDiagnostics
M

00429496729511.00E+00mSuint32






SVDiag_ResetWaitLoop_Cnt_M_lgc
FDD49 SineVoltageGenerationDiagnostics
M

001n/an/aCountsboolean






SVDiag_MtrDrvInitActive_Cnt_M_lgc
FDD49 SineVoltageGenerationDiagnostics
M

001n/an/aCountsboolean






SVDiag_MtrDrvInitComp_Cnt_M_lgc
FDD49 SineVoltageGenerationDiagnostics
M

001n/an/aCountsboolean






SVDiag_GateDriveFltAcc_Cnt_M_u16
FDD49 SineVoltageGenerationDiagnostics
M

006553511.00E+00Countsuint16






SVDiag_GenGateDriveFltAcc_Cnt_M_u16
FDD49 SineVoltageGenerationDiagnostics
M

0020011.00E+00Countsuint16






SVDiag_OnStateFltAcc_Cnt_M_u16
FDD49 SineVoltageGenerationDiagnostics
M

006553511.00E+00Countsuint16






SVDiag_FETFaultType_Cnt_M_enum
FDD49 SineVoltageGenerationDiagnostics
M

00210.00E+00Countsuint8






SVDiag_FETFaultPhase_Cnt_M_enum
FDD49 SineVoltageGenerationDiagnostics
M

00310.00E+00Countsuint8






SVDiag_GateDrvFltSts_Cnt_D_b16FET_DiagStsFDD49 SineVoltageGenerationDiagnostics
D

006553510.00E+00Countsuint16






ExpectedOnTimeA_Cnt_u32ExpectedOnTime_AFDD49 SineVoltageGenerationDiagnosticsExpected On TimeIN
002000001Countsuint32uint32






ExpectedOnTimeB_Cnt_u32ExpectedOnTime_BFDD49 SineVoltageGenerationDiagnosticsExpected On TimeIN
002000001Countsuint32uint32






ExpectedOnTimeC_Cnt_u32ExpectedOnTime_CFDD49 SineVoltageGenerationDiagnosticsExpected On TimeIN
002000001Countsuint32uint32






MeasuredOnTimeA_Cnt_u32MeasuredOnTime_AFDD49 SineVoltageGenerationDiagnosticsMeasured On TimeIN
002000001Countsuint32uint32






MeasuredOnTimeB_Cnt_u32MeasuredOnTime_BFDD49 SineVoltageGenerationDiagnosticsMeasured On TimeIN
002000001Countsuint32uint32






MeasuredOnTimeC_Cnt_u32MeasuredOnTime_CFDD49 SineVoltageGenerationDiagnosticsMeasured On TimeIN
002000001Countsuint32uint32






SVDiag_FilterSV_Cnt_M_s18p13[3]n/aFDD49 SineVoltageGenerationDiagnosticsLPF State Variable for each phaseMN
-2621362621360.00012218.00E+00Countss18p13_Ts18p13_T






SVDiag_HighResPhsReasDisable_M_u8HighResPhsReasDisableFDD49 SineVoltageGenerationDiagnosticsDelay counter for HighRes Phase ReasonablenessMN
0010011Countsuint8






SVDiag_LowResPhsReasDisable_M_u8LowResPhsReasDisableFDD49 SineVoltageGenerationDiagnosticsDelay counter for LowRes Phase ReasonablenessMN
0010011Countsuint8






PDActivateTest_Cnt_T_lgcPDActivateTestFDD49 SineVoltageGenerationDiagnostics
IN
001n/a
Countsboolean






SVDiag_LRPRHighLimit_Cnt_D_f32[3]LRPRHighLimitFDD49 SineVoltageGenerationDiagnostics
DN
00160000single precision float1.00E+00Countsfloat32






SVDiag_LRPRLowLimit_Cnt_D_f32[3]LRPRLowLimitFDD49 SineVoltageGenerationDiagnostics
DN
00160000single precision float1.00E+00Countsfloat32






SVDiag_MaxNrCommOffVltg_Cnt_M_f32
FDD49 SineVoltageGenerationDiagnostics
MN
0086400single precision float1.00E+00Countsfloat32






LRPRCorrectedMtrPosCaptured_rev_u0p16
FDD49 SineVoltageGenerationDiagnostics
IN
0010.0000152587890625
Revu0p16_T






LRPRPhaseadvanceCaptured_Cnt_s16
FDD49 SineVoltageGenerationDiagnostics
IN
0-153615361
Countssint16






LRPRModulationIndexCaptured_Uls_f32
FDD49 SineVoltageGenerationDiagnostics
IN
0-110.0000152587890625
Ulsfloat32







Sheet 3: Calibration Dictionary

SVDiag - Rev 9


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
FDD49 SineVoltageGenerationDiagnostics













k_OnStateDiag_Cnt_str
FDD49 SineVoltageGenerationDiagnostics
NN
{1500, 512, 1}


DiagSettings_Str




k_OnStateDiag_Cnt_str.Threshold
FDD49 SineVoltageGenerationDiagnostics
NN
1500065535Counts





k_OnStateDiag_Cnt_str.PStep
FDD49 SineVoltageGenerationDiagnostics
NN
512065535Counts





k_OnStateDiag_Cnt_str.NStep
FDD49 SineVoltageGenerationDiagnostics
NN
1065535Counts





k_GateDriveDiag_Cnt_str
FDD49 SineVoltageGenerationDiagnostics
NN
{1500, 512, 1}


DiagSettings_Str




k_GateDriveDiag_Cnt_str.Threshold
FDD49 SineVoltageGenerationDiagnostics
NN
1500065535Counts





k_GateDriveDiag_Cnt_str.PStep
FDD49 SineVoltageGenerationDiagnostics
NN
512065535Counts





k_GateDriveDiag_Cnt_str.NStep
FDD49 SineVoltageGenerationDiagnostics
NN
1065535Counts





k_GenGateDrvFltThrsh_Cnt_u16
FDD49 SineVoltageGenerationDiagnostics
NN
2000200Countsuint16




k_GateDrvInitDwellTime_mS_u16p0
FDD49 SineVoltageGenerationDiagnostics
NN
100255mSuint16




k_PhsReasErrorTerm_Cnt_s16k_PhsReasErrorTermFDD49 SineVoltageGenerationDiagnosticsKnown divergence between measured and expectedNN
0-1000010000Countssint16




k_ErrorFiltKn_Cnt_u16k_ErrorFiltKnFDD49 SineVoltageGenerationDiagnosticsTau of error filterNN
1462065535Countsuint16




k_ErrorThresh_Cnt_u32k_ErrorThreshFDD49 SineVoltageGenerationDiagnosticsError Threshold (compared to absolute sum)NN
144000200000Countsuint32




k_PhsReasEnableThresh_Cnt_u32k_PhsReasEnableThreshFDD49 SineVoltageGenerationDiagnosticsThreshold below which the phase reasonableness diagnostic is enabledNN
57600200000Countsuint32




k_PhsReasErrorTerm_Cnt_s16k_PhsReasErrorTermFDD49 SineVoltageGenerationDiagnosticsKnown divergence between measured and expectedNN
0-1000010000Countssint16




k_ErrorFiltKn_Cnt_u16k_ErrorFiltKnFDD49 SineVoltageGenerationDiagnosticsTau of error filterNN
1462065535Countsuint16




k_ErrorThresh_Cnt_u32k_ErrorThreshFDD49 SineVoltageGenerationDiagnosticsError Threshold (compared to absolute sum)NN
144000200000Countsuint32




k_PhsReasEnableThresh_Cnt_u32k_PhsReasEnableThreshFDD49 SineVoltageGenerationDiagnosticsThreshold below which the phase reasonableness diagnostic is enabledNN
57600200000Countsuint32




k_LowResPhsReas_Cnt_str
FDD49 SineVoltageGenerationDiagnosticsFault Accumulation parametersNN
{100,1,500}


DiagSettings_Str




k_LowResPhsReas_Cnt_str.Pstepk_LowResPhsReas_PstepFDD49 SineVoltageGenerationDiagnosticsFault Accumulation parametersNN
10001000Counts





k_LowResPhsReas_Cnt_str.NStepk_LowResPhsReas_NstepFDD49 SineVoltageGenerationDiagnosticsFault Accumulation parametersNN
101000Counts





k_LowResPhsReas_Cnt_str.Thresholdk_LowResPhsReas_ThresholdFDD49 SineVoltageGenerationDiagnosticsFault Accumulation parametersNN
50001000Counts





k_LowResPhsReasMaxTol_Uls_f32k_LowResPhsReas_MaxTolFDD49 SineVoltageGenerationDiagnosticsMaximum Tolerance factorNN
1.202Ulsfloat32




k_LowResPhsReasMinTol_Uls_f32k_LowResPhsReas_MinTolFDD49 SineVoltageGenerationDiagnosticsMin imum Tolrance factorNN
0.402Ulsfloat32




k_LRPRMtrVelDiagEnable_MtrRadpS_T_f32k_LowResPhsReasMtrVelDiagEnableFDD49 SineVoltageGenerationDiagnosticsMotor ve;locity required for disbale diagnosticsNN
30001000MtrRadpSfloat32




t_CommOffsetTblY_Cnt_u16[2]t_CommOffsetTblYFDD49 SineVoltageGenerationDiagnostics
NN
{63,0}

Countsuint16




k_LRPRCommOffsetMargin_Uls_f32k_LowResPhsReas_CommOffsetMarginFDD49 SineVoltageGenerationDiagnostics
NN
1.050.81.2Ulsfloat32





Sheet 4: Global Constants

SVDiag - Rev 9








































































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























































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































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:<NONCRITICAL>
#define <ROOTNAME><TAB>k_N_CalNC_Cnt_Str.<ROOTNAME>
<NONCRITICAL>
<SAFETYCRITICAL>
#define <ROOTNAME><TAB>k_S_CalSC_Cnt_Str.<ROOTNAME>
<SAFETYCRITICAL>










Source:










eCal:<NONCRITICAL>
k_N_CalNC_Cnt_Str.<ROOTNAME>
<NONCRITICAL>
<SAFETYCRITICAL>
k_S_CalSC_Cnt_Str.<ROOTNAME>
<SAFETYCRITICAL>
























Tuning:PIndex Range:










Header:<NONCRITICAL>
#define <ROOTNAME><TAB>k_N_CalNC_Cnt_Str.Personality[L3_S_CalPersSelect_Cnt_G_u16].<ROOTNAME>
<NONCRITICAL>
<SAFETYCRITICAL>
#define <ROOTNAME><TAB>k_S_CalSC_Cnt_Str.SC_Personality[L3_S_CalPersSelect_Cnt_G_u16].<ROOTNAME>
<SAFETYCRITICAL>










Source:










eCal:<NONCRITICAL>
k_N_CalNC_Cnt_Str.Personality[L3_S_CalPersSelect_Cnt_G_u16].<ROOTNAME>
<NONCRITICAL>
<SAFETYCRITICAL>
k_S_CalSC_Cnt_Str.SC_Personality[L3_S_CalPersSelect_Cnt_G_u16].<ROOTNAME>
<SAFETYCRITICAL>

















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.

2 - DigPhsReasDiag_MDD

Module --

High-Level Description

This module compares the commanded duty cycle to each phase with the feedback from the NHET module. The values are compared, compensated with a previously defined fixed value, filtered, and compared against a valid threshold.

Figures

Component Diagram

Diagram – Function Data Sharing

No Shared Data.


Variable Data Dictionary

For details on module input / output variable, refer to the Data Dictionary for the application. Input / output variable names are listed here for reference.

Module InputsModule Outputs
ExpectedOnTimeA_Cnt_u32
ExpectedOnTimeB_Cnt_u32
ExpectedOnTimeC_Cnt_u32
MeasuredOnTimeA_Cnt_u32
MeasuredOnTimeB_Cnt_u32
MeasuredOnTimeC_Cnt_u32
LRPRCorrectedMtrPosCaptured_rev_u0p16
LRPRPhaseadvanceCaptured_Cnt_s16
LRPRModulationIndexCaptured_Uls_f32
MotorVelMRFUnfiltered_MtrRadpS_f32
ElecMechPolarity_Cnt_s08
PDActivateTest_Cnt_lgc

Module Internal Variables

This section identifies the name, range and resolutions for module specific data created by this module. If there are no range restrictions on the variable, the term “FULL” is placed into the table for legal range.

Variable NameResolution

Legal Range

(min)

Legal Range

(max)

Software Segment
SVDiag_FilterSV_Cnt_M_s18p13[3]2-13-210000210000DIGPHSREASDIAG_START_SEC_VAR_CLEARED_32
SVDiag_PrevLRPRHighSector_Cnt_M_lgcN/AFALSETRUEDIGPHSREASDIAG_START_SEC_VAR_CLEARED_BOOLEAN
SVDiag_LRPRHighSector_Cnt_M_lgcN/AFALSETRUEDIGPHSREASDIAG_START_SEC_VAR_CLEARED_BOOLEAN
SVDiag_PrevLRPRLowSector_Cnt_M_lgcN/AFALSETRUEDIGPHSREASDIAG_START_SEC_VAR_CLEARED_BOOLEAN
SVDiag_LRPRLowSector_Cnt_M_lgcN/AFALSETRUEDIGPHSREASDIAG_START_SEC_VAR_CLEARED_BOOLEAN
SVDiag_LRPRAdjModldAComp_Cnt_M_f32Single precision float01DIGPHSREASDIAG_START_SEC_VAR_CLEARED_FLOAT32
SVDiag_PrevLRPRAdjModldComp_Cnt_M_f32Single precision float01DIGPHSREASDIAG_START_SEC_VAR_CLEARED_32
SVDiag_PrevLRPRPhsAdvComp_Cnt_M_u16106144DIGPHSREASDIAG_START_SEC_VAR_CLEARED_16
SVDiag_LRPRPhsAdvComp_Cnt_M_u16106144DIGPHSREASDIAG_START_SEC_VAR_CLEARED_16
SVDiag_PhaseOffset_Rev_M_u0p162-1601DIGPHSREASDIAG_START_SEC_VAR_CLEARED_16
SVDiag_LowPhReasErrorAcc_Cnt_M_u16101000DIGPHSREASDIAG_START_SEC_VAR_CLEARED_16
SVDiag_HighResPhsReasDisable_M_u810100DIGPHSREASDIAG_START_SEC_VAR_CLEARED_8
SVDiag_LowResPhsReasDisable_M_u810100DIGPHSREASDIAG_START_SEC_VAR_CLEARED_8
SVDiag_MaxNrCommOffVltg_Cnt_M_f32Single precision float086400DIGPHSREASDIAG_START_SEC_VAR_CLEARED_FLOAT32
SVDiag_LRPRHighLimit_Cnt_D_f32[3]Single precision float0160000DIGPHSREASDIAG_START_SEC_VAR_CLEARED_FLOAT32
SVDiag_LRPRLowLimit_Cnt_D_f32[3]Single precision float0160000DIGPHSREASDIAG_START_SEC_VAR_CLEARED_FLOAT32

User defined typedef definition/declaration

This section documents any user types uniquely used for the module.

Typedef NameElement NameUser Defined Type

Legal Range

(min)

Legal Range

(max)

Constant Data Dictionary

Calibration Constants

This section lists the calibrations used by the module. For details on calibration constants, refer to the Data Dictionary for the application.

Constant Name
k_PhsReasErrorTerm_Cnt_s16
k_ErrorFiltKn_Cnt_u16
k_ErrorThresh_Cnt_u32
k_PhsReasEnableThresh_Cnt_u32
k_LRPRMtrVelDiagEnable_MtrRadpS_T_f32
k_LowResPhsReas_Cnt_str
k_LowResPhsReasMinTol_Uls_f32
k_LowResPhsReasMaxTol_Uls_f32
t_CommOffsetTblY_Cnt_u16
k_LRPRCommOffsetMargin_Uls_f32

The time constant for the filter is analyzed in the following filter analysis workbook:

Program(fixed) Constants

Embedded Constants

All embedded constants whose values are provided in Eng units will be evaluated to the equivalent counts by using the FPM_InitFixedPoint_m() macro within the #define statement.

Local

Constant NameResolutionUnitsValue
D_ERRORLIMIT_CNT_S328Counts262136
D_PHASEA_CNT_U161Counts0
D_PHASEB_CNT_U161Counts1
D_PHASEC_CNT_U161Counts2
D_RESETDIGDIAGACTIVE_CNT_U081Counts0x00U
D_LRPHSREASLOOPRATE_CNT_F321Counts0.002F
D_ERRORLIMIT_CNT_S321Counts262136L/*2^18-8==262136*/
D_PHASEA_CNT_U161Counts0U
D_PHASEB_CNT_U161Counts1U
D_PHASEC_CNT_U161Counts2U
D_NHETFREQUENCY_HZ_F32Single precision floatCounts80000000.0F
D_NHETCTSPERLRPRLOOP_CNT_F32Single precision floatCounts(D_NHETFREQUENCY_HZ_F32*D_LRPHSREASLOOPRATE_CNT_F32)
D_MAXPWMFREQ_HZ_U32Single precision floatCounts18000
D_MAXNRCOMMOFFVLTG_CNT_F32Single precision floatCounts(D_LRPHSREASLOOPRATE_CNT_F32*D_MAXPWMFREQ_CNT_F32*t_CommOffsetTblY_Cnt_u16[0])
D_PHSADVCNTSPERREV_CNT_U161Counts6144U
D_PHSADVCNTS180DEG_CNT_U161Counts3072U/*(D_PHSADVCNTSPERREV_CNT_S16/2U)*/
D_PHSPOSADVCNTS90DEG_CNT_U161Counts1536U/*(D_PHSADVCNTSPERREV_CNT_S16/4U)*/
D_PHSNEGADVCNTS90DEG_CNT_S161Counts-1536/*(-D_PHSADVCNTSPERREV_CNT_S16/4U)*/
D_0DEG_REV_U0P161rev(FPM_InitFixedPoint_m(0.0,u0p16_T))
D_30DEG_REV_U0P161rev(FPM_InitFixedPoint_m(0.0833333333,u0p16_T))
D_60DEG_REV_U0P161rev(FPM_InitFixedPoint_m(0.1666666666,u0p16_T))
D_240DEG_REV_U0P161rev(FPM_InitFixedPoint_m(0.6666666666,u0p16_T))
D_120DEG_REV_U0P161rev(FPM_InitFixedPoint_m(0.3333333333,u0p16_T))
D_180DEG_REV_U0P161rev(FPM_InitFixedPoint_m(0.5,u0p16_T))
D_PHASEAOFFSETNRM_REV_U0P162-16revD_0DEG_REV_U0P16
D_PHASEBOFFSETNRM_REV_U0P162-16rev((uint16)(D_PHASEAOFFSETNRM_REV_U0P16-D_120DEG_REV_U0P16))
D_PHASECOFFSETNRM_REV_U0P162-16rev(D_PHASEAOFFSETNRM_REV_U0P16+D_120DEG_REV_U0P16)
D_PHASEAOFFSETINV_REV_U0P162-16revD_60DEG_REV_U0P16
D_PHASEBOFFSETINV_REV_U0P162-16rev(D_PHASEAOFFSETINV_REV_U0P16+D_120DEG_REV_U0P16)
D_PHASECOFFSETINV_REV_U0P162-16rev((uint16)(D_PHASEAOFFSETINV_REV_U0P16-D_120DEG_REV_U0P16))
D_REVPCNT_ULS_U0P321Uls699051UL/*(FPM_InitFixedPoint_m(1/D_PACNTSPREV_ULS_U16P0,u0p32_T))*/
D_PACNTSPREV_ULS_U16P01Uls6144U
D_SCALER16_CNT_U161cnt16U
D_35DEG_REV_U0P161rev(FPM_InitFixedPoint_m(0.0972222222,u0p16_T))
D_205DEG_REV_U0P161rev(FPM_InitFixedPoint_m(0.5972222222,u0p16_T))
D_245DEG_REV_U0P161rev(FPM_InitFixedPoint_m(0.6805555555,u0p16_T))
D_355DEG_REV_U0P161rev(FPM_InitFixedPoint_m(0.9861111111,u0p16_T))
D_POSITIVEONE_CNT_S81cnt1

Global

This section lists the global constants used by the module. For details on global constants, refer to the Data Dictionary for the application.

Constant Name
<None>

Module specific Lookup Tables Constants

(This is for lookup tables (arrays) with fixed values, same name as other tables)

Constant NameResolutionValueSoftware Segment
None


Functions/Macros used by the Sub-Modules

Library Functions / Macros

The library and functions / Macros that are called by the various sub modules are identified below,

  1. Limit_m

  2. FPM_Fix_m

  3. LPF_SvUpdate_s16InFixKTrunc_m

  4. LPF_OpUpdate_s16InFixKTrunc_m

  5. Max_m

  6. Min_M

  7. Abs_s16_m

  8. Abs_f16_m

Data Hiding Functions

  1. <None>

Global Functions/Macros Defined by this Module

None

Local Functions/Macros Used by this MDD only

Local Function #1

Function NamePhaseGroundTabLookupoffsetTypeMinMaxUTP Tol.
Arguments PassedMtrElecMechPol_Cnt_s8Sint8-11
Return ValueNone

Description

Generates the phase offset
Local Function #2

Function NameRead_CountToRevTypeMinMaxUTP Tol.
Arguments PassedVar_Cnt_T_u16Unit1606144
Return ValueCountToRev_Rev_T_u16Unit1601

Description

Converts Var_Cnt_T_u16 to Unit16 with range of 0 to 1 and precision of 2-16. It coverts Electrical degree(Count) to Rev

Software Module Implementation

Runtime Environment (RTE) Initial Values

This section lists the initial values of data written by this module but controlled by the RTE. After RTE initialization, the data in this table will contain these values.

DataValue
Rte_InitValue_ExpectedOnTimeA_Cnt_u320
Rte_InitValue_ExpectedOnTimeB_Cnt_u320
Rte_InitValue_ExpectedOnTimeC_Cnt_u320
Rte_InitValue_MeasuredOnTimeA_Cnt_u320
Rte_InitValue_MeasuredOnTimeB_Cnt_u320
Rte_InitValue_MeasuredOnTimeC_Cnt_u320
Rte_InitValue_LRPRCorrectedMtrPosCaptured_Rev_f32
Rte_InitValue_LRPRModulationIndexCaptured_Uls_f320
Rte_InitValue_LRPRPhaseadvanceCaptured_Cnt_s160
Rte_InitValue_MotorVelMRFUnfiltered_MtrRadpS_f32
Rte_InitValue_MtrElecMechPolarity_Cnt_s080
Rte_ InitValue_ PDActivateTest_Cnt_lgc0

Initialization Functions

DigPhsReasDiag_Init


Periodic Functions

Per: DigPhsReasDiag_ Per1

Design Rationale

The ParamBits_Cnt_T_u08 variable used in this function, which is passed when calling NxtrDiagMgr_SetNTCStatus, is set according to the following table (derived from the DTC Outline Structure document):

Bit 0Phase A: measured less than expected
Bit 1Phase A: measured greater than expected
Bit 2Phase B: measured less than expected
Bit 3Phase B: measured greater than expected
Bit 4Phase C: measured less than expected
Bit 5Phase C: measured greater than expected
Bit6Systematic diagnostics LRPR Active

Program Flow Start

Rte_Call_DigPhsReasDiag_Per1_CP0_CheckpointReached()

Store Module Inputs to Local copies

MeasuredOnTime_Cnt_T_u32[D_PHASEA_CNT_U16] = Rte_IRead_DigPhsReasDiag_Per1_MeasuredOnTimeA_Cnt_u32();

MeasuredOnTime_Cnt_T_u32[D_PHASEB_CNT_U16] = Rte_Iread_DigPhsReasDiag_Per1_MeasuredOnTimeB_Cnt_u32();

MeasuredOnTime_Cnt_T_u32[D_PHASEC_CNT_U16] = Rte_Iread_DigPhsReasDiag_Per1_MeasuredOnTimeC_Cnt_u32();

ExpectedOnTime_Cnt_T_u32[D_PHASEA_CNT_U16] = Rte_Iread_DigPhsReasDiag_Per1_ExpectedOnTimeA_Cnt_u32();

ExpectedOnTime_Cnt_T_u32[D_PHASEB_CNT_U16] = Rte_Iread_DigPhsReasDiag_Per1_ExpectedOnTimeB_Cnt_u32();

ExpectedOnTime_Cnt_T_u32[D_PHASEC_CNT_U16] = Rte_Iread_DigPhsReasDiag_Per1_ExpectedOnTimeC_Cnt_u32();

LRPRMtrPosCaptured_Rev_T_f32=Rte_IRead_DigPhsReasDiag_Per1_LRPRCorrectedMtrPosCaptured_Rev_f32();

LRPRPhaseadvanceCaptured_Cnt_T_s16 =Rte_IRead_DigPhsReasDiag_Per1_LRPRPhaseadvanceCaptured_Cnt_s16();

LRPRModIdx_Uls_T_f32 = Rte_IRead_DigPhsReasDiag_Per1_LRPRModulationIndexCaptured_Uls_f32();

MotorVelMRFUnfilt_MtrRadpS_T_f32 = Rte_IRead_DigPhsReasDiag_Per1_MotorVelMRFUnfiltered_MtrRadpS_f32();

MtrElecMechPolarity_Cnt_T_s08=Rte_IRead_DigPhsReasDiag_Per1_ElecMechPolarity_Cnt_s08();

PDActivateTest_Cnt_T_lgc = Rte_IRead_DigPhsReasDiag_Per1_PDActivateTest_Cnt_lgc();

Subfunction Execution

Store Local copy of outputs into Module Outputs

None

Program Flow End

Rte_Call_DigPhsReasDiag_Per1_CP1_CheckpointReached()

Per: DigPhsReasDiag_Trans1

Design Rationale

Reset the HighRes Phase Reasonableness and LowRes Phase Reasonableness delay counter to 0 upon entering in Operate mode

Program Flow Start

Fault Recovery Functions

None

Shutdown Functions

None

Interrupt Functions

None

Serial Communication Functions

None


Execution Requirements

Execution Sequence of the Module

Execution Rates for sub-modules called by the Scheduler

This table serves as reference for the Scheduler design

Function NameCalling FrequencySystem State(s) in which the function is called
DigPhsReasDiag_Per12 msOperate
DigPhsReasDiag_Trans1Upon TransitionUpon entering in Operate

Execution Requirements for Serial Communication Functions

Function NameSub-Module called by (Serial Comm Function Name)
<None>


Memory Map Definition Requirements

Sub Modules (Functions)

This table identifies the software segments for functions identified in this module.

Name of Sub ModuleSoftware Segment

Local Functions

This table identifies the software segments for local functions identified in this module.

Name of Sub ModuleSoftware Segment


Known Issues / Limitations With Design

  1. INLINE functions defined in globalmacro.h are not unit tested


Revision Control Log

Item #Rev #Change DescriptionDateAuthor Initials
11.0Initial Version25-Jan-12OT
22.0Changed Input Names to Match FDD27-Jan-12OT
33.0Updated Operation states to show only runs in Operate27Jan12SMW
44.0Updated to latest FDD changes (rev 002-G), consolidated common processing31-Jan-12OT
55Added checkpoints and memmap software segment is updated for static variables26-Sep-12Selva
66Updated for Changes for LRPR26 Oct 12Selva
77.0Updated to FDD V00715 Mar 13SP
88Anamoly 4968,4953 changes7-May-13Selva
99Anamoly 5000 changes13-May-13Selva
1010Fixing Ranges and Data type for unit test results16-May-13Selva
1111Added Cal “k_LRPRCommOffsetMargin_Uls_f32” for FDD v426-Jun-13Selva
1212Corrected anomaly 517430-Jul-13VT
1313Update range per unit test results12-Aug-13VT
1414Update module and display variables with SVDiag3-Oct-13VT

3 - Motor_Driver_Diagnostics_MDD

Module --

High-Level Description

This function operates as a reporting mechanism for all Gate Drive faults.

Figures

Component Diagram


Variable Data Dictionary

For details on module input / output variable, refer to the Data Dictionary for the application. Input / output variable names are listed here for reference.

Module InputsModule Outputs
VswitchClosed_Cnt_lgcFETFaultPhase_Cnt_enum
MtrDrvrInitStart_Cnt_lgcFETFaultType_Cnt_enum
MtrDrvrInitComplete_Cnt_lgc

Module Internal Variables

This section identifies the name, range and resolutions for module specific data created by this module. If there are no range restrictions on the variable, the term “FULL” is placed into the table for legal range.

Variable NameResolution

Legal Range

(min)

Legal Range

(max)

Software Segment
SVDiag_MtrDrvInitStartTime_mS_M_u32p0uint32FULLFULLMTRDRVDIAG_START_SEC_VAR_CLEARED_32
SVDiag_ResetWaitLoop_Cnt_M_lgcbooleanFALSETRUEMTRDRVDIAG_START_SEC_VAR_CLEARED_BOOLEAN
SVDiag_GateDrvFltSts_Cnt_D_b16uint16FULLFULLMTRDRVDIAG_START_SEC_VAR_CLEARED_16
SVDiag_MtrDrvInitActive_Cnt_M_lgcbooleanFALSETRUEMTRDRVDIAG_START_SEC_VAR_CLEARED_BOOLEAN
SVDiag_FETFaultType_Cnt_M_enumFETFAULTTYPE_ENUMNOFAULT , LOWER , UPPERMTRDRVDIAG_START_SEC_VAR_CLEARED_UNSPECIFIED
SVDiag_FETFaultPhase_Cnt_M_enumFETPHASETYPE_ENUMNOPHASE, PHASEA , PHASEB , PHASECMTRDRVDIAG_START_SEC_VAR_CLEARED_UNSPECIFIED
SVDiag_GateDriveFltAcc_Cnt_M_u16uint16FULLFULLMTRDRVDIAG_START_SEC_VAR_CLEARED_16
SVDiag_GenGateDriveFltAcc_Cnt_M_u16uint160200MTRDRVDIAG_START_SEC_VAR_CLEARED_16
SVDiag_MtrDrvInitComp_Cnt_M_lgcbooleanFALSETRUEMTRDRVDIAG_START_SEC_VAR_CLEARED_BOOLEAN
SVDiag_OnStateFltAcc_Cnt_M_u16uint16FULLFULLMTRDRVDIAG_START_SEC_VAR_CLEARED_16

User defined typedef definition/declaration

This section documents any user types uniquely used for the module.

Typedef NameElement NameUser Defined Type

Legal Range

(min)

Legal Range

(max)

<None>

Constant Data Dictionary

Calibration Constants

This section lists the calibrations used by the module. For details on calibration constants, refer to the Data Dictionary for the application.

Constant Name
k_GateDriveDiag_Cnt_str
k_GenGateDrvFltThrsh_Cnt_u16
k_GateDrvInitDwellTime_mS_u16p0
k_OnStateDiag_Cnt_str

Program(fixed) Constants

Embedded Constants

Local

Constant NameResolutionUnitsValue
D_PHASEALOWER_CNT_U16uint16Counts0U
D_PHASEBLOWER_CNT_U16uint16Counts1U
D_PHASECLOWER_CNT_U16uint16Counts2U
D_PHASEAUPPER_CNT_U16uint16Counts3U
D_PHASEBUPPER_CNT_U16uint16Counts4U
D_PHASECUPPER_CNT_U16uint16Counts5U
D_VREGUV_CNT_U16uint16Counts6U
D_BTSTRPAUV_CNT_U16uint16Counts7U
D_BTSTRPBUV_CNT_U16uint16Counts8U
D_BTSTRPCUV_CNT_U16uint16Counts9U
D_NUMOFGDSTATUSBITS_CNT_U16uint16Counts10U
D_STATUSALOWER_CNT_B16uint16Counts0x0001U
D_STATUSBLOWER_CNT_B16uint16Counts0x0002U
D_STATUSCLOWER_CNT_B16uint16Counts0x0004U
D_STATUSAUPPER_CNT_B16uint16Counts0x0008U
D_STATUSBUPPER_CNT_B16uint16Counts0x0010U
D_STATUSCUPPER_CNT_B16uint16Counts0x0020U
D_STATUSVREGUV_CNT_B16uint16Counts0x0040U
D_STATUSBTSTRPAUV_CNT_B16uint16Counts0x0080U
D_STATUSBTSTRPBUV_CNT_B16uint16Counts0x0100U
D_STATUSBTSTRPCUV_CNT_B16uint16Counts0x0200U
D_STATUSVDDUV_CNT_B16uint16Counts0x0400U
D_STATUSOVERTEMP_CNT_B16uint16Counts0x8000U
D_FFDATACLKTIME_US_U16P0uint16Microseconds4.0
D_GDRESETTIME_US_U16P0uint16Microseconds2.0

Global

This section lists the global constants used by the module. For details on global constants, refer to the Data Dictionary for the application.

Constant Name
<None>

Module specific Lookup Tables Constants

(This is for lookup tables (arrays) with fixed values, same name as other tables)

Constant NameResolutionValueSoftware Segment
None


Functions/Macros used by the Sub-Modules

Library Functions / Macros

The library and functions / Macros that are called by the various sub modules are identified below,

  1. FPM_InitFixedPoint_m

  2. DiagNStep_m

  3. DiagPStep_m

  4. DiagFailed_m

Data Hiding Functions

  1. Rte_Call_FetDrvReset_OP_SET

  2. Rte_Call_FetFlt1Data_OP_GET

  3. Rte_Call_FetFlt2Clk_OP_GET

  4. Rte_Call_FetFlt2Clk_OP_SET

  5. Rte_Call_IoHwAbPortConfig_SetFetFlt2ToOutput

  6. Rte_Call_NxtrDiagMgr_GetEventFailed

  7. Rte_Call_NxtrDiagMgr_SetNTCStatus

  8. Rte_Call_SystemTime_DtrmnElapsedTime_mS_u16

  9. Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16

  10. Rte_Call_SystemTime_GetSystemTime_mS_u32

  11. Rte_Call_SystemTime_GetSystemTime_uS_u32

  12. SuspendAllInterrupts

  13. ResumeAllInterrupts

Global Functions/Macros Defined by this Module

<None>

Local Functions/Macros Used by this MDD only

MotorDriverInit

Function NameMotorDriverInitTypeMinMax
Arguments PassedvoidN/AN/AN/A
Return ValueMtrDrvInitComp_Cnt_T_lgcbooleanFALSETRUE

Design Rationale

On gate drive startup there is the possibility of its fault register logging fault bits related to startup. In order to clear these bits the gate drive is reset. Once called, this operation shall wait a time period defined by k_GateDrvInitDwellTime_mS_u16p0. Once elapsed, the operation will pulse the Reset line low for nominally 1 uSec. Once done this operation will return MtrDrvInitComp_Cnt_T_lgc = TRUE.

Description


ProcGateDriveFlt

Function NameProcGateDriveFltTypeMinMax
Arguments PassedGateDriveFltAccPtr_Cnt_T_u16pointer to type uint16FULLFULL
FF2Set_Cnt_T_lgcBooleanFALSETRUE
Return ValueVoidN/AN/AN/A

Design Rationale

This function processes gate drive fault.

Description

ProcBridgeFlt

Function NameProcBridgeFltTypeMinMax
Arguments PassedOnStateFltAccPtr_Cnt_T_u16pointer to type uint16FULLFULL
GenGateDriveFltAccPtr_Cnt_T_u16pointer to type uint160200
Return ValueVoidN/AN/AN/A

Design Rationale

This function processes bridge fault.

Description

ReadMtrDrvFltData

Function NameReadMtrDrvFltDataTypeMinMax
Arguments PassedStatusPtr_Cnt_T_b16pointer to type uint16FULLFULL
Return ValueFaultedPhases_Cnt_T_u16uint16FULLFULL

Design Rationale

The gate drive IC’s fault register is read serially through the fault flag lines. This is done by clocking the FetFlt2 line and reading in the data on FetFlt1 .

The clock signal will have a 500 kHz max frequency. At that clock frequency the interface circuit shall ensure a minimum positive and negative pulse width at the gate drive input of 750 nSec minimum. Data is clocked out on the gate drive on the falling edge of its clock input. This data is to be present at the DSP input for 250 nSec prior to the rising edge of the clock.

Description


ResetGateDrive

Function NameResetGateDriveTypeMinMax
Arguments PassedvoidN/AN/AN/A
Return ValuevoidN/AN/AN/A

Design Rationale

This function will pulse the Reset line low for nominally 1 uSec. This will clear the fault logging register fault bits. An exclusive area is used around this timing to prevent this function from being interrupted during the wait period, as a pulse for longer than 3.5uSec will put the gate drive chip into a sleep mode.

Description

GateDrvWaitTime

Function NameGateDrvWaitTimeTypeMinMax
Arguments PassedTimeToWait_uS_T_u16p0uint16FULLFULL
Return ValuevoidN/AN/AN/A

Design Rationale

The purpose of this function is to provide the delay times required for the bit manipulation used in this module. This function will wait the amount of time in uS of the variable passed into the function.

Description

Software Module Implementation

Runtime Environment (RTE) Initial Values

This section lists the initial values of data written by this module but controlled by the RTE. After RTE initialization, the data in this table will contain these values.

DataValue
VswitchClosed_Cnt_lgcFALSE
FETFaultPhase_Cnt_enum0
FETFaultType_Cnt_enum0
Rte_InitValue_MtrDrvrInitComplete_Cnt_lgcFALSE
Rte_InitValue_MtrDrvrInitStart_Cnt_lgcFALSE

Initialization Functions

None


Periodic Functions

Per: _Per1

Design Rationale

The Motor Driver Diagnostic Periodic Processing operation systematically deals with the motor driver diagnostics. Each failure diagnosed by the gate drive IC has to be fully qualified by the DSP before a fault is considered present. The qualification process used in this design is the typical PStep/Nstep fault accumulator method. This design uses an assumption that each of the individual faults detected by the gate drive IC rarely occurs. Therefore it is not necessary to track through individual fault accumulators for each of the fault indications provided by the gate drive. Instead the faults will be placed into two groups, gate drive faults and FET faults each with their own fault accumulator. For gate drive faults there is no need to identify the exact failure mode. For FET faults the exact FET failure mode is to be learned but is not required until the FET fault has been fully qualified by the DSP. This function will read in the gate drive fault register. Fault conditions detected by gate drive IC are communicated through two dual purpose fault flag lines, FF1 and FF2. The first purpose of the fault flag lines is to indicate a fault is present. The second purpose is to serially transfer an internal fault register indicating which fault was present.

Program Flow Start

Rte_Call_MtrDrvDiag_Per1_CP0_CheckpointReached()

Store Module Inputs to Local copies

Processing of function

Store Local copy of outputs into Module Outputs

Program Flow End

Rte_Call_MtrDrvDiag_Per1_CP1_CheckpointReached()

Per: MtrDrvDiag_Per2

Design Rationale

Configurable checkpoints were not added to this periodic since it doesn’t run in all system states and the current requirements for program flow check require the checkpoint to be called in all system states if it is to be used.

Program Flow Start

None

Store Module Inputs to Local copies

N/A

Processing

Rte_Call_FetDrvReset_OP_SET(STD_LOW)

Store Local copy of outputs into Module Outputs

Program Flow End

N/A

Per: _Trns1

Design Rationale

This function reinitializes variables on entering WARMINIT state.

Program Flow Start

None

Processing of function

Program Flow End

N/A


Fault Recovery Functions

None

Shutdown Functions

None

Interrupt Functions

None

Serial Communication Functions

None


Execution Requirements

Execution Rates for sub-modules called by the Scheduler

Function NameCalling FrequencySystem State(s) in which the function is called
MtrDrvDiag_Per12mSOPERATE, WARMINIT
MtrDrvDiag_Per22mSDISABLE, OFF
MtrDrvDiag_Trns1Triggered on state transitionOn entering WARMINIT

Execution Requirements for Serial Communication Functions

Function NameSub-Module called by (Serial Comm Function Name)
<None>


Memory Map Definition Requirements

Sub Modules (Functions)

Name of Sub ModuleSoftware Segment
MtrDrvDiag_Per1
MtrDrvDiag_Per2
MtrDrvDiag_Trns1

Local Functions

Name of Sub ModuleSoftware Segment
ProcGateDriveFltSA_MTRDRVDIAG_CODE
ProcBridgeFltSA_MTRDRVDIAG_CODE
ReadMtrDrvFltDataSA_MTRDRVDIAG_CODE
ResetGateDriveSA_MTRDRVDIAG_CODE
GateDrvWaitTimeSA_MTRDRVDIAG_CODE
MotorDriverInitSA_MTRDRVDIAG_CODE


Known Issues / Limitations With Design

  1. ReadMtrDrvFltData needs to be updated to support manual control of the NHET outputs when a faulted FET is detected.


Revision Control Log

Item #Rev #Change DescriptionDateAuthor Initials
11.0Initial MDD24-May-11BG
22.0Replaced exclusive area with suspend and resume interrupts20-June-11LWW
33Corrected Rte Call to GetEventFailed server in ProcBridgeFlt local function02-Dec-11JJW
44Added functionality for Hardware Power Up19-Sep-12OT
55UTP Update (hard-coded NTC numbers)20-Sep-12OT
66Added checkpoints and memmap software segment is updated for static variables28-Sep-12Selva
77Added Per2 per anomaly 457825-Apr-13LWW
88Updated range on GenGateDrv fault accumulator17-May-13LWW
99Fixed A4155 . Changes made to ReadMtrDrvFltData28-aug-13Selva
1010Updated module and display variables with SVDiag8-Oct-13VT

4 - SVDiag_Design_Review


Overview

Summary Sheet
Source Code
Source Code (2)
MDD
MDD (2)
Data Dictionary
QAC
QAC (2)
Integration Manual


Sheet 1: Summary Sheet
























Rev 2.026-Aug-13

Peer Review Summary Sheet



























Component Name:


kzshz2: Intended Use: Identify which component is being reviewed. This should be the Module Short Name from Synergy Rationale: Required for traceability. It will help to ensure this form is not attaced to the the wrong change request. CBD_SVDiag
Component Revision:


kzshz2: Intended Use: Identify which Synergy revision of this component is being reviewed Rationale: Required for traceability. It will help to ensure this form is not attaced to the the wrong change request. 3





























Change Owner:


kzshz2: Intended Use: Identify the developer who made the change(s) Rationale: A change request may have more than one resolver, this will help identify who made what change. Change owner identification may be required by indusrty standards. Vince Thomas
Change Request ID:


10134





























kzshz2: Intended Use: Intended to identify at a high level to the reviewers which areas of the component have been changed. Rationale: This will be good information to know when ensuring appropriate reviews have been completed. Modified File Types:
















































































































































kzshz2: Intended Use: Identify who where the reviewers, what they reviewed, and if the reviewed changes have been approved to release the code for testing. Comments here should be at a highlevel, the specific comments should be present on the specific review form sheet. Rationale: Since this Form will be attached to the Change Request it will confirm the approval and provides feedback in case of audits. ADD DR Level Move reviewer and approval to individual checklist form Review Checklist Summary:






















































Reviewed:































XMDD


XSource Code



XData Dictionary


XQAC



































XIntegration Manual


Davinci Files








































































Comments:






























































































General Guidelines:
- The reviews should be performed over the portions of the component that were modified as a result of the Change Request. (Note: If this peer review form was not
completed for pervious versions of this component, the Change Owner should review the entire component and complete the checklist in its entirety prior and check
the form into Syngery. This should be done prior to reviewing the modifications for this Change Result)
- The Change Owner is responsible for completing the entire checklist (Pre and Group review items) prior holding the initial group review.
- New components should include FDD Owner and Intergator as apart of the Group Review Board (Source Code, Integration Manual, and Davinci Files)
- Select "Yes" and add "N/A" to the comments for checklist items that are not applicable for this change















Sheet 2: Source Code






















Rev 2.026-Aug-13
Peer Review Meeting Log (Source Code Review)

























Source File Name:




kzshz2: Intended Use: Identify which .asm, .c, or .h file is being reviewed Rationale: Required for traceability. It will help to ensure this sheet is not attached to the wrong design review form. Sa_MtrDrvDiag.c
Source File Revision:


kzshz2: Intended Use: Identify which version of the source file is being review. Rationale: Required for traceability between source code and review. Auditors will likely require this. 21

























Module Design Document Name:




kzshz2: Intended Use: Identify which version of the MDD this source file was written against. Rationale: Needed for traceability between source code and MDD Motor_Driver_Diagnostics_MDD
MDD Revision:


kzshz2: Intended Use: Identify which version of the MDD this source file was written against. Rationale: Needed for traceability between source code and MDD 10

































Data Dictionary Revision:



kzshz2: Intended Use: Identify which version of the Data Dictionary was referenced for ranges during the source file review. Rationale: Needed for traceability between source code and DD 9

































Quality Check Items:

































YesNo
Rationale is required for all answers of No









Pre-review checklist
(change owners only)
Analysis performed for divide by zero




kzshz2: Intended Use: To confirm this defensive coding strategy has been taken into consideration Rationale: Necessary since currently there is no place this is documented




Comments:

NA







































Software Design and Coding Standard followed
X
Comments:
















































Software Naming Convention followed


X
Comments:










































All buffered outputs are written in every path









Comments:

NA








































Group-review Checklist (review board)Telelogic Synergy version matches header





kzshz2: Intended Use: Indicate that the the versioning was confirmed by the peer reviewer(s). Rationale: There have been many occassions where versions were not updated in files and as a result Unit Test were referencing wrong versions. This often time leads to the need to re-run of batch tests.


X
Comments:










































Change log contains detailed description of changes








X
Comments:










































Code compared vs requirements (Document or Model)







kzshz2: Intended Use: Identify if previous version was compared and only the expected change(s) was present. Rationale: This is helpful in identifying unapproved (intended or mistaken) changes.

Comments:

NA







































Global Outputs (RTE/Non-RTE) Initialized









Comments:

NA







































Global Outputs are limited to the legal range defined









Comments:

NA

in the FDD Data dictionary




































No Compiler Errors verified


kzshz2: Intended Use: To confirm the appropriate variable name formats have been used. Rationale: This is needed to ensure there will be no errors discovered at the time of integration. A Sandox project may be required to confirm there are no errors until the QAC tool has been evaultated to determine if it can automate this check.






Comments:
















































Type Casting and Fix Point Macros use reviewed









Comments:

NA







































Function prototype and passed parameters are









Comments:

NA

consistent






































General Notes / Comments:


























None































kzshz2: Intended Use: Identify who where the reviewers and if the reviewed changes have been approved. Rationale: Since this Form will be attached to the Change Request it will confirm the approval and provides feedback in case of audits. Group Review Level: There are four Design Review States that a document may have as follows: DR1 – Un-reviewed document. The DR1 reviews usually require larger, cross functional review teams (i.e. Management, Hardware Engineering, etc.) It is usually advisable, but not required to include outside representation as well such as system engineers. It is up to the document owner to decide on the scope of the review, however, the peer group can decide that a re-review with additional team member is required. DR2 – The Document has previously passed through the peer review process, but requires design changes significant enough to require another group peer review. DR3 – The Document has passed group peer review but needs minor corrections that can be re-reviewed with the Lead Peer Reviewer. DR4 – The document has passed all peer reviews and is ready for release. Review Board:


























Change Owner:

Vince Thomas
Review Date :

10/08/13
Group Review Level:


DR4



























Lead Peer Reviewer:


Selva Sengottaiyan

Approved by Reviewer(s):



Yes































Other Reviewer(s):










































































Sheet 3: Source Code (2)






















Rev 2.026-Aug-13
Peer Review Meeting Log (Source Code Review)

























Source File Name:




kzshz2: Intended Use: Identify which .asm, .c, or .h file is being reviewed Rationale: Required for traceability. It will help to ensure this sheet is not attached to the wrong design review form. Ap_DigPhsReasDiag.c
Source File Revision:


kzshz2: Intended Use: Identify which version of the source file is being review. Rationale: Required for traceability between source code and review. Auditors will likely require this. 13

























Module Design Document Name:




kzshz2: Intended Use: Identify which version of the MDD this source file was written against. Rationale: Needed for traceability between source code and MDD Digital Phase Reasonableness Diagnostic
MDD Revision:


kzshz2: Intended Use: Identify which version of the MDD this source file was written against. Rationale: Needed for traceability between source code and MDD 14

































Data Dictionary Revision:



kzshz2: Intended Use: Identify which version of the Data Dictionary was referenced for ranges during the source file review. Rationale: Needed for traceability between source code and DD 9

































Quality Check Items:

































YesNo
Rationale is required for all answers of No









Pre-review checklist
(change owners only)
Analysis performed for divide by zero




kzshz2: Intended Use: To confirm this defensive coding strategy has been taken into consideration Rationale: Necessary since currently there is no place this is documented




Comments:

NA







































Software Design and Coding Standard followed
X
Comments:
















































Software Naming Convention followed


X
Comments:
















































All buffered outputs are written in every path









Comments:

NA








































Group-review Checklist (review board)Telelogic Synergy version matches header





kzshz2: Intended Use: Indicate that the the versioning was confirmed by the peer reviewer(s). Rationale: There have been many occassions where versions were not updated in files and as a result Unit Test were referencing wrong versions. This often time leads to the need to re-run of batch tests.


X
Comments:










































Change log contains detailed description of changes








X
Comments:










































Code compared vs requirements (Document or Model)







kzshz2: Intended Use: Identify if previous version was compared and only the expected change(s) was present. Rationale: This is helpful in identifying unapproved (intended or mistaken) changes.

Comments:

NA







































Global Outputs (RTE/Non-RTE) Initialized









Comments:

NA







































Global Outputs are limited to the legal range defined









Comments:

NA

in the FDD Data dictionary




































No Compiler Errors verified


kzshz2: Intended Use: To confirm the appropriate variable name formats have been used. Rationale: This is needed to ensure there will be no errors discovered at the time of integration. A Sandox project may be required to confirm there are no errors until the QAC tool has been evaultated to determine if it can automate this check.





X
Comments:

To build with no error, used cal constant



















k_LRPRCommOffsetMargin_Uls_f32 definition in utp
























Type Casting and Fix Point Macros use reviewed









Comments:

NA







































Function prototype and passed parameters are









Comments:

NA

consistent






































General Notes / Comments:


























None































kzshz2: Intended Use: Identify who where the reviewers and if the reviewed changes have been approved. Rationale: Since this Form will be attached to the Change Request it will confirm the approval and provides feedback in case of audits. Group Review Level: There are four Design Review States that a document may have as follows: DR1 – Un-reviewed document. The DR1 reviews usually require larger, cross functional review teams (i.e. Management, Hardware Engineering, etc.) It is usually advisable, but not required to include outside representation as well such as system engineers. It is up to the document owner to decide on the scope of the review, however, the peer group can decide that a re-review with additional team member is required. DR2 – The Document has previously passed through the peer review process, but requires design changes significant enough to require another group peer review. DR3 – The Document has passed group peer review but needs minor corrections that can be re-reviewed with the Lead Peer Reviewer. DR4 – The document has passed all peer reviews and is ready for release. Review Board:


























Change Owner:

Vince Thomas
Review Date :

10/08/13
Group Review Level:


DR4



























Lead Peer Reviewer:


Selva Sengottaiyan

Approved by Reviewer(s):



Yes































Other Reviewer(s):










































































Sheet 4: MDD






















Rev 2.026-Aug-13
Peer Review Meeting Log (MDD Review)






























Module Name:

kzshz2: Intended Use: Identify which file is has been reviewed Rationale: Required for traceability. It will help to ensure this sheet is not attached to the wrong design review form. MtrDrvDiag


Modulekzshz2: Intended Use: Identify how many source files are being reviewed and trace it to the appropriate MDD. Rationale: Required for traceability between source code and MDD
1of2





























MDD Revision:

kzshz2: Intended Use: Identify which version of the MDD has been reviewed. Rationale: Required for traceability between the MDD and review. Auditors will likely require this. 10


Source File Revision:


kzshz2: Intended Use: Identify which version of the source file was this MDD written for. Rationale: Needed for traceability between source code and MDD 21

Data Dictionary Revision:



kzshz2: Intended Use: Identify which version of the Data Dictionary was referenced for ranges during the review. Rationale: Needed for traceability between source code and DD. Note: Maybe this should be moved to the Summary sheet since there is only one Data Dictionary Version for all changes 9



















































Quality Check Items:

































YesNo
Rationale is required for all answers of No









Group-review Checklist (review board)Telelogic Synergy version matches header








X
Comments:










































Change log contains detailed description of changes








X
Comments:










































Changes Highlighted (for Unit Tester)








X
Comments:










































High-level Diagrams have been reviewed (Section 2)









Comments:

NA













































All Design Exceptions and Limitations are listed









Comments:

NA













































Design Rationale understood captured appropriately









Comments:

NA














































General Notes / Comments:


























Update 2 remaining flowcharts with SVDiag prefix































kzshz2: Intended Use: Identify who where the reviewers and if the reviewed changes have been approved. Rationale: Since this Form will be attached to the Change Request it will confirm the approval and provides feedback in case of audits. Group Review Level: There are four Design Review States that a document may have as follows: DR1 – Un-reviewed document. The DR1 reviews usually require larger, cross functional review teams (i.e. Management, Hardware Engineering, etc.) It is usually advisable, but not required to include outside representation as well such as system engineers. It is up to the document owner to decide on the scope of the review, however, the peer group can decide that a re-review with additional team member is required. DR2 – The Document has previously passed through the peer review process, but requires design changes significant enough to require another group peer review. DR3 – The Document has passed group peer review but needs minor corrections that can be re-reviewed with the Lead Peer Reviewer. DR4 – The document has passed all peer reviews and is ready for release. Review Board:


























Change Owner:

Vince Thomas
Review Date :

10/08/13
Group Review Level:


DR4



























Lead Peer Reviewer:


Selva Sengottaiyan

Approved by Reviewer(s):



Yes































Other Reviewer(s):










































































Sheet 5: MDD (2)






















Rev 2.026-Aug-13
Peer Review Meeting Log (MDD Review)






























Module Name:

kzshz2: Intended Use: Identify which file is has been reviewed Rationale: Required for traceability. It will help to ensure this sheet is not attached to the wrong design review form. DigPhsReasDiag


Modulekzshz2: Intended Use: Identify how many source files are being reviewed and trace it to the appropriate MDD. Rationale: Required for traceability between source code and MDD
2of2





























MDD Revision:

kzshz2: Intended Use: Identify which version of the MDD has been reviewed. Rationale: Required for traceability between the MDD and review. Auditors will likely require this. 14


Source File Revision:


kzshz2: Intended Use: Identify which version of the source file was this MDD written for. Rationale: Needed for traceability between source code and MDD 13

Data Dictionary Revision:



kzshz2: Intended Use: Identify which version of the Data Dictionary was referenced for ranges during the review. Rationale: Needed for traceability between source code and DD. Note: Maybe this should be moved to the Summary sheet since there is only one Data Dictionary Version for all changes 9



















































Quality Check Items:

































YesNo
Rationale is required for all answers of No









Group-review Checklist (review board)Telelogic Synergy version matches header








X
Comments:










































Change log contains detailed description of changes








X
Comments:










































Changes Highlighted (for Unit Tester)








X
Comments:










































High-level Diagrams have been reviewed (Section 2)








X
Comments:
















































All Design Exceptions and Limitations are listed








X
Comments:
















































Design Rationale understood captured appropriately








X
Comments:

















































General Notes / Comments:



























































kzshz2: Intended Use: Identify who where the reviewers and if the reviewed changes have been approved. Rationale: Since this Form will be attached to the Change Request it will confirm the approval and provides feedback in case of audits. Group Review Level: There are four Design Review States that a document may have as follows: DR1 – Un-reviewed document. The DR1 reviews usually require larger, cross functional review teams (i.e. Management, Hardware Engineering, etc.) It is usually advisable, but not required to include outside representation as well such as system engineers. It is up to the document owner to decide on the scope of the review, however, the peer group can decide that a re-review with additional team member is required. DR2 – The Document has previously passed through the peer review process, but requires design changes significant enough to require another group peer review. DR3 – The Document has passed group peer review but needs minor corrections that can be re-reviewed with the Lead Peer Reviewer. DR4 – The document has passed all peer reviews and is ready for release. Review Board:


























Change Owner:

Vince Thomas
Review Date :

10/08/13
Group Review Level:


DR4



























Lead Peer Reviewer:


Selva Sengottaiyan

Approved by Reviewer(s):



Yes































Other Reviewer(s):










































































Sheet 6: Data Dictionary






















Rev 2.026-Aug-13
Peer Review Meeting Log (Data Dictionary Review)


























Data Dictionary Revision:



kzshz2: Intended Use: Identify which version of the file is being reviewed Rationale: Required for traceability. 9









































kzshz2: Intended Use: Indicate to the reviewers the type of variable changes. This should be filled out prior to the review by the change owner. Rationale: This will be good information to know to both reviewers and post reviewers of the change. Variables:



























Newly Added


XName Changes


Range Changes


Deleted
































NVM Changes


Other:


































































kzshz2: Intended Use: Indicate to the reviewers the type of calibration changes. This should be filled out prior to the review by the change owner. Rationale: This will be good information to know to both reviewers and post reviewers of the change. Calibrations:



























Newly Added


Name Changes


Range Changes


Default Value Changes
































Deleted


Other:


































































Quality Check Items:

































YesNo
Rationale is required for all answers of No









Group-review Checklist (review board)Telelogic Synergy version matches header








X
Comments:










































Change log contains detailed description of changes








X
Comments:










































All Changes Identified (for Unit Tester)








X
Comments:

NA







































Calibration and NVM names, ranges, and default values









Comments:

NA

compared against FDD




































Global variables names, ranges, and default values









Comments:

NA

compared against FDD Data Dictionary






























































General Notes / Comments:



























































kzshz2: Intended Use: Identify who where the reviewers and if the reviewed changes have been approved. Rationale: Since this Form will be attached to the Change Request it will confirm the approval and provides feedback in case of audits. Group Review Level: There are four Design Review States that a document may have as follows: DR1 – Un-reviewed document. The DR1 reviews usually require larger, cross functional review teams (i.e. Management, Hardware Engineering, etc.) It is usually advisable, but not required to include outside representation as well such as system engineers. It is up to the document owner to decide on the scope of the review, however, the peer group can decide that a re-review with additional team member is required. DR2 – The Document has previously passed through the peer review process, but requires design changes significant enough to require another group peer review. DR3 – The Document has passed group peer review but needs minor corrections that can be re-reviewed with the Lead Peer Reviewer. DR4 – The document has passed all peer reviews and is ready for release. Review Board:


























Change Owner:

Vince Thomas
Review Date :

10/08/13
Group Review Level:


DR4



























Lead Peer Reviewer:


Selva Sengottaiyan

Approved by Reviewer(s):



Yes































Other Reviewer(s):










































































Sheet 7: QAC






















Rev 2.026-Aug-13
Peer Review Meeting Log (QAC Review)


























Module Name:

kzshz2: Intended Use: Identify which .c file is being analyzed Rationale: Required for traceability. It will help to ensure this sheet is not attached to the wrong design review form. MtrDrvDiag

Source File Revision:


21

Module
1of2


























Compliance Document Version:




Unreleased









































kzshz2: Intended Use: Identify specific changes in results (new violation present, previous violation corrected, etc.). Changes to the version of the tool or the way the results were gathered should be described here also. This should be filled out prior to the review by the change owner. Rationale: Gives reviewers an what needs to be focused on. Forces the change owner to compare with previous results to catch any differences that may otherwise go unoticed Brief Summary of Changes (In Results or Tool):


































































Quality Check Items:

































YesNo
Rationale is required for all answers of No









Pre-review
checklist for change owners
QAC version is correct and did not change (List version)







kzshz2: Intended Use: Identify which version of the QAC Subproject was used and if any of the personalities may have changed. Rationale: Will help ensure this is factored into evaluating the results
X
Comments:










































Contract Folder's header files are appropriate





kzshz2: Intended Use: Identify that the contract folder contains only the information required for this component. All other variables, constants, function prototypes, etc. should be removed. Rationale: This will help avoid unit testers having to considers object not used. It will also avoid having other files required for QAC.



Comments:

NA









































G Group-review Checklist (review board)100% Compliance to the MISRA Compliance DocumentX
Comments:













































General Notes / Comments:



























































kzshz2: Intended Use: Identify who where the reviewers and if the reviewed changes have been approved. Rationale: Since this Form will be attached to the Change Request it will confirm the approval and provides feedback in case of audits. Group Review Level: There are four Design Review States that a document may have as follows: DR1 – Un-reviewed document. The DR1 reviews usually require larger, cross functional review teams (i.e. Management, Hardware Engineering, etc.) It is usually advisable, but not required to include outside representation as well such as system engineers. It is up to the document owner to decide on the scope of the review, however, the peer group can decide that a re-review with additional team member is required. DR2 – The Document has previously passed through the peer review process, but requires design changes significant enough to require another group peer review. DR3 – The Document has passed group peer review but needs minor corrections that can be re-reviewed with the Lead Peer Reviewer. DR4 – The document has passed all peer reviews and is ready for release. Review Board:


























Change Owner:

Vince Thomas
Review Date :

10/08/13
Group Review Level:


DR4



























Lead Peer Reviewer:


Selva Sengottaiyan

Approved by Reviewer(s):



Yes































Other Reviewer(s):










































































Sheet 8: QAC (2)






















Rev 2.026-Aug-13
Peer Review Meeting Log (QAC Review)


























Module Name:

kzshz2: Intended Use: Identify which file is has been reviewed Rationale: Required for traceability. It will help to ensure this sheet is not attached to the wrong design review form. DigPhsReasDiag

Source File Revision:


13

Module
2of2


























Compliance Document Version:




Unreleased









































kzshz2: Intended Use: Identify specific changes in results (new violation present, previous violation corrected, etc.). Changes to the version of the tool or the way the results were gathered should be described here also. This should be filled out prior to the review by the change owner. Rationale: Gives reviewers an what needs to be focused on. Forces the change owner to compare with previous results to catch any differences that may otherwise go unoticed Brief Summary of Changes (In Results or Tool):


































































Quality Check Items:

































YesNo
Rationale is required for all answers of No









Pre-review
checklist for change owners
QAC version is correct and did not change (List version)







kzshz2: Intended Use: Identify which version of the QAC Subproject was used and if any of the personalities may have changed. Rationale: Will help ensure this is factored into evaluating the results
X
Comments:










































Contract Folder's header files are appropriate





kzshz2: Intended Use: Identify that the contract folder contains only the information required for this component. All other variables, constants, function prototypes, etc. should be removed. Rationale: This will help avoid unit testers having to considers object not used. It will also avoid having other files required for QAC.



Comments:

NA









































G Group-review Checklist (review board)100% Compliance to the MISRA Compliance DocumentX
Comments:













































General Notes / Comments:



























































kzshz2: Intended Use: Identify who where the reviewers and if the reviewed changes have been approved. Rationale: Since this Form will be attached to the Change Request it will confirm the approval and provides feedback in case of audits. Group Review Level: There are four Design Review States that a document may have as follows: DR1 – Un-reviewed document. The DR1 reviews usually require larger, cross functional review teams (i.e. Management, Hardware Engineering, etc.) It is usually advisable, but not required to include outside representation as well such as system engineers. It is up to the document owner to decide on the scope of the review, however, the peer group can decide that a re-review with additional team member is required. DR2 – The Document has previously passed through the peer review process, but requires design changes significant enough to require another group peer review. DR3 – The Document has passed group peer review but needs minor corrections that can be re-reviewed with the Lead Peer Reviewer. DR4 – The document has passed all peer reviews and is ready for release. Review Board:


























Change Owner:

Vince Thomas
Review Date :

10/08/13
Group Review Level:


DR4



























Lead Peer Reviewer:


Selva Sengottaiyan

Approved by Reviewer(s):



Yes































Other Reviewer(s):










































































Sheet 9: Integration Manual






















Rev 2.026-Aug-13
Peer Review Meeting Log (Integration Manual Review)


























Integration Manual Name:



kzshz2: Intended Use: Identify which file is being reviewed Rationale: Required for traceability. It will help to ensure this sheet is not attached to the wrong design review form. Vince Thomas

Integration Manual Revision:



kzshz2: Intended Use: Identify which version of the integration manual has been reviewed. Rationale: Required for traceability between the MDD and review. Auditors will likely require this. 1





























Quality Check Items:

































YesNo
Rationale is required for all answers of No









Group-review Checklist (review board)Telelogic Synergy version matches header








X
Comments:










































Latest template used








X
Comments:










































Change log contains detailed description of changes








X
Comments:










































Changes Highlighted (for Integrator)









Comments:

NA








































General Notes / Comments:























Initial Version


































kzshz2: Intended Use: Identify who where the reviewers and if the reviewed changes have been approved. Rationale: Since this Form will be attached to the Change Request it will confirm the approval and provides feedback in case of audits. Group Review Level: There are four Design Review States that a document may have as follows: DR1 – Un-reviewed document. The DR1 reviews usually require larger, cross functional review teams (i.e. Management, Hardware Engineering, etc.) It is usually advisable, but not required to include outside representation as well such as system engineers. It is up to the document owner to decide on the scope of the review, however, the peer group can decide that a re-review with additional team member is required. DR2 – The Document has previously passed through the peer review process, but requires design changes significant enough to require another group peer review. DR3 – The Document has passed group peer review but needs minor corrections that can be re-reviewed with the Lead Peer Reviewer. DR4 – The document has passed all peer reviews and is ready for release. Review Board:


























Change Owner:

Vince Thomas
Review Date :

10/08/13
Group Review Level:


DR4



























Lead Peer Reviewer:


Selva Sengottaiyan

Approved by Reviewer(s):



Yes































Other Reviewer(s):









































































5 - SVDiag_Integration_Manual

1 Dependencies 2

1.1 SWCs 2

1.2 Functions to be provided to Integration Project 2

2 Configuration 3

2.1 Build Time Config 3

2.2 Configuration Files to be provided by Integration Project 3

2.2.1 Da Vinci Config generation 3

2.2.2 Manual Configuration Changes 3

3 Integration 4

3.1 Required Global Data Inputs 4

3.2 Optional Global Data Inputs 4

3.3 Specific Include Path present 4

4 Runnable Scheduling 5

5 Memory Mapping 6

5.1 Mapping 6

5.2 Usage 6

5.3 NvM Blocks 6

6 Compiler Settings 6

6.1 Preprocessor MACRO 6

6.2 Optimization Settings 6

7 Revision Control Log 7

Dependencies

SWCs

ModuleRequired Feature
None

Global Functions(Non RTE) to be provided to Integration Project

< Global function (except the ones that are defined in RTE modules) that is defined in this component but used by other function>

Configuration

Build Time Config

ModulesNotes
None

Configuration Files to be provided by Integration Project

<Configuration file that will generated from this components that will require Da Vinci Config generation or manual generation. Describe each parameter >

Da Vinci Parameter Configuration Changes

ParameterNotesSWC
None

DaVinci Interrupt Configuration Changes

ISR NameVIM #Priority DependencyNotes
None

Manual Configuration Changes

ConstantNotesSWC
None

Integration

Required Global Data Inputs

ExpectedOnTimeA_Cnt_u32

ExpectedOnTimeB_Cnt_u32

ExpectedOnTimeC_Cnt_u32

LRPRCorrectedMtrPosCaptured_Rev_f32

LRPRModulationIndexCaptured_Uls_f32

LRPRPhaseadvanceCaptured_Cnt_s16

MeasuredOnTimeA_Cnt_u32

MeasuredOnTimeB_Cnt_u32

MeasuredOnTimeC_Cnt_u32

MotorVelMRFUnfiltered_MtrRadpS_f32

MtrElecMechPolarity_Cnt_s08

PDActivateTest_Cnt_lgc

MtrDrvrInitStart_Cnt_lgc

VswitchClosed_Cnt_lgc

Required Global Data Outputs

SVDiag_LowPhReasErrorAcc_Cnt_u16

SVDiag_HighResPhsReasDisable_u8

SVDiag_LowResPhsReasDisable_u8

SVDiag_MtrDrvInitComp_Cnt_lgc

SVDiag_GateDriveFltAcc_Cnt_u16

SVDiag_GenGateDriveFltAcc_Cnt_u16

SVDiag_OnStateFltAcc_Cnt_u16

Specific Include Path present

None

Runnable Scheduling

This section specifies the required runnable scheduling.

InitScheduling RequirementsTrigger
DigPhsReasDiag_InitExecuted once after the RTE is started before first call of MtrDrvDiag_Per1RTE (at Startup)
RunnableScheduling RequirementsTrigger
DigPhsReasDiag_Per1Not in OFF, DISABLE, or WARMINIT modesRte 2ms task
DigPhsReasDiag_Trans1In OPERATE modeOn entering mode
MtrDrvDiag_Per1Not in DISABLE or OFF modesRte 2ms task
MtrDrvDiag_Per2Not in OPERATE or WARMINIT modesRte 2ms task
MtrDrvDiag_Trns1In WARMINIT modeOn entering mode

Memory Mapping

Mapping

Memory SectionContentsNotes
< Memory mapping Info>
DIGPHSREASDIAG_START_SEC_VAR_CLEARED_32
DIGPHSREASDIAG_START_SEC_VAR_CLEARED_BOOLEAN
DIGPHSREASDIAG_START_SEC_VAR_CLEARED_16
DIGPHSREASDIAG_START_SEC_VAR_CLEARED_8
MTRDRVDIAG_START_SEC_VAR_CLEARED_32
MTRDRVDIAG_START_SEC_VAR_CLEARED_16
MTRDRVDIAG_START_SEC_VAR_CLEARED_BOOLEAN
MTRDRVDIAG_START_SEC_VAR_CLEARED_UNSPECIFIED

* Each …START_SEC… constant is terminated by a …STOP_SEC… constant as specified in the AUTOSAR Memory Mapping requirements.

Usage

Table 1: ARM Cortex R4 Memory Usage

FeatureRAMROM
Full

Non RTE NvM Blocks

Block Name
None

Note : Size of the NVM block if configured in developer

RTE NvM Blocks

Block Name
None

Note : Size of the NVM block if configured in developer

Compiler Settings

Preprocessor MACRO

<Define all the preprocessor Macros needed and conditions when needed>.

Optimization Settings

<Define Optimization levels that are needed and conditions when needed>.

Revision Control Log

Rev #Change DescriptionDateAuthor
1Initial version3-Oct-13VT

6 - DigPhsReasDiag_UnitTestResults


Overview

Unit Test Information
Module Definitions
Variable Range
DigPhsReasDiag_Init
DigPhsReasDiag_Init() TestType
DigPhsReasDiag_Init() b
DigPhsReasDiag_Per1
DigPhsReasDiag_Per1() p
DigPhsReasDiag_Per1() b
DigPhsReasDiag_Trans1
DigPhsReasDiag_Trans1() b
PhaseGroundTabLookupoffset
PhaseGroundTabLookupoffset() p
PhaseGroundTabLookupoffset() b
Read_CountToRev
Read_CountToRev() b


Sheet 1: Unit Test Information

1.0a






















Nexteer EPS Unit Test Tool






Rev:2.7b












Name of Tester:Priti Mangalekar
Source files to be added to the .pjt file Must include path from 'Source Code Directory' setting on the Unit Test Tool Options dialog Include Files:

Code File(s) Under Test:Ap_DigPhsReasDiag.c



Code File(s) Version:12



Module Design Document:DigPhsReasDiag_MDD.docx



Module Design Document Version:12



Unit Test Plan Version:1.1.2



Optimization Level:Level 2



Compiler (CodeGen) Version:TMS470_4.9.5



Model Type:Excel Macro



Model Version:Nexteer EPS Unit Test Tool 2.7b/EPS Library 1.29



Special Test Requirements:




Test Date:8/7/2013



Comments:Note:
1)Inline functions defined in "Globalmacro.h" are not unit tested.
2)100% coverage cannot be achieved in "DigPhsReasDiag_Per1" Function due to "FPM_Fix_m" macro usage.
3)In "DigPhsReasDiag_Per1" function, out of range value is given to "ExpectedOnTimeA_Cnt_u32" and "MeasuredOnTimeA_Cnt_u32" to cover "HighResError_Cnt_T_s32[i] >= 262136" and "HighResError_Cnt_T_s32[i] >= -262136" path in TS 2.9 and TS 2.10 respectively.
4)100% coverage cannot be achieved in "PhaseGroundTabLookupoffset" Function due to "FPM_Fix_m" macro usage.




Index of Tests:




Test Set upTest WorksheetsTest StatusRun TS

DigPhsReasDiag_InitDigPhsReasDiag_Init() b----
8
1DigPhsReasDiag_Init() TestType----
1






DigPhsReasDiag_Per1DigPhsReasDiag_Per1() b----
115
10DigPhsReasDiag_Per1() p----
10






DigPhsReasDiag_Trans1DigPhsReasDiag_Trans1() b----
1






PhaseGroundTabLookupoffsetPhaseGroundTabLookupoffset() b----
3
2PhaseGroundTabLookupoffset() p----
2






Read_CountToRevRead_CountToRev() b----
3














































































































































































































Sheet 2: Module Definitions












































Nexteer EPS Unit Test Tool












Rev:2.7b












Module Definitions
Module Test Functions
Module Set/Read Variables
Module Function Stubs
Return TypeNameParameter Prototype
ScopeTypeNameDefault Value
Return TypeNameParameter Prototype
voidDigPhsReasDiag_Init(void)
Guint32ExpectedOnTimeA_Cnt_u32

voidRte_Call_DigPhsReasDiag_Per1_CP0_CheckpointReached(void)
voidDigPhsReasDiag_Per1(void)
Guint32ExpectedOnTimeB_Cnt_u32

voidRte_Call_DigPhsReasDiag_Per1_CP1_CheckpointReached(void)
voidDigPhsReasDiag_Trans1(void)
Guint32ExpectedOnTimeC_Cnt_u32

voidRte_Call_NxtrDiagMgr_SetNTCStatus(void)
voidPhaseGroundTabLookupoffset(sint8 MtrElecMechPol_Cnt_T_s08)
Guint32MeasuredOnTimeA_Cnt_u32




uint16Read_CountToRev(uint16 Var_Cnt_T_u16)
Guint32MeasuredOnTimeB_Cnt_u32








Guint32MeasuredOnTimeC_Cnt_u32








Gsint16LRPRPhaseadvanceCaptured_Cnt_s16








GfloatLRPRModulationIndexCaptured_Uls_f32








GfloatMotorVelMRFUnfiltered_MtrRadpS_f32








GbooleanPDActivateTest_Cnt_lgc








Ms18p13_TFilterSV_Cnt_M_s18p13[3]








MbooleanPrevLRPRHighSector_Cnt_M_lgc[3]








MbooleanLRPRHighSector_Cnt_M_lgc[3]








MbooleanPrevLRPRLowSector_Cnt_M_lgc[3]








MbooleanLRPRLowSector_Cnt_M_lgc[3]








MfloatLRPRAdjModldAComp_Cnt_M_f32








MfloatPrevLRPRAdjModldComp_Cnt_M_f32








Muint16PrevLRPRPhsAdvComp_Cnt_M_u16








Muint16LRPRPhsAdvComp_Cnt_M_u16








Mu0p16_TPhaseOffset_Rev_M_u0p16[3]








Muint16LowPhReasErrorAcc_Cnt_M_u16








Muint8HighResPhsReasDisable_M_u8








Muint8LowResPhsReasDisable_M_u8








MfloatMaxNrCommOffVltg_Cnt_M_f32








MfloatLRPRHighLimit_Cnt_D_f32[3]








MfloatLRPRLowLimit_Cnt_D_f32[3]








Gsint16k_PhsReasErrorTerm_Cnt_s16








Guint16k_ErrorFiltKn_Cnt_u16








Guint32k_ErrorThresh_Cnt_u32








Guint32k_PhsReasEnableThresh_Cnt_u32








Gfloatk_LRPRMtrVelDiagEnable_MtrRadpS_T_f32








Gfloatk_LowResPhsReasMinTol_Uls_f32








Gfloatk_LowResPhsReasMaxTol_Uls_f32








Guint16t_CommOffsetTblY_Cnt_u16[2]








GDiagSettings_Str.uint16k_LowResPhsReas_Cnt_str.Pstep








GDiagSettings_Str.uint16k_LowResPhsReas_Cnt_str.NStep








GDiagSettings_Str.uint16k_LowResPhsReas_Cnt_str.Threshold








GfloatLRPRCorrectedMtrPosCaptured_Rev_f32








Gsint8MtrElecMechPolarity_Cnt_s08








Guint8NTC0







Guint8Param0







Guint8Status0







Gfloatk_LRPRCommOffsetMargin_Uls_f32





Sheet 3: Variable Range















































Nexteer EPS Unit Test Tool












Rev:2.7b
























Variable Range Definitions








Variable NameMax ValueMin Value








ExpectedOnTimeA_Cnt_u32










ExpectedOnTimeB_Cnt_u32










ExpectedOnTimeC_Cnt_u32










MeasuredOnTimeA_Cnt_u32










MeasuredOnTimeB_Cnt_u32










MeasuredOnTimeC_Cnt_u32










LRPRCorrectedMtrPosCaptured_rev_u0p16










LRPRPhaseadvanceCaptured_Cnt_s16










LRPRModulationIndexCaptured_Uls_f32










MotorVelMRFUnfiltered_MtrRadpS_f32










ElecMechPolarity_Cnt_s08










PDActivateTest_Cnt_lgc










FilterSV_Cnt_M_s18p13[3]










PrevLRPRHighSector_Cnt_M_lgc










PrevLRPRLowSector_Cnt_M_lgc










LRPRAdjModldAComp_Cnt_M_f32










PrevLRPRAdjModldComp_Cnt_M_f32










PrevLRPRPhsAdvComp_Cnt_M_u16










PhaseOffset_Rev_M_u0p16










LowPhReasErrorAcc_Cnt_M_u16










HighResPhsReasDisable_M_u8










LowResPhsReasDisable_M_u8










MaxNrCommOffVltg_Cnt_M_f32










LRPRHighLimit_Cnt_D_f32










LRPRLowLimit_Cnt_D_f32










MtrElecMechPol_Cnt_T_s08










k_PhsReasErrorTerm_Cnt_s16










k_ErrorFiltKn_Cnt_u16










k_ErrorThresh_Cnt_u32










k_PhsReasEnableThresh_Cnt_u32










k_LRPRMtrVelDiagEnable_MtrRadpS_T_f32










k_LowResPhsReasMinTol_Uls_f32










k_LowResPhsReasMaxTol_Uls_f32










t_CommOffsetTblY_Cnt_u16[2]










k_LowResPhsReas_Cnt_str.Pstep










k_LowResPhsReas_Cnt_str.NStep










k_LowResPhsReas_Cnt_str.Threshold










Var_Cnt_T_u16










LRPRCorrectedMtrPosCaptured_Rev_f32










MtrElecMechPolarity_Cnt_s08










PrevLRPRHighSector_Cnt_M_lgc[3]










PrevLRPRLowSector_Cnt_M_lgc[3]










PhaseOffset_Rev_M_u0p16[3]










LRPRMtrPosNor_rev_T_u0p16[3]










LRPRCorrectedMtrPosCaptured_Rev_f32[3]










NTC










Param










Status










LRPRHighLimit_Cnt_D_f32[3]










LRPRLowLimit_Cnt_D_f32[3]










k_LRPRCommOffsetMargin_Uls_f32











Sheet 4: DigPhsReasDiag_Init




















Nexteer EPS Unit Test Tool






Rev:2.7b






Test Setup


Number Of Calibrations0


Number Of Calibration Sets0


Calibration Sheet















Function(s) Under TestVariablesFunction Stubs
Function NameTestTypeTest VectorsSetReadFunction Name
DigPhsReasDiag_Initb8t_CommOffsetTblY_Cnt_u16[2]MaxNrCommOffVltg_Cnt_M_f32
DigPhsReasDiag_InitTestType1k_LRPRCommOffsetMargin_Uls_f32


Sheet 5: DigPhsReasDiag_Init() TestType

DigPhsReasDiag_InitTS--




TestTypeI/PI/PO/PExpected
O/P
Test StatusPerf. MetricsComments
Vector NumberVector Descriptiont_CommOffsetTblY_Cnt_u16[2]k_LRPRCommOffsetMargin_Uls_f32MaxNrCommOffVltg_Cnt_M_f32MaxNrCommOffVltg_Cnt_M_f32P/FCPU Cycles
1All Max2000,20001.2------




























































































Sheet 6: DigPhsReasDiag_Init() b

DigPhsReasDiag_InitTS--




bI/PI/PO/PExpected
O/P
Test StatusPerf. MetricsComments
Vector NumberVector Descriptiont_CommOffsetTblY_Cnt_u16[2]k_LRPRCommOffsetMargin_Uls_f32MaxNrCommOffVltg_Cnt_M_f32MaxNrCommOffVltg_Cnt_M_f32P/FCPU Cycles
1t_CommOffsetTblY_Cnt_u16[2]=Min0,00.95--0--

2t_CommOffsetTblY_Cnt_u16[2]=Max2000,20001--72000--

3t_CommOffsetTblY_Cnt_u16[2]=Pos500,6000.88--15840--

4k_LRPRCommOffsetMargin_Uls_f32 = Min100,2000.8--2880--

5k_LRPRCommOffsetMargin_Uls_f32 = Max1000,11001.2--43200--

6k_LRPRCommOffsetMargin_Uls_f32 = Mid800,9001--28800--

7All Min0,00.8--0--

8All Max2000,20001.2--86400--




























































































Sheet 7: DigPhsReasDiag_Per1




















Nexteer EPS Unit Test Tool






Rev:2.7b






Test Setup


Number Of Calibrations0


Number Of Calibration Sets0


Calibration Sheet















Function(s) Under TestVariablesFunction Stubs
Function NameTestTypeTest VectorsSetReadFunction Name
DigPhsReasDiag_Per1b115MeasuredOnTimeA_Cnt_u32HighResPhsReasDisable_M_u8Rte_Call_DigPhsReasDiag_Per1_CP0_CheckpointReached
DigPhsReasDiag_Per1p10MeasuredOnTimeB_Cnt_u32LowResPhsReasDisable_M_u8Rte_Call_DigPhsReasDiag_Per1_CP1_CheckpointReached



MeasuredOnTimeC_Cnt_u32FilterSV_Cnt_M_s18p13[3]Rte_Call_NxtrDiagMgr_SetNTCStatus



ExpectedOnTimeA_Cnt_u32LRPRAdjModldAComp_Cnt_M_f32



ExpectedOnTimeB_Cnt_u32PrevLRPRAdjModldComp_Cnt_M_f32



ExpectedOnTimeC_Cnt_u32LRPRPhsAdvComp_Cnt_M_u16



LRPRCorrectedMtrPosCaptured_Rev_f32PrevLRPRPhsAdvComp_Cnt_M_u16



LRPRPhaseadvanceCaptured_Cnt_s16LRPRHighSector_Cnt_M_lgc[3]



LRPRModulationIndexCaptured_Uls_f32LRPRLowSector_Cnt_M_lgc[3]



MotorVelMRFUnfiltered_MtrRadpS_f32PrevLRPRHighSector_Cnt_M_lgc[3]



MtrElecMechPolarity_Cnt_s08PrevLRPRLowSector_Cnt_M_lgc[3]



PDActivateTest_Cnt_lgcLowPhReasErrorAcc_Cnt_M_u16



HighResPhsReasDisable_M_u8PhaseOffset_Rev_M_u0p16[3]



LowResPhsReasDisable_M_u8NTC



k_PhsReasEnableThresh_Cnt_u32Param



k_PhsReasErrorTerm_Cnt_s16Status



FilterSV_Cnt_M_s18p13[3]




k_ErrorFiltKn_Cnt_u16




k_ErrorThresh_Cnt_u32




LRPRAdjModldAComp_Cnt_M_f32




LRPRPhsAdvComp_Cnt_M_u16




PhaseOffset_Rev_M_u0p16[3]




LRPRHighSector_Cnt_M_lgc[3]




LRPRLowSector_Cnt_M_lgc[3]




PrevLRPRHighSector_Cnt_M_lgc[3]




PrevLRPRAdjModldComp_Cnt_M_f32




k_LowResPhsReasMaxTol_Uls_f32




k_LowResPhsReasMinTol_Uls_f32




MaxNrCommOffVltg_Cnt_M_f32




PrevLRPRPhsAdvComp_Cnt_M_u16




k_LRPRMtrVelDiagEnable_MtrRadpS_T_f32




LowPhReasErrorAcc_Cnt_M_u16




k_LowResPhsReas_Cnt_str.Pstep




k_LowResPhsReas_Cnt_str.NStep




k_LowResPhsReas_Cnt_str.Threshold




PrevLRPRLowSector_Cnt_M_lgc[3]










































































Sheet 8: DigPhsReasDiag_Per1() p

DigPhsReasDiag_Per1TS--










































































pI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PFunc Stub
Counter
Func Stub
Counter
Func Stub
Counter
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionMeasuredOnTimeA_Cnt_u32MeasuredOnTimeB_Cnt_u32MeasuredOnTimeC_Cnt_u32ExpectedOnTimeA_Cnt_u32ExpectedOnTimeB_Cnt_u32ExpectedOnTimeC_Cnt_u32LRPRCorrectedMtrPosCaptured_Rev_f32LRPRPhaseadvanceCaptured_Cnt_s16LRPRModulationIndexCaptured_Uls_f32MotorVelMRFUnfiltered_MtrRadpS_f32MtrElecMechPolarity_Cnt_s08PDActivateTest_Cnt_lgcHighResPhsReasDisable_M_u8LowResPhsReasDisable_M_u8k_PhsReasEnableThresh_Cnt_u32k_PhsReasErrorTerm_Cnt_s16FilterSV_Cnt_M_s18p13[3]k_ErrorFiltKn_Cnt_u16k_ErrorThresh_Cnt_u32LRPRAdjModldAComp_Cnt_M_f32LRPRPhsAdvComp_Cnt_M_u16PhaseOffset_Rev_M_u0p16[3]LRPRHighSector_Cnt_M_lgc[3]LRPRLowSector_Cnt_M_lgc[3]PrevLRPRHighSector_Cnt_M_lgc[3]PrevLRPRAdjModldComp_Cnt_M_f32k_LowResPhsReasMaxTol_Uls_f32k_LowResPhsReasMinTol_Uls_f32MaxNrCommOffVltg_Cnt_M_f32PrevLRPRPhsAdvComp_Cnt_M_u16k_LRPRMtrVelDiagEnable_MtrRadpS_T_f32LowPhReasErrorAcc_Cnt_M_u16k_LowResPhsReas_Cnt_str.Pstepk_LowResPhsReas_Cnt_str.NStepk_LowResPhsReas_Cnt_str.ThresholdPrevLRPRLowSector_Cnt_M_lgc[3]HighResPhsReasDisable_M_u8LowResPhsReasDisable_M_u8FilterSV_Cnt_M_s18p13[3]LRPRAdjModldAComp_Cnt_M_f32PrevLRPRAdjModldComp_Cnt_M_f32LRPRPhsAdvComp_Cnt_M_u16PrevLRPRPhsAdvComp_Cnt_M_u16LRPRHighSector_Cnt_M_lgc[3]LRPRLowSector_Cnt_M_lgc[3]PrevLRPRHighSector_Cnt_M_lgc[3]PrevLRPRLowSector_Cnt_M_lgc[3]LowPhReasErrorAcc_Cnt_M_u16PhaseOffset_Rev_M_u0p16[3]NTCParamStatusRte_Call_DigPhsReasDiag_Per1_CP0_CheckpointReachedRte_Call_DigPhsReasDiag_Per1_CP1_CheckpointReachedRte_Call_NxtrDiagMgr_SetNTCStatusHighResPhsReasDisable_M_u8LowResPhsReasDisable_M_u8FilterSV_Cnt_M_s18p13[3]LRPRAdjModldAComp_Cnt_M_f32PrevLRPRAdjModldComp_Cnt_M_f32LRPRPhsAdvComp_Cnt_M_u16PrevLRPRPhsAdvComp_Cnt_M_u16LRPRHighSector_Cnt_M_lgc[3]LRPRLowSector_Cnt_M_lgc[3]PrevLRPRHighSector_Cnt_M_lgc[3]PrevLRPRLowSector_Cnt_M_lgc[3]LowPhReasErrorAcc_Cnt_M_u16PhaseOffset_Rev_M_u0p16[3]NTCParamStatusRte_Call_DigPhsReasDiag_Per1_CP0_CheckpointReachedRte_Call_DigPhsReasDiag_Per1_CP1_CheckpointReachedRte_Call_NxtrDiagMgr_SetNTCStatusP/FCPU Cycles
1((True = PDActivateTest_Cnt_T_lgc) And (HighResPhsReasDisable_M_u8 < 100))=False
((TRUE == PDActivateTest_Cnt_T_lgc)=True && (HighResPhsReasDisable_M_u8 < 100U)=False)
(MeasuredOnTime_Cnt_T_u32[i] >= k_PhsReasEnableThresh_Cnt_u32) =True OR
(ExpectedOnTime_Cnt_T_u32[i] >= k_PhsReasEnableThresh_Cnt_u32) =False)
( ErrorFiltOut_Cnt_T_s32[i] > ((sint32)k_ErrorThresh_Cnt_u32) )=False
( (-ErrorFiltOut_Cnt_T_s32[i]) > ((sint32)k_ErrorThresh_Cnt_u32) )=True
(LRPRModIdx_Uls_T_f32 < 0.0F)=True
(( LRPRMtrPosNor_rev_T_u0p16[i] >= D_35DEG_REV_U0P16) && ( LRPRMtrPosNor_rev_T_u0p16[i] <=D_205DEG_REV_U0P16))=True
(( LRPRMtrPosNor_rev_T_u0p16[i] >= D_245DEG_REV_U0P16) && ( LRPRMtrPosNor_rev_T_u0p16[i] <=D_355DEG_REV_U0P16))=True
0000000-1536-1-1118-10000-10000-262136,-262136,-26213600000,0,00,0,00,0,00,0,000000000000,0,0--------------------------------------11-262136, -262136, -26213610153601, 0, 00, 1, 00, 0, 00, 0, 000.166671752929688, 0.5, 0.833343505859375821061111--

2(HighResPhsReasDisable_M_u8 > 100U)=True
(LowResPhsReasDisable_M_u8 > 100U)=True
( (-ErrorFiltOut_Cnt_T_s32[i]) > (k_ErrorThresh_Cnt_u32) ) =False
(LRPRModIdx_Uls_T_f32 < 0.0F)=False
(LRPRPhaseadvanceCaptured_Cnt_T_s16 < (sint16)0U)=False
((TRUE == PrevLRPRLowSector_Cnt_M_lgc[i] ) && (TRUE == LRPRLowSector_Cnt_M_lgc[i]))=True
((TRUE == PrevLRPRLowSector_Cnt_M_lgc[i] ) && (TRUE == LRPRLowSector_Cnt_M_lgc[i]))=True
( ParamBits_Cnt_T_u08 == D_RESETDIGDIAGACTIVE_CNT_U08 )=True
((TRUE == PDActivateTest_Cnt_T_lgc) = True && (HighResPhsReasDisable_M_u8 < 100U)=False)
(DiagFailed_m( LowPhReasErrorAcc_Cnt_M_u16, k_LowResPhsReas_Cnt_str) == TRUE) = True
20000020000020000020000020000020000011536111181110010020000010000262136,262136,26213665535200000161440.9999847412109375,0.9999847412109375,0.99998474121093751,1,11,1,11,1,1122720006144100010001000100010001,1,1--------------------------------------100100-9995.84753417969, -9995.84753417969, -9995.8475341796911153661441, 0, 10, 1, 01, 1, 11, 1, 100, 0.666671752929688, 0.3333282470703138200111--

3( (MeasuredOnTime_Cnt_T_u32[i] >= k_PhsReasEnableThresh_Cnt_u32) = True ||
(ExpectedOnTime_Cnt_T_u32[i] >= k_PhsReasEnableThresh_Cnt_u32) = False)
(LRPRPhaseadvanceCaptured_Cnt_T_s16 < (sint16)0U)=True
((TRUE == PrevLRPRLowSector_Cnt_M_lgc[i] =True) && (TRUE == LRPRLowSector_Cnt_M_lgc[i])=False)
016948813350212881129254768950.649596095085144-13551-506.9036557078361058354635772010,12,1330585665200.11000.1, 0.199996948242188, 0.30,0,01,1,10,0,00.112223201.52463150021116.727024793624888258457602160,0,0--------------------------------------6846.2664794921875, 8.2664794921875, 9.266479492187510.147891001, 0, 00, 0, 10, 0, 01, 1, 1650, 0.666671752929688, 0.3333282470703138200111--

4
((TRUE == PDActivateTest_Cnt_T_lgc) && (HighResPhsReasDisable_M_u8 < 100U))=True
((TRUE == PDActivateTest_Cnt_T_lgc) && (LowResPhsReasDisable_M_u8 < 100U))=True
(((Abs_f32_m(MotorVelMRFUnfilt_MtrRadpS_T_f32) < k_LRPRMtrVelDiagEnable_MtrRadpS_T_f32)) = True&&
(( Abs_s16_m(PrevPhsAdvComp_Cnt_T_s16) > D_PHSPOSADVCNTS90DEG_CNT_U16 )
== (Abs_s16_m(PhsAdvComp_Cnt_T_s16) > D_PHSPOSADVCNTS90DEG_CNT_U16 ))=False)
20000033061269322633195681572251-1072-0.540214657783508391.197813510895011515134931-261100,200,30029575903150.22000.399993896484375, 0.5, 0.61,1,10,0,01,1,10.120.7143300175666810.016816556453704841946.3962365985222465.8813108801841758773583620,0,0--------------------------------------161656.67724609375, 200, 3000.5402146577835080.220002001, 0, 10, 1, 01, 1, 10, 0, 000.166671752929688, 0.5, 0.8333435058593758200111--

5( ErrorFiltOut_Cnt_T_s32[i] > ((sint32)k_ErrorThresh_Cnt_u32) )=True172738755112171240358411811969030.693134307861328-200290.83798134326900492112595823721111,2222,333339619234460.329000.5,0.35,0.81,1,10,0,01,1,10.3920.902124702930453779.679817974573219814.01755243539824850254841,1,1--------------------------------------5022-81019.1096191406, 2222, 45341.134033203100.3612429000, 1, 11, 0, 01, 1, 10, 0, 000.166671752929688, 0.5, 0.83334350585937582181111--

6(((float32)ExpectedOnTime_Cnt_T_u32[i] > LRPRHighLimit_Cnt_T_f32 ) || ((float32)ExpectedOnTime_Cnt_T_u32[i] <
LRPRLowLimit_Cnt_T_f32))=False
(((Abs_f32_m(MotorVelMRFUnfilt_MtrRadpS_T_f32) < k_LRPRMtrVelDiagEnable_MtrRadpS_T_f32)) &&
(( Abs_s16_m(PrevPhsAdvComp_Cnt_T_s16) > D_PHSPOSADVCNTS90DEG_CNT_U16 )
== (Abs_s16_m(PhsAdvComp_Cnt_T_s16) > D_PHSPOSADVCNTS90DEG_CNT_U16 )))=True
(TRUE == SetFaultCounter_Cnt_T_lgc) =False
134783248809178344112154041933121-10851335.8459432125090114861299829333-10,-20,-30415941534310.439000.699996948242188, 0.8, 0.8999938964843750,0,01,1,10,0,00.492259129.61256545784329281.9371458888052808063036311,1,1--------------------------------------15870.15478515625, -20, -9.690429687510.4505939000, 1, 00, 0, 00, 0, 01, 1, 100.166671752929688, 0.5, 0.8333435058593758200111--

7(((Abs_f32_m(MotorVelMRFUnfilt_MtrRadpS_T_f32) < k_LRPRMtrVelDiagEnable_MtrRadpS_T_f32)) &&
(( Abs_s16_m(PrevPhsAdvComp_Cnt_T_s16) > D_PHSPOSADVCNTS90DEG_CNT_U16 )
== (Abs_s16_m(PhsAdvComp_Cnt_T_s16) > D_PHSPOSADVCNTS90DEG_CNT_U16 )))=True
(TRUE == SetFaultCounter_Cnt_T_lgc)=False
29839031276186761108118674361-1980.285947561264038-268.585888266563-11444375942-94201000,2000,30003187881260.44000.11, 0.1199951171875, 0.131,1,10,0,01,1,10.1420.82327634096145643605.9813969731444654.8280845284461012488026770,0,0--------------------------------------4544951.370239257813, 1902.74047851563, 30000.2859475612640380.459464001, 1, 00, 0, 11, 1, 10, 0, 03490.166671752929688, 0.5, 0.8333435058593758200111--

8(HighResPhsReasDisable_M_u8 > 100U)=True
(LowResPhsReasDisable_M_u8 > 100U)=True
( (-ErrorFiltOut_Cnt_T_s32[i]) > (k_ErrorThresh_Cnt_u32) ) =False
(LRPRModIdx_Uls_T_f32 < 0.0F)=False
(LRPRPhaseadvanceCaptured_Cnt_T_s16 < (sint16)0U)=False
((TRUE == PrevLRPRLowSector_Cnt_M_lgc[i] ) && (TRUE == LRPRLowSector_Cnt_M_lgc[i]))=True
((TRUE == PrevLRPRLowSector_Cnt_M_lgc[i] ) && (TRUE == LRPRLowSector_Cnt_M_lgc[i]))=True
( ParamBits_Cnt_T_u08 == D_RESETDIGDIAGACTIVE_CNT_U08 )=True
((TRUE == PDActivateTest_Cnt_T_lgc) = True && (HighResPhsReasDisable_M_u8 < 100U)=False)
(DiagFailed_m( LowPhReasErrorAcc_Cnt_M_u16, k_LowResPhsReas_Cnt_str) == TRUE) = True
2000002000002000002000002000002000001153619001110010020000010000262136,262136,26213665535200000130720.9999847412109375,0.9999847412109375,0.99998474121093751,1,11,1,11,1,1122720006144100010001000100010001,1,1--------------------------------------100100-9995.84753417969, -9995.84753417969, -9995.8475341796911153630721, 0, 10, 1, 01, 1, 11, 1, 110000, 0.666671752929688, 0.33332824707031382641111--

9HighResError_Cnt_T_s32[i] >= 262136000260000000-1536-1-1118-106000-10000-262136,-262136,-26213600000,0,00,0,00,0,00,0,000000000000,0,0--------------------------------------611-262136, -262136, -26213610153601, 0, 00, 1, 00, 0, 00, 0, 000.166671752929688, 0.5, 0.833343505859375821061111--

10HighResError_Cnt_T_s32[i] <= -262136260000000000-1536-1-1118-10600010000-262136,-262136,-26213600000,0,00,0,00,0,00,0,000000000000,0,0--------------------------------------611-262136, -262136, -26213610153601, 0, 00, 1, 00, 0, 00, 0, 000.166671752929688, 0.5, 0.833343505859375821061111--
























































































































































































































































































































































































































































































































































































































































































































































































































Sheet 9: DigPhsReasDiag_Per1() b

DigPhsReasDiag_Per1TS--










































































bI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PFunc Stub
Counter
Func Stub
Counter
Func Stub
Counter
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionMeasuredOnTimeA_Cnt_u32MeasuredOnTimeB_Cnt_u32MeasuredOnTimeC_Cnt_u32ExpectedOnTimeA_Cnt_u32ExpectedOnTimeB_Cnt_u32ExpectedOnTimeC_Cnt_u32LRPRCorrectedMtrPosCaptured_Rev_f32LRPRPhaseadvanceCaptured_Cnt_s16LRPRModulationIndexCaptured_Uls_f32MotorVelMRFUnfiltered_MtrRadpS_f32MtrElecMechPolarity_Cnt_s08PDActivateTest_Cnt_lgcHighResPhsReasDisable_M_u8LowResPhsReasDisable_M_u8k_PhsReasEnableThresh_Cnt_u32k_PhsReasErrorTerm_Cnt_s16FilterSV_Cnt_M_s18p13[3]k_ErrorFiltKn_Cnt_u16k_ErrorThresh_Cnt_u32LRPRAdjModldAComp_Cnt_M_f32LRPRPhsAdvComp_Cnt_M_u16PhaseOffset_Rev_M_u0p16[3]LRPRHighSector_Cnt_M_lgc[3]LRPRLowSector_Cnt_M_lgc[3]PrevLRPRHighSector_Cnt_M_lgc[3]PrevLRPRAdjModldComp_Cnt_M_f32k_LowResPhsReasMaxTol_Uls_f32k_LowResPhsReasMinTol_Uls_f32MaxNrCommOffVltg_Cnt_M_f32PrevLRPRPhsAdvComp_Cnt_M_u16k_LRPRMtrVelDiagEnable_MtrRadpS_T_f32LowPhReasErrorAcc_Cnt_M_u16k_LowResPhsReas_Cnt_str.Pstepk_LowResPhsReas_Cnt_str.NStepk_LowResPhsReas_Cnt_str.ThresholdPrevLRPRLowSector_Cnt_M_lgc[3]HighResPhsReasDisable_M_u8LowResPhsReasDisable_M_u8FilterSV_Cnt_M_s18p13[3]LRPRAdjModldAComp_Cnt_M_f32PrevLRPRAdjModldComp_Cnt_M_f32LRPRPhsAdvComp_Cnt_M_u16PrevLRPRPhsAdvComp_Cnt_M_u16LRPRHighSector_Cnt_M_lgc[3]LRPRLowSector_Cnt_M_lgc[3]PrevLRPRHighSector_Cnt_M_lgc[3]PrevLRPRLowSector_Cnt_M_lgc[3]LowPhReasErrorAcc_Cnt_M_u16PhaseOffset_Rev_M_u0p16[3]NTCParamStatusRte_Call_DigPhsReasDiag_Per1_CP0_CheckpointReachedRte_Call_DigPhsReasDiag_Per1_CP1_CheckpointReachedRte_Call_NxtrDiagMgr_SetNTCStatusHighResPhsReasDisable_M_u8LowResPhsReasDisable_M_u8FilterSV_Cnt_M_s18p13[3]LRPRAdjModldAComp_Cnt_M_f32PrevLRPRAdjModldComp_Cnt_M_f32LRPRPhsAdvComp_Cnt_M_u16PrevLRPRPhsAdvComp_Cnt_M_u16LRPRHighSector_Cnt_M_lgc[3]LRPRLowSector_Cnt_M_lgc[3]PrevLRPRHighSector_Cnt_M_lgc[3]PrevLRPRLowSector_Cnt_M_lgc[3]LowPhReasErrorAcc_Cnt_M_u16PhaseOffset_Rev_M_u0p16[3]NTCParamStatusRte_Call_DigPhsReasDiag_Per1_CP0_CheckpointReachedRte_Call_DigPhsReasDiag_Per1_CP1_CheckpointReachedRte_Call_NxtrDiagMgr_SetNTCStatusP/FCPU Cycles
1All Min0000000-1536-1-1118-10000-10000-262136,-262136,-26213600000,0,00,0,00,0,00,0,000000000000,0,0--------------------------------------11-262136, -262136, -26213610153601, 0, 00, 1, 00, 0, 00, 0, 000.166671752929688, 0.5, 0.833343505859375821061111--

2All Max20000020000020000020000020000020000011536111181110010020000010000262136,262136,26213665535200000161440.9999847412109375,0.9999847412109375,0.99998474121093751,1,11,1,11,1,1122720006144100010001000100010001,1,1--------------------------------------100100-9995.84753417969, -9995.84753417969, -9995.8475341796911153661441, 0, 10, 1, 01, 1, 11, 1, 100, 0.666671752929688, 0.3333282470703138200111--

3MeasuredOnTimeA_Cnt_u32==>Min016948813350212881129254768950.649596095085144-13551-506.9036557078361058354635772010,12,1330585665200.11000.1, 0.199996948242188, 0.30,0,01,1,10,0,00.112223201.52463150021116.727024793624888258457602160,0,0--------------------------------------6846.2664794921875, 8.2664794921875, 9.266479492187510.147891001, 0, 00, 0, 10, 0, 01, 1, 1650, 0.666671752929688, 0.3333282470703138200111--

4MeasuredOnTimeA_Cnt_u32==>Max20000033061269322633195681572251-1072-0.540214657783508391.197813510895011515134931-261100,200,30029575903150.22000.399993896484375, 0.5, 0.61,1,10,0,01,1,10.120.7143300175666810.016816556453704841946.3962365985222465.8813108801841758773583620,0,0--------------------------------------161656.67724609375, 200, 3000.5402146577835080.220002001, 0, 10, 1, 01, 1, 10, 0, 000.166671752929688, 0.5, 0.8333435058593758200111--

5MeasuredOnTimeA_Cnt_u32==>Pos81038897412538846209101126780891-56611115.609409272671131801996979687450,285,598227431854230.33000.699996948242188, 0.8, 0.8999938964843750,0,01,1,10,0,00.1320.71505761146545439374.1478153467333840.35174119472596582329731,1,1--------------------------------------3281450, 285, 59810.355783000, 1, 11, 0, 00, 0, 01, 1, 100, 0.666671752929688, 0.3333282470703138200111--

6MeasuredOnTimeB_Cnt_u32==>Min29839031276186761108118674361-1980.285947561264038-268.585888266563-11444375942-94201000,2000,30003187881260.44000.11, 0.1199951171875, 0.131,1,10,0,01,1,10.1420.82327634096145643605.9813969731444654.8280845284461012488026770,0,0--------------------------------------4544951.370239257813, 1902.74047851563, 30000.2859475612640380.459464001, 1, 00, 0, 11, 1, 10, 0, 03490.166671752929688, 0.5, 0.8333435058593758200111--

7MeasuredOnTimeB_Cnt_u32==>Max139594200000973411520571046591310730.268185973167419-2350.631602585315704-300.6809648871421042547307394414000,5000,6000632271534410.55000.139999389648438, 0.149993896484375, 0.160,0,01,1,10,0,00.150.8641819953918462864.653198480606555837.673651695252720340165971,1,1--------------------------------------4355140.93017578125, 176.162719726563, 211.3952636718750.6316025853157040.559095001, 0, 10, 1, 00, 0, 01, 1, 1970, 0.666671752929688, 0.33332824707031382641111--

8MeasuredOnTimeB_Cnt_u32==>Pos1948881517081854641328151999858263211095-0.785672545433044-93.66532731056211186791581698310000,20000,3000038736247190.66000.21, 0.22, 0.2299957275390630,0,00,0,00,0,00.161.286303579807280.016717135906219552723.80765479866696.50065869092941484759228320,0,0--------------------------------------8784089.35546875, 8178.7109375, 12268.066406250.7856725454330440.641676000, 1, 00, 0, 00, 0, 00, 0, 000, 0.666671752929688, 0.3333282470703138200111--

9MeasuredOnTimeC_Cnt_u32==>Min6283011969904809546660880500.0623089075088501-1364-0.830416977405548491.034036815167-1055143857-426840000,50000,6000018060467130.77000.5,0.35,0.81,1,10,0,01,1,10.170.8320115804672240.5315179824829149739.7722033262777833.3660122156144517785505761,1,1--------------------------------------6640000, 50000, 600000.8304169774055480.717087001, 0, 10, 1, 01, 1, 10, 0, 000.166671752929688, 0.5, 0.8333435058593758200111--

10MeasuredOnTimeC_Cnt_u32==>Max195027181462000006708614617429008112211-546.115386128426-11908451129-5893-10,-20,-30307561607470.88000.6, 0.61, 0.61999511718750,0,01,1,10,0,00.180.321169316768646246417.7823053002888267.4183281064034619366566910,0,0--------------------------------------9185-2.4912109375, -8.73681640625, -14.98242187510.812218001, 0, 00, 1, 00, 0, 01, 1, 100.166671752929688, 0.5, 0.8333435058593758200111--

11MeasuredOnTimeC_Cnt_u32==>Pos778692330148915103120165171219911-7991833.924374401569012499174513-1137-100,-200,-30021879160950.99000.25,0.3,0.351,1,10,0,01,1,10.192252705.4782567024999472.2537510395056127023057390,0,0--------------------------------------25100-100, -200, -30010.953459000, 1, 00, 0, 11, 1, 10, 0, 03070.166671752929688, 0.5, 0.8333435058593758200111--

12ExpectedOnTimeA_Cnt_u32==>Min128546486921423610363331329720.488293409347534-1375-0.942175507545471629.71811771392810511562563701-1000,-2000,-300055082452040.1110000.35, 0.399993896484375, 0.4499969482421880,0,01,1,10,0,00.20.6503418087959290.36315625905990622376.8991305232111019.95787042379388053716451041,1,1--------------------------------------62-1000, -2000, -30000.9421755075454710.11169710000, 1, 11, 0, 00, 0, 01, 1, 11600, 0.666671752929688, 0.33332824707031382641111--

13ExpectedOnTimeA_Cnt_u32==>Max66396367670912000007184311774218620.969902455806732-79.4646869301796-11786692851-4377-450,-780,-9004634999150.1211000,0,01,1,10,0,01,1,10.210.0892621278762817271258.04782497881221827.6518477201467313972034200,0,0--------------------------------------7967-127.503295898438, -780, -260.6644287109380.9699024558067320.1286211001, 0, 00, 0, 11, 1, 10, 0, 04200.166671752929688, 0.5, 0.83334350585937582641111--

14ExpectedOnTimeA_Cnt_u32==>Pos207061056242204167144117940477960.933656692504883-14241-837.32404887676210396250949305-10000,-20000,-3000057969471660.1312000.399993896484375, 0.5, 0.60,0,01,1,10,0,00.222264428.55529385811332239.8384094834331304054834201,1,1--------------------------------------497-1154.63256835938, -2309.26513671875, -3463.8977050781310.13472012000, 1, 01, 0, 00, 0, 01, 1, 100, 0.666671752929688, 0.3333282470703138200111--

15ExpectedOnTimeB_Cnt_u32==>Min1416991718131564516052801920461-1118-0.639966189861298-673.085135400295-11131239778-63311111,2222,333313602787620.1413000.699996948242188, 0.8, 0.8999938964843750,0,00,0,00,0,00.231.641180038452151.8340326547622756980.60973048211443939.410743236542332564719220,0,0--------------------------------------1413881.86474609375, 1762.06909179688, 2642.27343750.6399661898612980.14195413001, 0, 10, 1, 00, 0, 00, 0, 000.166671752929688, 0.5, 0.8333435058593758200111--

16ExpectedOnTimeB_Cnt_u32==>Max16445215006032449653102000001935620.7939770221710215200.153545498847961-570.0968587398530067384898530974444,5555,666672901414320.1514000.1, 0.199996948242188, 0.31,1,10,0,01,1,10.2420.13859242200851468632.40339082481554718.485184848309718222973911,1,1--------------------------------------6839-7421.82763671875, 10147.7355957031, 23501.87768554690.1535454988479610.1552014000, 1, 00, 0, 11, 1, 10, 0, 0910.166671752929688, 0.5, 0.83334350585937582641111--

17ExpectedOnTimeB_Cnt_u32==>Pos1265021168201357421768811704051737190.463978409767151-7290.4783937335014341108.76076000929-102649199085-9005-1111,-2222,-3333307671185470.1615000.399993896484375, 0.5, 0.60,0,01,1,10,0,00.250.6208924055099490.11462259292602561253.08899915221665690.325031399727227827661890,0,0--------------------------------------2750-1111, -2222, -33330.4783937335014340.16541515001, 0, 10, 1, 00, 0, 01, 1, 100.166671752929688, 0.5, 0.8333435058593758200111--

18ExpectedOnTimeC_Cnt_u32==>Min18692149536695051922608790110521-1083.091942429541185903120750910,12,1381561793290.1716000.699996948242188, 0.8, 0.8999938964843751,1,10,0,01,1,10.260.510679185390472214163.0199061036177632.30347758531574086914131720,0,0--------------------------------------86919.00439453125, 11.00439453125, 12.0043945312510.17105216001, 0, 10, 1, 01, 1, 10, 0, 000, 0.666671752929688, 0.3333282470703138200111--

19ExpectedOnTimeC_Cnt_u32==>Max5345613990124793350371330432000001-891-0.491767346858978-385.25679653883-11211765511-8909100,200,300103511581050.1817000.11, 0.1199951171875, 0.130,0,01,1,10,0,00.272234612.70148944861887667.8116815090182906383258331,1,1--------------------------------------2218100, 168.411254882813, 253.2486572265630.4917673468589780.18218117001, 0, 10, 1, 00, 0, 01, 1, 18330.166671752929688, 0.5, 0.83334350585937582641111--

20ExpectedOnTimeC_Cnt_u32==>Pos4797740766266894847448211242800.923490285873413-8411474.094150066376002283142342-277450,285,598327391259140.1918000.139999389648438, 0.149993896484375, 0.161,1,10,0,01,1,10.281.866672813892360.77216380834579525220.92132681611998462.1439422965057154582097100,0,0--------------------------------------2384450, 285, 59810.19530318000, 1, 01, 0, 01, 1, 10, 0, 05060.166671752929688, 0.5, 0.8333435058593758200111--

21LRPRCorrectedMtrPosCaptured_Rev_f32==>Min695281097905219157319112180369500190.958179414272308-476.59034258127201516557345-5571000,2000,3000547881475710.219000.21, 0.22, 0.2299957275390630,0,01,1,10,0,00.290.9241558313369750.22147679328918537026.40555250652109919.0140422582636619521334411,1,1--------------------------------------5266164.00146484375, 328.0029296875, 30000.9581794142723080.21919001, 1, 00, 0, 10, 0, 01, 1, 15280.166671752929688, 0.5, 0.83334350585937582641111--

22LRPRCorrectedMtrPosCaptured_Rev_f32==>Max27030125364154479120813595271051111368-0.333152055740356-409.454406142235-11622263348-78114000,5000,6000445871948450.2120000.5,0.35,0.80,0,00,0,00,0,00.32264219.70916205642220216.4905954003338547973213390,0,0--------------------------------------63231278.62548828125, 1598.28186035156, 1917.938232421880.3331520557403560.21344020000, 0, 11, 0, 00, 0, 00, 0, 05330.166671752929688, 0.5, 0.83334350585937582641111--

23LRPRCorrectedMtrPosCaptured_Rev_f32==>Pos695281097905219157319112180369500.5190.958179414272308-476.59034258127201516557345-5571000,2000,3000547881475710.2221000.6, 0.61, 0.61999511718750,0,01,1,10,0,00.310.9241558313369750.22147679328918537026.40555250652331919.0140422582636619521334411,1,1--------------------------------------5266164.00146484375, 328.0029296875, 30000.9581794142723080.221921000, 0, 10, 0, 00, 0, 01, 1, 15280.166671752929688, 0.5, 0.83334350585937582641111--

24LRPRPhaseadvanceCaptured_Cnt_s16==>Min17555719821013964914775196720752750.130317091941833-1536-0.859731376171112-784.672090947628-1061429801-802510000,20000,3000050707537930.2322000.25,0.3,0.351,1,10,0,01,1,10.321.365184307098380.16436398029327442313.96697354312442757.7378768920891247258158111,1,1--------------------------------------625-13038.5075683594, -67790.2076416016, -36806.72009277340.8597313761711120.23153622001, 0, 10, 1, 01, 1, 10, 0, 000.166671752929688, 0.5, 0.8333435058593758281111--

25LRPRPhaseadvanceCaptured_Cnt_s16==>Max4379584692279715217884935783460.31445527076721215361-395.90191006660500109264559-271040000,50000,600003401621400.2423000.35, 0.399993896484375, 0.4499969482421880,0,01,1,10,0,00.331.169038832187651.774063289165550510.37511867292553517.1527096629149522383505910,0,0--------------------------------------119337924.1943359375, 47405.2429199219, 56886.291503906310.24153623000, 0, 11, 0, 00, 0, 01, 1, 15910.166671752929688, 0.5, 0.83334350585937582641111--

26LRPRPhaseadvanceCaptured_Cnt_s16==>Zero82206128801448741706728412159450.20039522647857700.472186744213104-50.6263321042061-10954995429-8921-10,-20,-30150741190210.2524000.399993896484375, 0.5, 0.61,1,10,0,01,1,10.340.02657926082611080.82881546020507849981.5434445143266429.87567961215979937441375990,0,0--------------------------------------965022393.0700683594, -25652.4243164063, -300.4721867442131040.25024001, 0, 00, 1, 01, 1, 10, 0, 08560.166671752929688, 0.5, 0.83334350585937582641111--

27LRPRPhaseadvanceCaptured_Cnt_s16==>Neg1933451019731580157368111111002070.102511882781982-3611949.9760721921921038671848899257-100,-200,-300390101901130.2625000.699996948242188, 0.8, 0.8999938964843750,0,01,1,10,0,00.350.2091459631919860.075508654117584264888.04768329862775301.4918649792679892742787161,1,1--------------------------------------3968-38.094482421875, -200, -30010.26578325000, 0, 10, 1, 00, 0, 01, 1, 17110, 0.666671752929688, 0.3333282470703138200111--

28LRPRPhaseadvanceCaptured_Cnt_s16==>Pos113580174521501505825317111814374811052-0.802513062953949-1030.681055247781135678069843-1000,-2000,-3000647681891310.2726000.11, 0.1199951171875, 0.131,1,10,0,01,1,10.361.708381891250610.91507995128631611708.94481801992886492.2255232334145829822863810,0,0--------------------------------------367-11.71875, -23.4375, -35.156250.8025130629539490.27412426000, 1, 00, 0, 01, 1, 10, 0, 02960, 0.666671752929688, 0.3333282470703138200111--

29LRPRModulationIndexCaptured_Uls_f32==>Min1294233522185874101731242891616491-1414-1589.52757072448701411526631485-450,-780,-900511521426990.2827000.139999389648438, 0.149993896484375, 0.160,0,01,1,10,0,00.3720.21991342306137130122.71136063342997594.465405404568239651155291,1,1--------------------------------------52-450, -780, -194.41210937510.28165827001, 0, 10, 1, 00, 0, 01, 1, 1290.166671752929688, 0.5, 0.83334350585937582641111--

30LRPRModulationIndexCaptured_Uls_f32==>Max13974213529121903781801527031498760.45225155353546111991-952.872538149357-10899614763-9899-10000,-20000,-3000011613676270.2928000.21, 0.22, 0.2299957275390630,0,00,0,00,0,00.380.9078379869461061.1472709178924633746.97539246083108203.860688090324393203308880,0,0--------------------------------------9097-17381.4564208984, -11617.7161865234, -253.028320312510.29119928000, 1, 11, 0, 00, 0, 00, 0, 0850.166671752929688, 0.5, 0.8333435058593758200111--

31LRPRModulationIndexCaptured_Uls_f32==>Zero172738755112171240358411811969030.693134307861328-200290.83798134326900492112595823721111,2222,333339619234460.329000.5,0.35,0.81,1,10,0,01,1,10.3920.902124702930453779.679817974573219814.01755243539824850254841,1,1--------------------------------------5022-81019.1096191406, 2222, 45341.134033203100.3612429000, 1, 11, 0, 01, 1, 10, 0, 000.166671752929688, 0.5, 0.83334350585937582181111--

32LRPRModulationIndexCaptured_Uls_f32==>Pos169392175573860954272714209082011-2850.336745381355286418.6133442521111419013738249554444,5555,6666431161016790.3130000.6, 0.61, 0.61999511718750,0,01,1,10,0,00.41.77203464508057238463.51447844513330105.45632219314667143914390,0,0--------------------------------------42911522.93310546875, 1902.3505859375, 66660.3367453813552860.31585930000, 0, 11, 0, 00, 0, 01, 1, 15280, 0.666671752929688, 0.33332824707031382641111--

33LRPRModulationIndexCaptured_Uls_f32==>Neg300041546011390276407778291546630.9613068103790281325-0.490151226520538622.253991365433009445155588-2223-1111,-2222,-333360893174080.3231000.25,0.3,0.351,1,10,0,01,1,10.411.3679214119911225564.854185998443441554.5994245409976251704811880,0,0--------------------------------------9546-1111, -2222, -33330.4901512265205380.32439731000, 1, 11, 0, 01, 1, 10, 0, 01440.166671752929688, 0.5, 0.8333435058593758200111--

34MotorVelMRFUnfiltered_MtrRadpS_f32==>Min839465573812948690502142718617030.463942170143127-764-0.490151226520538-111800251781034134810,12,1333351564370.3332000.35, 0.399993896484375, 0.4499969482421880,0,01,1,10,0,00.4220.98806142807006830304.24149644383552170.2293826341635322238937331,1,1--------------------------------------26185.9288330078125, 7.9288330078125, 8.92883300781250.4901512265205380.33230832000, 1, 00, 0, 00, 0, 01, 1, 100.166671752929688, 0.5, 0.8333435058593758200111--

35MotorVelMRFUnfiltered_MtrRadpS_f32==>Max5228517516614784350315169232388141166-0.1373300552368161118-115529151998-6734100,200,30034516681970.3433000,0,01,1,10,0,01,1,10.4321.7203293442726147454.04776579143663623.84921294450818650771410,0,0--------------------------------------5630100, 94.66552734375, 3000.1373300552368160.34323833000, 0, 11, 0, 01, 1, 10, 0, 01150.166671752929688, 0.5, 0.83334350585937582641111--

36MotorVelMRFUnfiltered_MtrRadpS_f32==>Zero44275135864110681220851136512900.137102961540222-14001010475347003370450,285,598255461838810.3534000.6, 0.61, 0.61999511718750,0,01,1,10,0,00.441.364431142807010.11294209957122841405.16185569763774798.398108243942387642307211,1,1--------------------------------------576275.369140625, 175.855712890625, 59810.35474434000, 1, 11, 0, 00, 0, 01, 1, 100, 0.666671752929688, 0.3333282470703138200111--

37MotorVelMRFUnfiltered_MtrRadpS_f32==>Pos114778134324399790649146006749300.2662656307220469651977.110664844513-108286187315-57671000,2000,3000320181714380.3635000,0,00,0,00,0,00,0,00.451.13833934068680.72935432195663544851.90839213133885360.7137636542322213558545520,0,0--------------------------------------83871000, 2000, 300010.3696535001, 0, 10, 1, 00, 0, 00, 0, 000.166671752929688, 0.5, 0.8333435058593758200111--

38MotorVelMRFUnfiltered_MtrRadpS_f32==>Neg1513531847836489712083439602613021-92-0.232243597507477-393.0881291031840147256481118674000,5000,600053430424460.3736000.11, 0.1199951171875, 0.131,1,10,0,01,1,10.4620.8098661899566652110.339864373213996352.3172734975828894371183891,1,1--------------------------------------4826738.8916015625, 923.614501953125, 1108.337402343750.2322435975074770.37298036000, 0, 10, 1, 01, 1, 10, 0, 07710.166671752929688, 0.5, 0.83334350585937582641111--

39MtrElecMechPolarity_Cnt_s08==>Min1348793339464116015124327881411400.041827917098999-963.616320014-11553513802704810000,20000,300000158810.3837000.139999389648438, 0.149993896484375, 0.160,0,01,1,10,0,00.470.0895888209342957225036.21970301874107525.542815744877929810608730,0,0--------------------------------------563610000, 20000, 300000.0418279170989990.3814037001, 1, 00, 0, 10, 0, 01, 1, 13210.166671752929688, 0.5, 0.83334350585937582681111--

40MtrElecMechPolarity_Cnt_s08==>Max1920517509512557340088161108338931-3791-448.22052901983311388759882101540000,50000,6000065535736880.3938000.399993896484375, 0.5, 0.61,1,10,0,01,1,10.480.7069458961486821.739165425300615651.494920969421810006242772268690,0,0--------------------------------------39880.6103515625, 0.762939453125, 0.9155273437510.39576538000, 0, 11, 0, 01, 1, 10, 0, 03980, 0.666671752929688, 0.3333282470703138200111--

41MtrElecMechPolarity_Cnt_s08==>Zero134783248809178344112154041933121-10851335.8459432125090114861299829333-10,-20,-30415941534310.439000.699996948242188, 0.8, 0.8999938964843750,0,01,1,10,0,00.492259129.61256545784329281.9371458888052808063036311,1,1--------------------------------------15870.15478515625, -20, -9.690429687510.4505939000, 1, 00, 0, 00, 0, 01, 1, 100.166671752929688, 0.5, 0.8333435058593758200111--

42PDActivateTest_Cnt_lgc==>Min1513503835415764318803546105985890.4782520532608037160.247141540050507-758.17750912904700744132170-2527-100,-200,-300972500.4140000.11, 0.1199951171875, 0.131,1,10,0,01,1,10.51.16298043727875222225.36723697194440255.5506912469865183577128450,0,0--------------------------------------75425733.57543945313, 1353.95812988281, -8641.989135742190.2471415400505070.4171640000, 0, 11, 0, 01, 1, 10, 0, 000.166671752929688, 0.5, 0.83334350585937582371111--

43PDActivateTest_Cnt_lgc==>Max485714694510409425785107291696601-8590.787022113800049846.5524548292160122601756422517-1000,-2000,-3000584512000000.4241000.139999389648438, 0.149993896484375, 0.160,0,01,1,10,0,00.5120.244346201419839849.96790748835455163.38186913728718754802518881,1,1--------------------------------------2361-1000, -2000, -30000.7870221138000490.42528541000, 1, 00, 0, 10, 0, 01, 1, 16240.166671752929688, 0.5, 0.8333435058593758200111--

44HighResPhsReasDisable_M_u8==>Min2220216163912014791475341781832411-890-0.431435525417328-753.178757846355-1101932617-7263-450,-780,-900618051683420.4342000.21, 0.22, 0.2299957275390630,0,00,0,00,0,00.520.480914354324341215735.00934076314662890.8103935718545392202801420,0,0--------------------------------------120-19.9603271484375, -40.633544921875, -47.46520996093750.4314355254173280.43218242001, 0, 10, 1, 00, 0, 00, 0, 01420.166671752929688, 0.5, 0.83334350585937582641111--

45HighResPhsReasDisable_M_u8==>Max17406313365843266195079149367996151-5431-144.6736574172971110095870214774-10000,-20000,-3000025034536330.4443000.5,0.35,0.81,1,10,0,01,1,10.531.9973857998848269303.04220646624773345.9461459517485253664399111,1,1--------------------------------------1009623.37890625, -8185.85888671875, 1158.040039062510.44560143000, 1, 11, 0, 01, 1, 10, 0, 0860, 0.666671752929688, 0.3333282470703138200111--

46HighResPhsReasDisable_M_u8==>Pos943015679814757969753346971666410.841467022895813-234-0.224420130252838954.81415408849710422618532143181111,2222,333363920475180.4544000.6, 0.61, 0.61999511718750,0,01,1,10,0,00.540.764927029609681.9997899532318150434.40961277494884109.712411761284637686609500,0,0--------------------------------------43271111, 2222, 33330.2244201302528380.45283844001, 0, 00, 1, 00, 0, 01, 1, 100, 0.666671752929688, 0.3333282470703138200111--

47LowResPhsReasDisable_M_u8==>Min436301072875113326772123517546150.113378524780273741-0.946974515914917-73.4711188077927107409338774774444,5555,6666263771456860.4645000.25,0.3,0.351,1,10,0,01,1,10.551.073936641216281.9334347844123855039.0968835954995612.580545485026512325999890,0,0--------------------------------------7514444, 6842.939453125, 66660.9469745159149170.46381345000, 1, 01, 0, 01, 1, 10, 0, 0520, 0.666671752929688, 0.3333282470703138200111--

48LowResPhsReasDisable_M_u8==>Max15300683593178495851101211110401-1173-0.03340071439743041094.287715017811111001977916377-1111,-2222,-3333450181492170.4746000.35, 0.399993896484375, 0.4499969482421880,0,01,1,10,0,00.5620.97875273227691712726.10410189635106159.4128508567812152659118421,1,1--------------------------------------12100-1111, -2222, -33330.03340071439743040.47189946001, 0, 00, 1, 00, 0, 01, 1, 100, 0.666671752929688, 0.3333282470703138200111--

49LowResPhsReasDisable_M_u8==>Pos90296886019835184529128618182180.325536012649536-1970.80064594745636-153.010331869125004442862753294-450,-780,-90037587320200.4847000,0,01,1,10,0,01,1,10.571.602493822574621.8665415644645758659.5628547072521741.7933151125908725574775580,0,0--------------------------------------4543-188.469360351563, -330.350830078125, -9000.800645947456360.48594747001, 0, 10, 1, 01, 1, 10, 0, 000.166671752929688, 0.5, 0.8333435058593758200111--

50k_PhsReasEnableThresh_Cnt_u32==>Min696731579981303655521257041548260.4982076883316049970.136701762676239595.885945022106-1083380-4558-10000,-20000,-30000249951409220.4948000.399993896484375, 0.5, 0.60,0,01,1,10,0,00.5820.44444704055786115373.68287312985328759.4572812318827362228150,0,0--------------------------------------8439-28901.8585205078, -22950.4595947266, 37256.44348144530.1367017626762390.4999748000, 1, 11, 0, 00, 0, 01, 1, 100.166671752929688, 0.5, 0.8333435058593758200111--

51k_PhsReasEnableThresh_Cnt_u32==>Max195300732681192601569231421710807812250.926446914672852477.378205657005015764200000-9511111,2222,333332255297830.549000.699996948242188, 0.8, 0.8999938964843750,0,00,0,00,0,00.590.4159049391746520.049414694309234619190.02148729565439702.736806213856317454175060,0,0--------------------------------------58651111, 2222, 33330.9264469146728520.522549001, 1, 00, 0, 10, 0, 00, 0, 000.166671752929688, 0.5, 0.8333435058593758200111--

52k_PhsReasEnableThresh_Cnt_u32==>Pos1146472690730607469881968591466010.7306488752365118271-658.2043501734730077748103818224444,5555,666648777540050.5150000.11, 0.1199951171875, 0.131,1,10,0,01,1,10.620.030959486961364757360.3471364975555027.02146124839787922881353871,1,1--------------------------------------7875-50573.0263671875, 126556.732666016, 86678.857177734410.5182750000, 1, 00, 0, 11, 1, 10, 0, 06570.166671752929688, 0.5, 0.83334350585937582841111--

53k_PhsReasErrorTerm_Cnt_s16==>Min5419105139144013181762418901736941-6331-747.451860904694-10297133129-10000-1111,-2222,-333344054964160.5251000.139999389648438, 0.149993896484375, 0.160,0,01,1,10,0,00.610.7441733479499821.2594818472862259495.03321379425661274.9853062033655263683113760,0,0--------------------------------------3072-363.501708984375, -727.00341796875, -1090.5051269531310.52551151000, 1, 00, 0, 10, 0, 01, 1, 12150.166671752929688, 0.5, 0.8333435058593758200111--

54k_PhsReasErrorTerm_Cnt_s16==>Max17415614050048952500351154271519261-1320-0.445432722568512361.213705956936-107181322501000010,12,1334283614550.5352000.21, 0.22, 0.2299957275390631,1,10,0,01,1,10.6201.366944551467958658.9234071975772802.0778411626822846372284531,1,1--------------------------------------8195.8150634765625, 7.8150634765625, 8.81506347656250.4454327225685120.53175252001, 0, 10, 1, 01, 1, 10, 0, 0560.166671752929688, 0.5, 0.8333435058593758200111--

55k_PhsReasErrorTerm_Cnt_s16==>Zero200000161749361732000001064261762011380-0.8273937702178961083.63540136814106351968390100,200,3002471770200.5453000.5,0.35,0.80,0,01,1,10,0,00.6320.72796708345413257963.59505110985883600.5355268120778144938372760,0,0--------------------------------------64699.63818359375, 200, 3000.8273937702178960.54345253001, 1, 00, 0, 10, 0, 01, 1, 100, 0.666671752929688, 0.3333282470703138200111--

56k_PhsReasErrorTerm_Cnt_s16==>Pos10235510350855894485991861031395918-0.261771857738495612.552627146244-1050241547218983450,285,598425421357840.5554000.6, 0.61, 0.61999511718751,1,10,0,01,1,10.6400.40716755390167229159.99094700815994506.89409828186755379873861,1,1--------------------------------------5125450, 47885.0942382813, 5980.2617718577384950.55308054000, 0, 10, 0, 01, 1, 10, 0, 000.166671752929688, 0.5, 0.8333435058593758200111--

57k_PhsReasErrorTerm_Cnt_s16==>Neg462529921519007915002312655064331579-0.405353903770447152.941513776779106920113629-49251000,2000,3000582301306220.5655000.25,0.3,0.350,0,01,1,10,0,00.651.58251959085464041737.2582764036105567.810998618603530413645020,0,0--------------------------------------702196689.9731445313, 28883.0395507813, -158461.7248535160.4053539037704470.56365155001, 1, 00, 0, 10, 0, 01, 1, 11660, 0.666671752929688, 0.33332824707031382321111--

58FilterSV_Cnt_M_s18p13[3]==>Min89793136641194985759661542691992620.80994188785553-4541-259.70933800935700359876736-4925-262136,-262136,-262136217231702170.5756000.35, 0.399993896484375, 0.4499969482421880,0,00,0,00,0,00.660.034183859825134325003.02873694897100982.519953370094844295286580,0,0--------------------------------------3699-175246.651733398, -175246.651733398, -175246.65173339810.57569056000, 1, 11, 0, 00, 0, 00, 0, 06580.166671752929688, 0.5, 0.833343505859375821061111--

59FilterSV_Cnt_M_s18p13[3]==>Max17097488218195391144998161434475231409-0.467590808868408-498.116706967354-11631755421-6034262136,262136,26213629944666050.5857000,0,01,1,10,0,01,1,10.672153712.1875091195200135.7016218304636693238111651,1,1--------------------------------------6418142363.655273438, 142363.655273438, 142363.6552734380.4675908088684080.58348157000, 0, 11, 0, 01, 1, 10, 0, 000.166671752929688, 0.5, 0.83334350585937582211111--

60FilterSV_Cnt_M_s18p13[3]==>Zero1795202942236298184816156479100011-10430.968145430088043591.62267285585411166615285073140,0,059326694180.5958000.399993896484375, 0.5, 0.60,0,01,1,10,0,00.680.2416670322418210.8243569135665890300921.1685183048258321095741500,0,0--------------------------------------17670, 0, 00.9681454300880430.59510158000, 1, 11, 0, 00, 0, 01, 1, 11500, 0.666671752929688, 0.33332824707031382641111--

61FilterSV_Cnt_M_s18p13[3]==>Pos1351205550512469416212659221382770.89009356498718312501-585.459785461426-10919147612-573040000,50000,60000343271725400.659000.699996948242188, 0.8, 0.8999938964843751,1,10,0,01,1,10.6921.0604419112205572000400513.9196233153346194416383621,1,1--------------------------------------929236195.2006835938, 28755.1403808594, -13686.559448242210.6125059001, 1, 00, 0, 11, 1, 10, 0, 000.166671752929688, 0.5, 0.8333435058593758200111--

62FilterSV_Cnt_M_s18p13[3]==>Neg112106115672136462740274858938180.0911561250686646-401-0.184832155704498444.318046033382-10372720000-3838-10,-20,-30304711659960.6160000.1, 0.199996948242188, 0.30,0,01,1,10,0,00.70.890998005867004269900500830.6484249830258723148241610,0,0--------------------------------------3828-2.560791015625, -8.8411865234375, -15.121582031250.1848321557044980.61267160000, 0, 11, 0, 00, 0, 01, 1, 1480.166671752929688, 0.5, 0.8333435058593758200111--

63k_ErrorFiltKn_Cnt_u16==>Min872885742512187517745893853435900.0772018432617188968-0.230777502059937245.580681920052-108225121912-9053-1000,-2000,-300001646670.6261000,0,01,1,10,0,01,1,10.711.776778399944310.69734984636306871111.0135219693600781.2031698822989532828196511,1,1--------------------------------------8326-1000, -2000, -30000.2307775020599370.62404061000, 1, 11, 0, 01, 1, 10, 0, 01340.166671752929688, 0.5, 0.8333435058593758200111--

64k_ErrorFiltKn_Cnt_u16==>Max1308215290515943277134126651325920.726364493370056-10321-699.55811685323700167737411-1047-450,-780,-900655351690330.631110.139999389648438, 0.149993896484375, 0.160,0,01,1,10,0,00.720.2728185653686520.10790598392486661050.7575070858700667.252985477448128481179620,0,0--------------------------------------17785.9930419921875, 3.988037109375, 3.986206054687510.6351121110, 0, 11, 0, 00, 0, 01, 1, 1110.166671752929688, 0.5, 0.8333435058593758200111--

65k_ErrorFiltKn_Cnt_u16==>Pos304824174597531166081964101881340.831977128982544-311027.59845280647-10507620000-3400-10000,-20000,-30000154541422990.642220.21, 0.22, 0.2299957275390630,0,00,0,00,0,00.730.3870540261268620.21638649702072156070.3926782012800482.1488878130915364205603800,0,0--------------------------------------517725133.703125, -1591.78076171875, -759.643554687510.6461412220, 1, 00, 0, 00, 0, 00, 0, 000.166671752929688, 0.5, 0.8333435058593758200111--

66k_ErrorThresh_Cnt_u32==>Min282143688111842622811170178413690.730837464332581-14330.167546451091766708.8457238078120033916333024191111,2222,33333360400.653330.5,0.35,0.81,1,10,0,01,1,10.741.049779772758480.18299818038940427992.82328546059000952233651101,1,1--------------------------------------4401111, 1085.73193359375, 33330.1675464510917660.6547113330, 0, 10, 0, 01, 1, 10, 0, 03010.166671752929688, 0.5, 0.83334350585937582681111--

67k_ErrorThresh_Cnt_u32==>Max1823691040011876621940237242595801761-0.534251213073731359.140470862389017515132065-25644444,5555,6666487342000000.664440.6, 0.61, 0.61999511718750,0,01,1,10,0,00.7521.4695034623146138778.7106018662100010004761988146490,0,0--------------------------------------76161142.31909179688, 5555, 1710.504150390630.534251213073730.6638334440, 1, 11, 0, 00, 0, 01, 1, 100.166671752929688, 0.5, 0.8333435058593758200111--

68k_ErrorThresh_Cnt_u32==>Pos1653541325627169211677658448586950.359473109245310470.71256023645401-965.415950477123108457136418713-1111,-2222,-33333500810380.675550.399993896484375, 0.5, 0.61,1,10,0,01,1,10.760.607616186141968242258.948738098111001055225289515831,1,1--------------------------------------8558-4111.1220703125, -6526.50439453125, -4313.957031250.712560236454010.6710475551, 1, 00, 0, 11, 1, 10, 0, 000, 0.666671752929688, 0.3333282470703138200111--

69LRPRAdjModldAComp_Cnt_M_f32==>Min1755719461981892718651301376060.868686437606812-631-0.639629483222961-77.0426459312439102912930674651-450,-780,-900363332038206660.699996948242188, 0.8, 0.8999938964843750,0,01,1,10,0,00.770.6490185856819151.4836401343345645806.22157305481200568.60310119390505498529220,0,0--------------------------------------3013-450, -345.352294921875, -398.8245849609380.639629483222961024416661, 0, 00, 1, 00, 0, 01, 1, 100, 0.666671752929688, 0.3333282470703138200111--

70LRPRAdjModldAComp_Cnt_M_f32==>Max449685272451915108203216831596030.312604069709778-242-0.185294210910797-896.337181150913-10422719817-8722-10000,-20000,-30000293484600317770.1, 0.199996948242188, 0.31,1,10,0,01,1,10.780.2148138284683231.5294306278228860701.37883722781300176.36215150356310003976524161,1,1--------------------------------------4328-5521.8505859375, -11043.701171875, -16565.55175781250.185294210910797128307770, 1, 01, 0, 01, 1, 10, 0, 03480.166671752929688, 0.5, 0.8333435058593758200111--

71LRPRAdjModldAComp_Cnt_M_f32==>Pos48171830841774784530959727549281441358.257789254189015186131986-31791111,2222,3333338041540390.58880.21, 0.22, 0.2299957275390630,0,01,1,10,0,00.790.009920775890350340.73562604188919124906.16723757981400711.2695098519339443054335910,0,0--------------------------------------52871111, 2222, 1616.39062510.5448881, 1, 00, 0, 10, 0, 01, 1, 15110.166671752929688, 0.5, 0.8333435058593758200111--

72LRPRPhsAdvComp_Cnt_M_u16==>Min6975116547718139442816109988725040.549474120140076-15241623.77628380060200067155725-23294444,5555,666616690127340.6800.5,0.35,0.80,0,00,0,00,0,00.80.4596219062805181.898839116096565120.45895791051500468.93140697479330104785310,0,0--------------------------------------1684444, 4141.07666015625, 4968.8845214843810.68462001, 0, 10, 1, 00, 0, 00, 0, 000.166671752929688, 0.5, 0.8333435058593758200111--

73LRPRPhsAdvComp_Cnt_M_u16==>Max48944353771653396131635281466190.1175310611724855090.396101593971252-97.0019171237946006747912831433-1111,-2222,-333342410757450.6961440.6, 0.61, 0.61999511718751,1,10,0,01,1,10.811.66795259714127251490.30053275821600799.981299102306345100036341,1,1--------------------------------------6848-1111, -2222, -14215.05810546880.3961015939712520.6950961441, 0, 00, 1, 01, 1, 10, 0, 000.166671752929688, 0.5, 0.8333435058593758200111--

74LRPRPhsAdvComp_Cnt_M_u16==>Pos167067161942139296024817743531246114650.698479354381561-1098.06166249514-1198571782-503810,12,132162969160.75550.25,0.3,0.350,0,01,1,10,0,00.8221.1051073074340854846.56310069561700932.16237223148437773896390,0,0--------------------------------------99587.3597412109375, 9.3597412109375, 10.35974121093750.6984793543815610.714655551, 0, 00, 1, 00, 0, 01, 1, 100.166671752929688, 0.5, 0.8333435058593758200111--

75PhaseOffset_Rev_M_u0p16[3]=>=Min83098110948104374376591296311939541-1249-0.30331945419311570.4881180524826119231062578685100,200,300418091402950.719990,0,01,1,10,0,01,1,10.830.779447972774506226878.60101944211800350.31440430879617482307551,1,1--------------------------------------1024100, 72.4090576171875, 111.1654052734380.3033194541931150.7118239991, 0, 00, 1, 01, 1, 10, 0, 01740, 0.666671752929688, 0.3333282470703138200111--

76PhaseOffset_Rev_M_u0p16[3]==>Max113116533211886170309138802435620.504009127616882862-0.951426446437836251.16464310884500781122411-1665450,285,59854515969830.7211110.9999847412109375,0.9999847412109375,0.99998474121093750,0,01,1,10,0,00.8420.39584720134735151978.4478955269190086.71005368232735559110007860,0,0--------------------------------------792133716.282958984, 62546.0278320313, 5980.9514264464378360.72393411111, 0, 00, 0, 10, 0, 01, 1, 100.166671752929688, 0.5, 0.8333435058593758211111--

77PhaseOffset_Rev_M_u0p16[3]==>Pos48944353771653396131635281466190.1175310611724855090.396101593971252-97.0019171237946006747912831433-1111,-2222,-333342410757450.7312230.6, 0.61, 0.61999511718751,1,10,0,01,1,10.851.66795259714127251490.30053275822000799.981299102306345100036341,1,1--------------------------------------6848-1111, -2222, -14215.05810546880.3961015939712520.7350912231, 0, 00, 1, 01, 1, 10, 0, 000.166671752929688, 0.5, 0.8333435058593758200111--

78LRPRHighSector_Cnt_M_lgc[3]==>Min135252354699031415219515101190421-1401-0.234095215797424813.844967842102-11425172718-43241000,2000,3000219451439480.73999999999999913350.139999389648438, 0.149993896484375, 0.160,0,00,0,01,1,10.861.985787212848660.28640073537826558589.71287029982100586.155368745327728516882481,1,1--------------------------------------5261000, 2000, 30000.2340952157974240.739999999999999167113351, 0, 10, 1, 00, 0, 00, 0, 0400.166671752929688, 0.5, 0.8333435058593758200111--

79LRPRHighSector_Cnt_M_lgc[3]==>Max25185112692396383940980217107190114321-413.3882060647011197966299685264000,5000,600016995894660.74999999999999914470.21, 0.22, 0.2299957275390631,1,11,1,10,0,00.870.26651966571807924526.438636898992200900.36013400554719731361800,0,0--------------------------------------98974000, 3703.38439941406, 4444.0612792968810.749999999999999143214471, 0, 10, 1, 01, 1, 11, 1, 100, 0.666671752929688, 0.33332824707031382641111--

80LRPRLowSector_Cnt_M_lgc[3]==>Min76185562275344275681310973648311536-0.834954023361206-490.92458522319811100556064411210000,20000,300008049811690.75999999999999915590.5,0.35,0.80,0,00,0,00,0,00.881.168768107891081.658713638782566901.88676434762300713.8112068772321678446210000,0,0--------------------------------------100610000, 26307.9321289063, 21038.21667480470.8349540233612060.759999999999999460815590, 1, 01, 0, 00, 0, 00, 0, 000, 0.666671752929688, 0.3333282470703138200111--

81LRPRLowSector_Cnt_M_lgc[3]==>Max19112090539468868403549611548880.542047858238225801253.829754889011106986122649869940000,50000,60000530261587830.76999999999999916710.6, 0.61, 0.61999511718751,1,11,1,11,1,10.890.541185379028321.8322130441665766717.10360026362400444.199382305145818421134241,1,1--------------------------------------7087-98694.8366699219, 50000, 125939.43627929710.76999999999999958016710, 1, 00, 0, 11, 1, 11, 1, 17050, 0.666671752929688, 0.33332824707031382641111--

82PrevLRPRHighSector_Cnt_M_lgc[3]==>Min18572132162447701674691913641183150.925942659378052577-0.757575869560242-301.1813733577730069873028-352-10,-20,-30234201552760.77999999999999917830.399993896484375, 0.5, 0.60,0,01,1,10,0,00.91.24894577264786259954.45693773032500424.998173892498828949794770,0,0--------------------------------------709-6399.61181640625, 57006.2133789063, 26388.97216796880.7575758695602420.779999999999999364917830, 0, 11, 0, 00, 0, 01, 1, 1770.166671752929688, 0.5, 0.83334350585937582641111--

83PrevLRPRHighSector_Cnt_M_lgc[3]==>Max1541031556702768593062456691596151-9851101.033835113049-111872108988-3582-100,-200,-300379281152980.78999999999999918950.699996948242188, 0.8, 0.8999938964843751,1,10,0,01,1,10.912225692.32288968562600902.1493455171599951212909401,1,1--------------------------------------1973-39.8115234375, -84.2529296875, -124.06445312510.789999999999999515918950, 1, 00, 0, 01, 1, 10, 0, 07050.166671752929688, 0.5, 0.8333435058593758200111--

84PrevLRPRAdjModldComp_Cnt_M_f32==>Min298997751869541854111297131784781-1000-0.195205688476563306.0302385091781117271273166005-1000,-2000,-300016625742330.79999999999999920070.139999389648438, 0.149993896484375, 0.160,0,01,1,10,0,001.370691239833831.6329393982887317625.13464075332700401.7406914830215901128758000,0,0--------------------------------------1828-746.322631835938, -1492.64526367188, -2238.967895507810.1952056884765630.799999999999999207220071, 0, 00, 0, 00, 0, 01, 1, 18000, 0.666671752929688, 0.33332824707031382641111--

85PrevLRPRAdjModldComp_Cnt_M_f32==>Max14717722360172604884802420081105114341349.552441895008-119792131207-8693-450,-780,-90026163179230.80999999999999921190.21, 0.22, 0.2299957275390631,1,10,0,01,1,111.310171842575070.65343225002288845882.90806674962800548.769571065903452498363141,1,1--------------------------------------9893-267.957641601563, -780, -539.10900878906310.809999999999999143421191, 0, 00, 1, 01, 1, 10, 0, 000.166671752929688, 0.5, 0.8333435058593758200111--

86PrevLRPRAdjModldComp_Cnt_M_f32==>Pos988489417010279176426383821330741599-0.84017288684845-777.860908985138-1170530410-8037-10000,-20000,-30000582651128660.81999999999999922310.5,0.35,0.80,0,01,1,10,0,00.21.56771880388261.2729229331016570442.6492511632900854.4616798758511091979941750,0,0--------------------------------------716-1109.46655273438, -2218.93310546875, -3328.399658203130.840172886848450.819999999999999367122310, 1, 11, 0, 00, 0, 01, 1, 100.166671752929688, 0.5, 0.8333435058593758200111--

87k_LowResPhsReasMaxTol_Uls_f32==>Min1208234723518318108620904031851150.100.1421.85686582326910896013767240471111,2222,333321474874980.82999999999999823430.6, 0.61, 0.61999511718751,1,10,0,01,1,10.101.6840431690216124269.17881071573000637.4866107702268438178323140,0,0--------------------------------------90611111, 2222, 55568.40014648440.10.829999999999998023431, 0, 10, 1, 01, 1, 10, 0, 0110, 0.666671752929688, 0.3333282470703138200111--

88k_LowResPhsReasMaxTol_Uls_f32==>Max6142820057190963161442881381426520.100.1993.457874894142-101250188776-56084444,5555,666614740727200.83999999999999824550.399993896484375, 0.5, 0.61,1,10,0,01,1,10.221.70440560579321771.51829367883100376.795546114445218954749121,1,1--------------------------------------13514444, 5555, 5167.169433593750.10.839999999999998024551, 0, 00, 0, 11, 1, 10, 0, 01440.166671752929688, 0.5, 0.8333435058593758200111--

89k_LowResPhsReasMaxTol_Uls_f32==>pos10752219303528511422711210431165600.100.1607.829347193241001588154299-2680-1111,-2222,-333353381271980.84999999999999825670.699996948242188, 0.8, 0.8999938964843751,1,11,1,11,1,10.30.5189738273620610.69464886188507151813.15285992623200327.655055999756298992125190,0,0--------------------------------------1689-1111, -2040.85205078125, -33330.10.849999999999998025671, 0, 00, 0, 11, 1, 11, 1, 12860.166671752929688, 0.5, 0.8333435058593758200111--

90k_LowResPhsReasMinTol_Uls_f32==>Min1208234723518318108620904031851150.100.1421.85686582326910896013767240471111,2222,333321474874980.85999999999999826790.1, 0.199996948242188, 0.31,1,10,0,01,1,10.40.625639021396637024269.17881071573300637.4866107702268438178323140,0,0--------------------------------------90611111, 2222, 55568.40014648440.10.859999999999998026791, 0, 10, 1, 01, 1, 10, 0, 0110, 0.666671752929688, 0.3333282470703138200111--

91k_LowResPhsReasMinTol_Uls_f32==>Max6142820057190963161442881381426520.100.1993.457874894142-101250188776-56084444,5555,666614740727200.86999999999999827910.399993896484375, 0.5, 0.61,1,10,0,01,1,10.51.90287244319916221771.51829367883400376.795546114445218954749121,1,1--------------------------------------13514444, 5555, 5167.169433593750.10.869999999999998027911, 0, 00, 0, 11, 1, 10, 0, 01440.166671752929688, 0.5, 0.8333435058593758200111--

92k_LowResPhsReasMinTol_Uls_f32==>Pos10752219303528511422711210431165600.100.1607.829347193241001588154299-2680-1111,-2222,-333353381271980.87999999999999829030.699996948242188, 0.8, 0.8999938964843751,1,11,1,11,1,10.620.51897382736206151813.15285992623500327.655055999756298992125190,0,0--------------------------------------1689-1111, -2040.85205078125, -33330.10.879999999999998029031, 0, 00, 0, 11, 1, 11, 1, 12860.166671752929688, 0.5, 0.8333435058593758200111--

93MaxNrCommOffVltg_Cnt_M_f32==>Min19336016390110191129983319281534530.100.1506.138559162617-10917145207-44314444,5555,666660939130360.88999999999999830150.11, 0.1199951171875, 0.131,1,11,1,11,1,10.721.3525303602218603600143.095155954361608564476760,0,0--------------------------------------928-54493.9512939453, -118197.588378906, 137797.9204101560.10.889999999999998030151, 0, 00, 0, 11, 1, 11, 1, 100.166671752929688, 0.5, 0.83334350585937582261111--

94MaxNrCommOffVltg_Cnt_M_f32==>Max147115189959502821082671738911333140.100.1-551.83361625671400245850618-304-1111,-2222,-333312718623890.89999999999999831270.139999389648438, 0.149993896484375, 0.161,1,11,1,11,1,10.80.5388563275337220.79428094625473720003700300.6729134917263106256156800,0,0--------------------------------------2559-895.203857421875, -1790.40771484375, -2685.611572265630.10.899999999999998031271, 0, 00, 0, 11, 1, 11, 1, 100.166671752929688, 0.5, 0.8333435058593758200111--

95MaxNrCommOffVltg_Cnt_M_f32==>Pos115573986409508644056107806325360.100.11011.91805404425107051190427929910,12,13145301343360.90999999999999832390.1, 0.199996948242188, 0.31,1,11,1,11,1,10.91.6219607591629245994.97875320913800103.788945078856694901065301,1,1--------------------------------------715210, 12, 130.10.909999999999998032391, 0, 10, 1, 01, 1, 11, 1, 15630, 0.666671752929688, 0.33332824707031382641111--

96PrevLRPRPhsAdvComp_Cnt_M_u16==>Min158527149535102947162262641521559521101711011.345111012460183801903763298100,200,300403391459750.91999999999999833510.399993896484375, 0.5, 0.60,0,01,1,10,0,00.050.05849951505661011.032369911670683317.42364197969054.58043771982199555683315780,0,0--------------------------------------8481100, 200, 30010.919999999999998101733511, 0, 00, 0, 00, 0, 01, 1, 16240.166671752929688, 0.5, 0.83334350585937582641111--

97PrevLRPRPhsAdvComp_Cnt_M_u16==>Max72182535281400451842483311099601-12690.291883289813995782.455236494541118431699116630450,285,598125391661240.92999999999999734630.699996948242188, 0.8, 0.8999938964843751,1,10,0,01,1,10.11.0038270950317423006.021287679676144557.724697589874945750494790,0,0--------------------------------------944450, 285, 5980.2918832898139950.929999999999997487534630, 1, 11, 0, 01, 1, 10, 0, 04510, 0.666671752929688, 0.33332824707031382641111--

98PrevLRPRPhsAdvComp_Cnt_M_u16==>Pos1411669017184209550997363411266919781902.638470888138018298180657-6081000,2000,3000412631279810.93999999999999735750.11, 0.1199951171875, 0.130,0,01,1,10,0,00.1520.8057858347892766467.11891454458222671.9232046008116206476833260,0,0--------------------------------------83991000, 2000, 1111.1297607421910.93999999999999797835751, 0, 00, 0, 00, 0, 01, 1, 100.166671752929688, 0.5, 0.8333435058593758200111--

99k_LRPRMtrVelDiagEnable_MtrRadpS_T_f32==>Min9186927644172846170841717101978430.947439789772034960-0.574414074420929-694.514564812183-10821437862-34194000,5000,600033104130020.94999999999999736870.139999389648438, 0.149993896484375, 0.161,1,10,0,01,1,10.22256004.091842055339000985635242751,1,1--------------------------------------8315-34066.3671875, 76970.48828125, 17322.925781250.5744140744209290.949999999999997403236870, 1, 11, 0, 01, 1, 10, 0, 000.166671752929688, 0.5, 0.83334350585937582221111--

100k_LRPRMtrVelDiagEnable_MtrRadpS_T_f32==>Max4297539788104452601330351999271-9151955.942039847374112067185422733310000,20000,30000160561336580.95999999999999737990.1, 0.199996948242188, 0.30,0,01,1,10,0,00.252229136.5631352067400010008331814635420,0,0--------------------------------------216810000, 20000, 22650.14648437510.959999999999997522937990, 1, 11, 0, 00, 0, 01, 1, 13700, 0.666671752929688, 0.3333282470703138200111--

101k_LRPRMtrVelDiagEnable_MtrRadpS_T_f32==>Pos60896115833216221691326989683601-12171-863.98276680707901106922710187340000,50000,6000074531820300.96999999999999739110.399993896484375, 0.5, 0.60,0,00,0,00,0,00.30.4989945888519291.1938251256942864013.41652870184100348.214640378952556692018331,1,1--------------------------------------117035451.0498046875, 44313.8122558594, 6000010.969999999999997492739110, 1, 01, 0, 00, 0, 00, 0, 000.166671752929688, 0.5, 0.8333435058593758200111--

102LowPhReasErrorAcc_Cnt_M_u16==>Min46947145198141867187791343031765030.3290174007415773811654.144131183624-106374158440-3384-10,-20,-30445691933990.97999999999999740230.699996948242188, 0.8, 0.8999938964843751,1,10,0,01,1,10.351.965117752552031.248423993587492058.742029368884200995.70557349920308645073770,0,0--------------------------------------647598083.1481933594, -20, 25845.264160156310.97999999999999738140231, 0, 10, 1, 01, 1, 10, 0, 000.166671752929688, 0.5, 0.8333435058593758200111--

103LowPhReasErrorAcc_Cnt_M_u16==>Max8750998161426931145661036171792420.623017430305481-13040.489340722560883514.643503129482007501459671046-100,-200,-30098911273440.98999999999999741350.11, 0.1199951171875, 0.130,0,01,1,10,0,00.42255395.04598391064300594.01762521266910002434594341,1,1--------------------------------------851-100, -200, -254.1188964843750.4893407225608830.989999999999997484041351, 0, 10, 1, 00, 0, 01, 1, 15410.166671752929688, 0.5, 0.83334350585937582641111--

104LowPhReasErrorAcc_Cnt_M_u16==>Pos9654532493035123485455651870290.935719490051273771970.692689538002-106299186741-9475-1000,-2000,-3000108961088450.0542470.139999389648438, 0.149993896484375, 0.161,1,10,0,01,1,10.4520.22414952516555818465.48025065664400367.4144168496133483946853830,0,0--------------------------------------63100-1000, -2000, 14700.679687510.0537742471, 1, 00, 0, 11, 1, 10, 0, 000.166671752929688, 0.5, 0.8333435058593758200111--

105k_LowResPhsReas_Cnt_str.Pstep==>Min7894716821271051190000575501031571-1181-90.6592764258385114686918507536-450,-780,-90015741518300.161000.1, 0.199996948242188, 0.30,0,01,1,10,0,00.51.715960025787351.02506554126747519.576559305194500775.1627016067513207016170,0,0--------------------------------------4787-439.048095703125, -761.17041015625, -878.28833007812510.1602661000, 0, 11, 0, 00, 0, 01, 1, 1320, 0.666671752929688, 0.3333282470703138200111--

106k_LowResPhsReas_Cnt_str.Pstep==>Max7894716821271051190000575501031571-1181-90.6592764258385114686918507536-450,-780,-90015741518300.1560000.399993896484375, 0.5, 0.60,0,01,1,10,0,00.551.715960025787351.02506554126747519.576559305194600775.1627016067513210007016170,0,0--------------------------------------4787-439.048095703125, -761.17041015625, -878.28833007812510.15602660000, 0, 11, 0, 00, 0, 01, 1, 16170, 0.666671752929688, 0.33332824707031382641111--

107k_LowResPhsReas_Cnt_str.Pstep==>Pos7894716821271051200000575501031571-1181-90.6592764258385114686918507536-450,-780,-90015741518300.259000.699996948242188, 0.8, 0.8999938964843750,0,01,1,10,0,00.61.715960025787351.02506554126747519.576559305194700775.162701606751323487016170,0,0--------------------------------------4787-439.048095703125, -761.17041015625, -878.28833007812510.2602659000, 0, 11, 0, 00, 0, 01, 1, 13800, 0.666671752929688, 0.3333282470703138200111--

108k_LowResPhsReas_Cnt_str.Nstep==>Min16099619140714103183956341281831411-621-0.171248912811279-8.15214645862579-11302799226-67644444,5555,666632031999660.2546950.11, 0.1199951171875, 0.130,0,00,0,00,0,00.652236752.83789116144800784.1221836209376812109491,1,1--------------------------------------31282273.93103027344, 2841.43627929688, 3408.941528320310.1712489128112790.25245146951, 0, 10, 1, 00, 0, 00, 0, 07680.166671752929688, 0.5, 0.8333435058593758200111--

109k_LowResPhsReas_Cnt_str.Nstep==>Max5144569660444941958711366395920513281-277.51417273283-11618775144-6219-1111,-2222,-3333430161027340.348070.139999389648438, 0.149993896484375, 0.161,1,10,0,01,1,10.71.070433855056761.3623751401901255684.3251709938490093.233981370925994334610007000,0,0--------------------------------------6288-381.1142578125, -762.228515625, -333310.332848071, 1, 00, 0, 11, 1, 10, 0, 000.166671752929688, 0.5, 0.8333435058593758200111--

110k_LowResPhsReas_Cnt_str.Nstep==>Pos193366853771647551000100010001-7781219.6802434921260124741195962032-450,-780,-90047864723960.3549190.1, 0.199996948242188, 0.30,0,01,1,10,0,00.750.3342960476875310.58017629384994519487.31737202415000646.74178880453170836348221,1,1--------------------------------------2575-116.9619140625, -780, -239.766601562510.35536649190, 1, 00, 0, 10, 0, 01, 1, 100.166671752929688, 0.5, 0.8333435058593758200111--

111k_LowResPhsReas_Cnt_str.Threshold==>Min1152981742989952029623646541456390.893690228462219-5750.184053838253021-1038.29051738977-1031397126-8630-10000,-20000,-3000030501670100.450310.399993896484375, 0.5, 0.61,1,10,0,01,1,10.820.96003699302673361785.91614735135100478.12626445293416481660800,0,0--------------------------------------3240-5345.91674804688, -10691.8334960938, -16037.75024414060.1840538382530210.4556950310, 1, 01, 0, 01, 1, 10, 0, 000.166671752929688, 0.5, 0.83334350585937582641111--

112k_LowResPhsReas_Cnt_str.Threshold==>Max1439213681946089166931719281746511-1249-0.707552671432495-342.02819812297811996937698341111,2222,333321417598650.4551430.699996948242188, 0.8, 0.8999938964843750,0,01,1,10,0,00.850.004566371440887451.783162415027623265.581186115745200699.93664366006913171747710000,0,0--------------------------------------1010750.215576171875, 1497.81677246094, 2245.417968750.7075526714324950.45182351431, 0, 00, 1, 00, 0, 01, 1, 100, 0.666671752929688, 0.3333282470703138200111--

113k_LowResPhsReas_Cnt_str.Threshold==>Pos7894716821271051116493575501031571-1181-90.6592764258385114686918507536-450,-780,-90015741518300.552550.1, 0.199996948242188, 0.30,0,01,1,10,0,00.91.715960025787351.02506554126747519.576559305195300775.1627016067513207016170,0,0--------------------------------------4787-439.048095703125, -761.17041015625, -878.28833007812510.5602652550, 0, 11, 0, 00, 0, 01, 1, 100, 0.666671752929688, 0.3333282470703138200111--

114PrevLRPRLowSector_Cnt_M_lgc[3]==>Min1319755121688504145379533771251010.1576969623565671404-0.677369952201843-944.703733205795109610154937785-1111,-2222,-3333651411674470.5553670.139999389648438, 0.149993896484375, 0.160,0,01,1,10,0,00.950.06409889459609991.6625277400016865766.9918898945400272.756011188031822546865530,0,0--------------------------------------97115576.44885253906, -5601.50744628906, 28617.26098632810.6773699522018430.55447653670, 1, 11, 0, 00, 0, 01, 1, 100, 0.666671752929688, 0.3333282470703138200111--

115PrevLRPRLowSector_Cnt_M_lgc[3]==>Max193366853771647551000100010001-7781219.6802434921260124741195962032-450,-780,-90047864723960.654790.9999847412109375,0.9999847412109375,0.99998474121093750,0,01,1,10,0,010.3342960476875310.58017629384994519487.31737202415500646.74178880453170836348221,1,1--------------------------------------2575-116.9619140625, -780, -239.766601562510.6536654790, 1, 00, 0, 10, 0, 01, 1, 100.166671752929688, 0.5, 0.8333435058593758200111--
























































































































































































































































































































































































































































































































































































































































































































































































































Sheet 10: DigPhsReasDiag_Trans1




















Nexteer EPS Unit Test Tool






Rev:2.7b






Test Setup


Number Of Calibrations0


Number Of Calibration Sets0


Calibration Sheet















Function(s) Under TestVariablesFunction Stubs
Function NameTestTypeTest VectorsSetReadFunction Name
DigPhsReasDiag_Trans1b1
HighResPhsReasDisable_M_u8




LowResPhsReasDisable_M_u8

Sheet 11: DigPhsReasDiag_Trans1() b

DigPhsReasDiag_Trans1TS--




bO/PO/PExpected
O/P
Expected
O/P
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionHighResPhsReasDisable_M_u8LowResPhsReasDisable_M_u8HighResPhsReasDisable_M_u8LowResPhsReasDisable_M_u8P/FCPU Cycles
1
----00--




























































































Sheet 12: PhaseGroundTabLookupoffset




















Nexteer EPS Unit Test Tool






Rev:2.7b






Test Setup


Number Of Calibrations0


Number Of Calibration Sets0


Calibration Sheet















Function(s) Under TestVariablesFunction Stubs
Function NameTestTypeTest VectorsSetReadFunction Name
PhaseGroundTabLookupoffsetb3
PhaseOffset_Rev_M_u0p16[3]
PhaseGroundTabLookupoffsetp2



Sheet 13: PhaseGroundTabLookupoffset() p

PhaseGroundTabLookupoffsetTS--



pParamO/PExpected
O/P
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionMtrElecMechPol_Cnt_T_s08PhaseOffset_Rev_M_u0p16[3]PhaseOffset_Rev_M_u0p16[3]P/FCPU Cycles
1(D_POSITIVEONE_CNT_S8 = MtrElecMechPol_Cnt_T_s08) =True1--0, 0.666671752929688, 0.333328247070313--

2(D_POSITIVEONE_CNT_S8 = MtrElecMechPol_Cnt_T_s08) = False-1--0.166671752929688, 0.5, 0.833343505859375--


















































































Sheet 14: PhaseGroundTabLookupoffset() b

PhaseGroundTabLookupoffsetTS--



bParamO/PExpected
O/P
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionMtrElecMechPol_Cnt_T_s08PhaseOffset_Rev_M_u0p16[3]PhaseOffset_Rev_M_u0p16[3]P/FCPU Cycles
1MtrElecMechPol_Cnt_T_s08=Min-1--0.166671752929688, 0.5, 0.833343505859375--

2MtrElecMechPol_Cnt_T_s08=Max1--0, 0.666671752929688, 0.333328247070313--

3MtrElecMechPol_Cnt_T_s08=Zero0--0.166671752929688, 0.5, 0.833343505859375--


















































































Sheet 15: Read_CountToRev




















Nexteer EPS Unit Test Tool






Rev:2.7b






Test Setup


Number Of Calibrations0


Number Of Calibration Sets0


Calibration Sheet















Function(s) Under TestVariablesFunction Stubs
Function NameTestTypeTest VectorsSetReadFunction Name
Read_CountToRevb3



Sheet 16: Read_CountToRev() b

Read_CountToRevTS--



bParamFunction
Return Val
Expected
Return Val
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionVar_Cnt_T_u16Read_CountToRevRead_CountToRevP/FCPU Cycles
1Var_Cnt_T_u16=Min0--0--

2Var_Cnt_T_u16=Max6144--0--

3Var_Cnt_T_u16=Pos5000--53333--

















































































7 - MtrDrvDiag_UnitTestResults


Overview

Unit Test Information
Module Definitions
Variable Range
MotorDriverInit
MotorDriverInit() b
MotorDriverInit() p
ResetGateDrive
ResetGateDrive() p
GateDrvWaitTime
GateDrvWaitTime() b
GateDrvWaitTime() p
ProcGateDriveFlt
ProcGateDriveFlt() p
ProcGateDriveFlt() b
ProcBridgeFlt
ProcBridgeFlt() p
ProcBridgeFlt() b
MtrDrvDiag_Per1
MtrDrvDiag_Per1() p
MtrDrvDiag_Per1() b
MtrDrvDiag_Per2
MtrDrvDiag_Per2() p
MtrDrvDiag_Trns1
MtrDrvDiag_Trns1() p
ReadMtrDrvFltData
ReadMtrDrvFltData() p
ReadMtrDrvFltData() b


Sheet 1: Unit Test Information

1.0a






















Nexteer EPS Unit Test Tool






Rev:2.7b












Name of Tester:Neha Patel
Source files to be added to the .pjt file Must include path from 'Source Code Directory' setting on the Unit Test Tool Options dialog Include Files:

Code File(s) Under Test:Sa_MtrDrvDiag.c



Code File(s) Version:19



Module Design Document:Motor_Driver_Diagnostics_MDD.docx



Module Design Document Version:8



Unit Test Plan Version:1



Optimization Level:Level 2



Compiler (CodeGen) Version:TMS470_4.9.5



Model Type:Excel Macro



Model Version:1



Special Test Requirements:




Test Date:5/31/2013



Comments:Note:
1)Inline function defined in "Gloabalmacro.h"
is not unit Tested.
2)In "GateDrvWaitTime" function extra code is added in VBA,to exit the while loop and to replicate the usercode functionality of TESSY.
3)In "ReadMtrDrvFltData"function,"DataHigh_Cnt_T_lgc" temporary variable and "Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16" stub are used as "DataHigh_Cnt_T_lgc_Array[10]" and "Rte_Call_FetFlt1Data_OP_GET_Array[10]" to replicate the usercode functionality of TESSY.
4)In "ProcGateDriveFlt" , "ProcBridgeFlt" , "MtrDrvDiag_Per1","ReadMtrDrvFltData" functions, for All Min vector, the second call is not tested with its Min value, to avoid the infinite loop.




Index of Tests:




Test Set upTest WorksheetsTest StatusRun TS

MotorDriverInitMotorDriverInit() p----
3
16MotorDriverInit() b----
16






ResetGateDriveResetGateDrive() p----
1






GateDrvWaitTimeGateDrvWaitTime() p----
2
11GateDrvWaitTime() b----
11






ProcGateDriveFltProcGateDriveFlt() b----
13
3ProcGateDriveFlt() p----
3






ProcBridgeFltProcBridgeFlt() b----
19
8ProcBridgeFlt() p----
8






MtrDrvDiag_Per1MtrDrvDiag_Per1() b----
27
11MtrDrvDiag_Per1() p----
11






MtrDrvDiag_Per2MtrDrvDiag_Per2() p----
1






MtrDrvDiag_Trns1MtrDrvDiag_Trns1() p----
1






ReadMtrDrvFltDataReadMtrDrvFltData() b----
7
5ReadMtrDrvFltData() p----
5












































































































































Sheet 2: Module Definitions









































Nexteer EPS Unit Test Tool












Rev:2.7b












Module Definitions
Module Test Functions
Module Set/Read Variables
Module Function Stubs
Return TypeNameParameter Prototype
ScopeTypeNameDefault Value
Return TypeNameParameter Prototype
BooleanMotorDriverInit(void)

uint8IP_NTC0
voidRte_Call_FetDrvReset_OP_SET(void)
voidProcGateDriveFlt(Boolean FF2Set_Cnt_T_lgc)

uint8IP_Param0
BooleanRte_Call_FetFlt1Data_OP_GET(void)
voidProcBridgeFlt(void)

uint8IP_Status0
BooleanRte_Call_FetFlt2Clk_OP_GET(void)
Uint16ReadMtrDrvFltData(void)

booleanVswitchClosed_Cnt_lgc

voidRte_Call_FetFlt2Clk_OP_SET(void)
voidResetGateDrive(void)

booleanMtrDrvrInitStart_Cnt_lgc

voidRte_Call_IoHwAbPortConfig_SetFetFlt2ToOutput(void)
voidGateDrvWaitTime(uint16 TimeToWait_uS_T_u16p0)

uint32MtrDrvInitStartTime_mS_M_u32p0

voidRte_Call_NxtrDiagMgr_GetEventFailed(void)
voidMtrDrvDiag_Per1(void)

booleanResetWaitLoop_Cnt_M_lgc

voidRte_Call_NxtrDiagMgr_SetNTCStatus(void)
voidMtrDrvDiag_Per2(void)

uint16GateDrvFltSts_Cnt_D_b16

uint16Rte_Call_SystemTime_DtrmnElapsedTime_mS_u16(void)
voidMtrDrvDiag_Trns1(void)

booleanMtrDrvInitActive_Cnt_M_lgc

uint16Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16(void)





uint8FETFaultType_Cnt_M_enum

uint32Rte_Call_SystemTime_GetSystemTime_mS_u32(void)





uint8FETFaultPhase_Cnt_M_enum

uint32Rte_Call_SystemTime_GetSystemTime_uS_u32(void)





uint16GateDriveFltAcc_Cnt_M_u16

voidSuspendAllInterrupts(void)





uint16GenGateDriveFltAcc_Cnt_M_u16

voidResumeAllInterrupts(void)





booleanMtrDrvInitComp_Cnt_M_lgc

voidRte_Call_MtrDrvDiag_Per1_CP0_CheckpointReached(void)





uint16OnStateFltAcc_Cnt_M_u16

voidRte_Call_MtrDrvDiag_Per1_CP1_CheckpointReached(void)





uint8FETFaultPhase_Cnt_enum

BooleanRte_Call_NxtrDiagMgr_GetNTCFailed(void)





uint8FETFaultType_Cnt_enum

uint16Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16(void)





booleanMtrDrvrInitComplete_Cnt_lgc









DiagSettings_Str.Uint16k_GateDriveDiag_Cnt_str.Threshold









DiagSettings_Str.Uint16k_GateDriveDiag_Cnt_str.PStep









DiagSettings_Str.Uint16k_GateDriveDiag_Cnt_str.NStep









uint16k_GenGateDrvFltThrsh_Cnt_u16









uint32k_GateDrvInitDwellTime_mS_u16p0









DiagSettings_Str.Uint16k_OnStateDiag_Cnt_str.Threshold









DiagSettings_Str.Uint16k_OnStateDiag_Cnt_str.PStep









DiagSettings_Str.Uint16k_OnStateDiag_Cnt_str.NStep









UINT16GateDriveFltAccPtr_Cnt_T_u16









UINT16OnStateFltAccPtr_Cnt_T_u16









UINT16GenGateDriveFltAccPtr_Cnt_T_u16









UINT16StatusPtr_Cnt_T_b16









uint16NxtrDiagMgr_NTC[4]









uint16NxtrDiagMgr_Param[4]









uint8NxtrDiagMgr_Status[4]









uint8i0








uint8Call_Count0








uint8j0








uint8NxtrDiagMgr_Call_Count[4]









uint8a0








booleanRte_Call_FetFlt1Data_OP_GET_Array[10]









uint8FetDrvReset_OP_SET_Signal[3]0,0,0








uint8FetFlt2Clk_OP_SET_Signal[3]0,0,0




Sheet 3: Variable Range















































Nexteer EPS Unit Test Tool












Rev:2.7b
























Variable Range Definitions








Variable NameMax ValueMin Value








FF2Set_Cnt_T_lgc










TimeToWait_uS_T_u16p0










IP_NTC










IP_Param










IP_Status










VswitchClosed_Cnt_lgc










MtrDrvrInitStart_Cnt_lgc










MtrDrvInitStartTime_mS_M_u32p0










ResetWaitLoop_Cnt_M_lgc










GateDrvFltSts_Cnt_D_b16










MtrDrvInitActive_Cnt_M_lgc










FETFaultType_Cnt_M_enum










FETFaultPhase_Cnt_M_enum










GateDriveFltAcc_Cnt_M_u16










GenGateDriveFltAcc_Cnt_M_u16










MtrDrvInitComp_Cnt_M_lgc










OnStateFltAcc_Cnt_M_u16










FETFaultPhase_Cnt_enum










FETFaultType_Cnt_enum










MtrDrvrInitComplete_Cnt_lgc










k_GateDriveDiag_Cnt_str.Threshold










k_GateDriveDiag_Cnt_str.PStep










k_GateDriveDiag_Cnt_str.NStep










k_GenGateDrvFltThrsh_Cnt_u16










k_GateDrvInitDwellTime_mS_u16p0










k_OnStateDiag_Cnt_str.Threshold










k_OnStateDiag_Cnt_str.PStep










k_OnStateDiag_Cnt_str.NStep










GateDriveFltAccPtr_Cnt_T_u16










OnStateFltAccPtr_Cnt_T_u16










GenGateDriveFltAccPtr_Cnt_T_u16










StatusPtr_Cnt_T_b16










NxtrDiagMgr_NTC[4]










NxtrDiagMgr_Param[4]










NxtrDiagMgr_Status[4]










Call_Count










j










NxtrDiagMgr_Call_Count[4]










Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16[2]










Rte_Call_FetFlt1Data_OP_GET_Array[9]










DataHigh_Cnt_T_lgc_Array[9]










Rte_Call_FetFlt1Data_OP_GET_Array[10]










DataHigh_Cnt_T_lgc_Array[10]










Signal










Signal[2]










Signal[3]










FetDrvReset_OP_SET_Signal[3]










FetFlt2Clk_OP_SET_Signal[3]











Sheet 4: MotorDriverInit




















Nexteer EPS Unit Test Tool






Rev:2.7b






Test Setup


Number Of Calibrations0


Number Of Calibration Sets0


Calibration Sheet















Function(s) Under TestVariablesFunction Stubs
Function NameTestTypeTest VectorsSetReadFunction Name
MotorDriverInitp3MtrDrvInitActive_Cnt_M_lgcMtrDrvInitActive_Cnt_M_lgcRte_Call_SystemTime_GetSystemTime_mS_u32
MotorDriverInitb16MtrDrvInitStartTime_mS_M_u32p0MtrDrvInitStartTime_mS_M_u32p0Rte_Call_SystemTime_DtrmnElapsedTime_mS_u16



k_GateDrvInitDwellTime_mS_u16p0FetDrvReset_OP_SET_Signal[3]SuspendAllInterrupts





Rte_Call_FetDrvReset_OP_SET





ResumeAllInterrupts





Rte_Call_SystemTime_GetSystemTime_uS_u32





Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16

Sheet 5: MotorDriverInit() b

MotorDriverInitTS--





























bI/PI/PI/PFunc Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Function
Return Val
O/PO/PO/PFunc Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Expected
Return Val
Expected
O/P
Expected
O/P
Expected
O/P
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionMtrDrvInitActive_Cnt_M_lgcMtrDrvInitStartTime_mS_M_u32p0k_GateDrvInitDwellTime_mS_u16p0Rte_Call_SystemTime_GetSystemTime_mS_u32Rte_Call_SystemTime_DtrmnElapsedTime_mS_u16Rte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16MotorDriverInitMtrDrvInitActive_Cnt_M_lgcMtrDrvInitStartTime_mS_M_u32p0FetDrvReset_OP_SET_Signal[3]Rte_Call_SystemTime_GetSystemTime_mS_u32Rte_Call_SystemTime_DtrmnElapsedTime_mS_u16SuspendAllInterruptsRte_Call_FetDrvReset_OP_SETResumeAllInterruptsRte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16MotorDriverInitMtrDrvInitActive_Cnt_M_lgcMtrDrvInitStartTime_mS_M_u32p0FetDrvReset_OP_SET_Signal[3]Rte_Call_SystemTime_GetSystemTime_mS_u32Rte_Call_SystemTime_DtrmnElapsedTime_mS_u16SuspendAllInterruptsRte_Call_FetDrvReset_OP_SETResumeAllInterruptsRte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16P/FCPU Cycles
1MtrDrvInitActive_Cnt_M_lgc=False0312511665323556277----------------------1066530, 1, 01112111--

2MtrDrvInitActive_Cnt_M_lgc=True17476683462755231345----------------------107470, 1, 00112111--

3MtrDrvInitStartTime_mS_M_u32p0=min0011665323556277----------------------1066530, 1, 01112111--

4MtrDrvInitStartTime_mS_M_u32p0=max042949672956683462755231345----------------------10834620, 1, 01112111--

5MtrDrvInitStartTime_mS_M_u32p0=pos0312511665323556277----------------------1066530, 1, 01112111--

6k_GateDrvInitDwellTime_mS_u16p0=min0132101233123977399----------------------1012330, 1, 01112111--

7k_GateDrvInitDwellTime_mS_u16p0=max19002558324331723755----------------------109000, 1, 00112111--

8k_GateDrvInitDwellTime_mS_u16p0=pos134412342346552469123----------------------103440, 1, 00112111--

9Rte_Call_SystemTime_GetSystemTime_mS_u32=min066531007623215433----------------------1000, 1, 01112111--

10Rte_Call_SystemTime_GetSystemTime_mS_u32=max0834626642949672951073961655----------------------1042949672950, 1, 01112111--

11Rte_Call_SystemTime_GetSystemTime_mS_u32=pos0123334665474554707762----------------------10665470, 1, 01112111--

12Rte_Call_SystemTime_DtrmnElapsedTime_mS_u16=min18327856205453214----------------------018320, 0, 00100000--

13Rte_Call_SystemTime_DtrmnElapsedTime_mS_u16=max0423419231655356199666----------------------102310, 1, 01112111--

14Rte_Call_SystemTime_DtrmnElapsedTime_mS_u16=pos1344661233203961655----------------------013440, 0, 00100000--

15All Min0000000----------------------0100, 0, 01100000--

16All Max142949672952554294967295655356553565535----------------------1042949672950, 1, 00112111--






















































































































































































































































































































































Sheet 6: MotorDriverInit() p

MotorDriverInitTS--





























pI/PI/PI/PFunc Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Function
Return Val
O/PO/PO/PFunc Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Expected
Return Val
Expected
O/P
Expected
O/P
Expected
O/P
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionMtrDrvInitActive_Cnt_M_lgcMtrDrvInitStartTime_mS_M_u32p0k_GateDrvInitDwellTime_mS_u16p0Rte_Call_SystemTime_GetSystemTime_mS_u32Rte_Call_SystemTime_DtrmnElapsedTime_mS_u16Rte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16MotorDriverInitMtrDrvInitActive_Cnt_M_lgcMtrDrvInitStartTime_mS_M_u32p0FetDrvReset_OP_SET_Signal[3]Rte_Call_SystemTime_GetSystemTime_mS_u32Rte_Call_SystemTime_DtrmnElapsedTime_mS_u16SuspendAllInterruptsRte_Call_FetDrvReset_OP_SETResumeAllInterruptsRte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16MotorDriverInitMtrDrvInitActive_Cnt_M_lgcMtrDrvInitStartTime_mS_M_u32p0FetDrvReset_OP_SET_Signal[3]Rte_Call_SystemTime_GetSystemTime_mS_u32Rte_Call_SystemTime_DtrmnElapsedTime_mS_u16SuspendAllInterruptsRte_Call_FetDrvReset_OP_SETResumeAllInterruptsRte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16P/FCPU Cycles
1If (False = MtrDrvInitActive_Cnt_M_lgc)=>True
If (ElapsedTime_mS_T_u16p0 > k_GateDrvInitDwellTime_mS_u16p0)=>True
0312511665323556277----------------------1066530, 1, 01112111--

2If (False = MtrDrvInitActive_Cnt_M_lgc)=>False
17476683462755231345----------------------107470, 1, 00112111--

3If (ElapsedTime_mS_T_u16p0 > k_GateDrvInitDwellTime_mS_u16p0)=>False18327856205453214----------------------018320, 0, 00100000--






















































































































































































































































































































































Sheet 7: ResetGateDrive




















Nexteer EPS Unit Test Tool






Rev:2.7b






Test Setup


Number Of Calibrations0


Number Of Calibration Sets0


Calibration Sheet















Function(s) Under TestVariablesFunction Stubs
Function NameTestTypeTest VectorsSetReadFunction Name
ResetGateDrivep1
FetDrvReset_OP_SET_Signal[3]Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16





Rte_Call_SystemTime_GetSystemTime_uS_u32





Rte_Call_FetDrvReset_OP_SET





SuspendAllInterrupts





ResumeAllInterrupts

Sheet 8: ResetGateDrive() p

ResetGateDriveTS--














pFunc Stub
Return Val
Func Stub
Return Val
O/PFunc Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Expected
O/P
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionRte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_GetSystemTime_uS_u32FetDrvReset_OP_SET_Signal[3]Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_FetDrvReset_OP_SETSuspendAllInterruptsResumeAllInterruptsFetDrvReset_OP_SET_Signal[3]Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_FetDrvReset_OP_SETSuspendAllInterruptsResumeAllInterruptsP/FCPU Cycles
1Check for Call Trace1020------------0, 1, 011211--
































































































































































































Sheet 9: GateDrvWaitTime




















Nexteer EPS Unit Test Tool






Rev:2.7b






Test Setup


Number Of Calibrations0


Number Of Calibration Sets0


Calibration Sheet















Function(s) Under TestVariablesFunction Stubs
Function NameTestTypeTest VectorsSetReadFunction Name
GateDrvWaitTimep2

Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16
GateDrvWaitTimeb11

Rte_Call_SystemTime_GetSystemTime_uS_u32





Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16

Sheet 10: GateDrvWaitTime() b

GateDrvWaitTimeTS--










bParamFunc Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionTimeToWait_uS_T_u16p0Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16P/FCPU Cycles
1TimeToWait_uS_T_u16p0=Min0100010001000------110--

2TimeToWait_uS_T_u16p0=Max65535655357000065535------110--

3TimeToWait_uS_T_u16p0=Pos100300020003000------110--

4Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16=Min0030000------110--

5Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16=Max30065535400065535------110--

6Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16=Pos400600050006000------110--

7Rte_Call_SystemTime_GetSystemTime_uS_u32=Min50010000010000------110--

8Rte_Call_SystemTime_GetSystemTime_uS_u32=Max020000429496729520000------110--

9Rte_Call_SystemTime_GetSystemTime_uS_u32=Pos10000500050000000030000------111--

10All Min0000------110--

11All Max6553565535429496729565535------110--
























































































































































Sheet 11: GateDrvWaitTime() p

GateDrvWaitTimeTS--










pParamFunc Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionTimeToWait_uS_T_u16p0Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16P/FCPU Cycles
1(WaitElapsedTime_uS_T_u16p0 < TimeToWait_uS_T_u16p0)=>False0100010001000------110--

2(WaitElapsedTime_uS_T_u16p0 < TimeToWait_uS_T_u16p0)=>True10000500050000000030000------111--
























































































































































Sheet 12: ProcGateDriveFlt




















Nexteer EPS Unit Test Tool






Rev:2.7b






Test Setup


Number Of Calibrations0


Number Of Calibration Sets0


Calibration Sheet















Function(s) Under TestVariablesFunction Stubs
Function NameTestTypeTest VectorsSetReadFunction Name
ProcGateDriveFltb13GateDriveFltAccPtr_Cnt_T_u16GateDriveFltAccPtr_Cnt_T_u16Rte_Call_NxtrDiagMgr_SetNTCStatus
ProcGateDriveFltp3k_GateDriveDiag_Cnt_str.ThresholdIP_NTCRte_Call_IoHwAbPortConfig_SetFetFlt2ToOutput



k_GateDriveDiag_Cnt_str.PStepIP_ParamRte_Call_FetFlt2Clk_OP_SET



StatusPtr_Cnt_T_b16IP_StatusRte_Call_SystemTime_GetSystemTime_uS_u32



FETFaultPhase_Cnt_M_enumFETFaultPhase_Cnt_M_enumRte_Call_SystemTime_DtrmnElapsedTime_uS_u16



FETFaultType_Cnt_M_enumFETFaultType_Cnt_M_enumRte_Call_SystemTime_DtrmnElapsedTime1_uS_u16



Rte_Call_FetFlt1Data_OP_GET_Array[10]StatusPtr_Cnt_T_b16




FetFlt2Clk_OP_SET_Signal[3]

Sheet 13: ProcGateDriveFlt() p

ProcGateDriveFltTS--







































pParamI/PI/PI/PI/PI/PI/PI/PFunc Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
O/PO/PO/PO/PO/PO/PO/PO/PFunc Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionFF2Set_Cnt_T_lgcGateDriveFltAccPtr_Cnt_T_u16k_GateDriveDiag_Cnt_str.Thresholdk_GateDriveDiag_Cnt_str.PStepStatusPtr_Cnt_T_b16FETFaultPhase_Cnt_M_enumFETFaultType_Cnt_M_enumRte_Call_FetFlt1Data_OP_GET_Array[10]Rte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16GateDriveFltAccPtr_Cnt_T_u16IP_NTCIP_ParamIP_StatusFETFaultPhase_Cnt_M_enumFETFaultType_Cnt_M_enumStatusPtr_Cnt_T_b16FetFlt2Clk_OP_SET_Signal[3]Rte_Call_NxtrDiagMgr_SetNTCStatusRte_Call_IoHwAbPortConfig_SetFetFlt2ToOutputRte_Call_FetFlt2Clk_OP_SETRte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16GateDriveFltAccPtr_Cnt_T_u16IP_NTCIP_ParamIP_StatusFETFaultPhase_Cnt_M_enumFETFaultType_Cnt_M_enumStatusPtr_Cnt_T_b16FetFlt2Clk_OP_SET_Signal[3]Rte_Call_NxtrDiagMgr_SetNTCStatusRte_Call_IoHwAbPortConfig_SetFetFlt2ToOutputRte_Call_FetFlt2Clk_OP_SETRte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16P/FCPU Cycles
1(True = DiagFailed_m(GateDriveFltAccPtr_Cnt_T_u16, k_GateDriveDiag_Cnt_str))=True
(False = FF2Set_Cnt_T_lgc)=True
056313456320001,1,1,1,1,1,1,1,1,150001000010000----------------------------13477110000, 0, 0100000--

2If (False = FF2Set_Cnt_T_lgc)=>False141936612365535111,0,0,0,0,0,0,0,0,010001500015000----------------------------36677211111, 0, 1122120119--

3(True = DiagFailed_m(GateDriveFltAccPtr_Cnt_T_u16, k_GateDriveDiag_Cnt_str))=False11346553513149000020,0,0,0,0,0,0,0,0,005050----------------------------14480000290000, 0, 0000000--


























































































































































































































































































































































































































































Sheet 14: ProcGateDriveFlt() b

ProcGateDriveFltTS--







































bParamI/PI/PI/PI/PI/PI/PI/PFunc Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
O/PO/PO/PO/PO/PO/PO/PO/PFunc Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionFF2Set_Cnt_T_lgcGateDriveFltAccPtr_Cnt_T_u16k_GateDriveDiag_Cnt_str.Thresholdk_GateDriveDiag_Cnt_str.PStepStatusPtr_Cnt_T_b16FETFaultPhase_Cnt_M_enumFETFaultType_Cnt_M_enumRte_Call_FetFlt1Data_OP_GET_Array[10]Rte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16GateDriveFltAccPtr_Cnt_T_u16IP_NTCIP_ParamIP_StatusFETFaultPhase_Cnt_M_enumFETFaultType_Cnt_M_enumStatusPtr_Cnt_T_b16FetFlt2Clk_OP_SET_Signal[3]Rte_Call_NxtrDiagMgr_SetNTCStatusRte_Call_IoHwAbPortConfig_SetFetFlt2ToOutputRte_Call_FetFlt2Clk_OP_SETRte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16GateDriveFltAccPtr_Cnt_T_u16IP_NTCIP_ParamIP_StatusFETFaultPhase_Cnt_M_enumFETFaultType_Cnt_M_enumStatusPtr_Cnt_T_b16FetFlt2Clk_OP_SET_Signal[3]Rte_Call_NxtrDiagMgr_SetNTCStatusRte_Call_IoHwAbPortConfig_SetFetFlt2ToOutputRte_Call_FetFlt2Clk_OP_SETRte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16P/FCPU Cycles
1FF2Set_Cnt_T_lgc=False056313456320001,1,1,1,1,1,1,1,1,150001000010000----------------------------13477110000, 0, 0100000--

2FF2Set_Cnt_T_lgc=True141936612365535111,1,1,1,1,1,1,1,1,110001500015000----------------------------36677213210231, 0, 1122120119--

3GateDriveFltAccPtr_Cnt_T_u16=min008549005000221,0,0,0,0,0,0,0,0,020002000020000----------------------------85477112250000, 0, 0100000--

4GateDriveFltAccPtr_Cnt_T_u16=max165535713446000300,0,0,0,0,0,0,0,0,00789789----------------------------71377210010241, 0, 1122120119--

5GateDriveFltAccPtr_Cnt_T_u16=pos0144562423457000211,1,1,1,1,1,1,1,1,142949672956553565535----------------------------62477112170000, 0, 0100000--

6k_GateDriveDiag_Cnt_str.Threshold=min1457706328000120,0,0,0,0,0,0,0,0,0150002000020000----------------------------077210010241, 0, 1122120119--

7k_GateDriveDiag_Cnt_str.Threshold=max11346553513149000021,1,1,1,1,1,1,1,1,105050----------------------------14480000290000, 0, 0000000--

8k_GateDriveDiag_Cnt_str.Threshold=pos0366342673310000211,1,1,1,1,1,1,1,1,140006553565535----------------------------109900021100000, 0, 0000000--

9k_GateDriveDiag_Cnt_str.Pstep=min08545632011000321,1,1,1,1,1,1,1,1,1450050005000----------------------------85400032110000, 0, 0000000--

10k_GateDriveDiag_Cnt_str.Pstep=max17131236553512000101,0,0,0,0,0,0,0,0,0500006000060000----------------------------12377211111, 0, 1122120119--

11k_GateDriveDiag_Cnt_str.Pstep=pos19290020613000010,0,0,0,0,0,0,0,0,0600006100061000----------------------------29800001130000, 0, 0000000--

12All Min00000000,0,0,0,0,0,0,0,0,00020----------------------------077110000, 0, 0100000--

13All Max165535655356553565535321,1,1,1,1,1,1,1,1,142949672956553565535----------------------------6553577213210231, 0, 1122120119--


























































































































































































































































































































































































































































Sheet 15: ProcBridgeFlt




















Nexteer EPS Unit Test Tool






Rev:2.7b






Test Setup


Number Of Calibrations0


Number Of Calibration Sets0


Calibration Sheet















Function(s) Under TestVariablesFunction Stubs
Function NameTestTypeTest VectorsSetReadFunction Name
ProcBridgeFltb19OnStateFltAccPtr_Cnt_T_u16OnStateFltAccPtr_Cnt_T_u16Rte_Call_NxtrDiagMgr_GetNTCFailed
ProcBridgeFltp8GenGateDriveFltAccPtr_Cnt_T_u16GenGateDriveFltAccPtr_Cnt_T_u16Rte_Call_NxtrDiagMgr_SetNTCStatus



k_OnStateDiag_Cnt_str.ThresholdIP_NTCRte_Call_IoHwAbPortConfig_SetFetFlt2ToOutput



k_OnStateDiag_Cnt_str.PStepIP_ParamRte_Call_FetFlt2Clk_OP_SET



k_GenGateDrvFltThrsh_Cnt_u16IP_StatusRte_Call_SystemTime_GetSystemTime_uS_u32



StatusPtr_Cnt_T_b16FETFaultPhase_Cnt_M_enumRte_Call_SystemTime_DtrmnElapsedTime_uS_u16



FETFaultPhase_Cnt_M_enumFETFaultType_Cnt_M_enumRte_Call_SystemTime_DtrmnElapsedTime1_uS_u16



FETFaultType_Cnt_M_enumStatusPtr_Cnt_T_b16



ResetWaitLoop_Cnt_M_lgcResetWaitLoop_Cnt_M_lgc



Rte_Call_FetFlt1Data_OP_GET_Array[10]FetFlt2Clk_OP_SET_Signal[3]

Sheet 16: ProcBridgeFlt() p

ProcBridgeFltTS--
















































pI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PFunc Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
O/PO/PO/PO/PO/PO/PO/PO/PO/PO/PFunc Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionOnStateFltAccPtr_Cnt_T_u16GenGateDriveFltAccPtr_Cnt_T_u16k_OnStateDiag_Cnt_str.Thresholdk_OnStateDiag_Cnt_str.PStepk_GenGateDrvFltThrsh_Cnt_u16StatusPtr_Cnt_T_b16FETFaultPhase_Cnt_M_enumFETFaultType_Cnt_M_enumResetWaitLoop_Cnt_M_lgcRte_Call_FetFlt1Data_OP_GET_Array[10]Rte_Call_NxtrDiagMgr_GetNTCFailedRte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16OnStateFltAccPtr_Cnt_T_u16GenGateDriveFltAccPtr_Cnt_T_u16IP_NTCIP_ParamIP_StatusFETFaultPhase_Cnt_M_enumFETFaultType_Cnt_M_enumStatusPtr_Cnt_T_b16ResetWaitLoop_Cnt_M_lgcFetFlt2Clk_OP_SET_Signal[3]Rte_Call_NxtrDiagMgr_GetNTCFailedRte_Call_NxtrDiagMgr_SetNTCStatusRte_Call_IoHwAbPortConfig_SetFetFlt2ToOutputRte_Call_FetFlt2Clk_OP_SETRte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16OnStateFltAccPtr_Cnt_T_u16GenGateDriveFltAccPtr_Cnt_T_u16IP_NTCIP_ParamIP_StatusFETFaultPhase_Cnt_M_enumFETFaultType_Cnt_M_enumStatusPtr_Cnt_T_b16ResetWaitLoop_Cnt_M_lgcFetFlt2Clk_OP_SET_Signal[3]Rte_Call_NxtrDiagMgr_GetNTCFailedRte_Call_NxtrDiagMgr_SetNTCStatusRte_Call_IoHwAbPortConfig_SetFetFlt2ToOutputRte_Call_FetFlt2Clk_OP_SETRte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16P/FCPU Cycles
1(True = DiagFailed_m(OnStateFltAccPtr_Cnt_T_u16, k_OnStateDiag_Cnt_str))=True
(True = OnStateFltActive_Cnt_T_lgc)=False
(FaultedPhases_Cnt_T_u16 > 1)=True
01001235671000001,1,1,1,1,1,1,1,1,1050001000010000----------------------------------123100791132102301, 0, 11122120119--

2(GenGateDriveFltAccPtr_Cnt_T_u16 >= k_GenGateDrvFltThrsh_Cnt_u16)=True018012356712300000,0,0,0,0,0,0,0,0,0050001000010000----------------------------------0123772100102401, 0, 11122120119--

3(True = DiagFailed_m(OnStateFltAccPtr_Cnt_T_u16, k_OnStateDiag_Cnt_str))=False
(FaultedPhases_Cnt_T_u16 = 1)=True
9250775163212110003011,0,0,0,0,0,0,0,0,00450050005000----------------------------------050781111111, 0, 11122120119--

4(True = OnStateFltActive_Cnt_T_lgc)=True655358890067535655352111,1,1,1,1,1,1,1,1,1110001500015000----------------------------------900887911216553510, 0, 01000000--

5(FaultedPhases_Cnt_T_u16 > 1)=True9295775163222110003011,1,1,1,1,1,1,1,1,10450050005000----------------------------------77595791132102311, 0, 11122120119--

6(GenGateDriveFltAccPtr_Cnt_T_u16 >= k_GenGateDrvFltThrsh_Cnt_u16)=False019512356720000000,0,0,0,0,0,0,0,0,0050001000010000----------------------------------019600000102401, 0, 11022120119--

7(FaultedPhases_Cnt_T_u16 = 1)=True477112448424450003211,0,0,0,0,0,0,0,0,0020002000020000----------------------------------0112781111111, 0, 11122120119--

8(True = DiagFailed_m(OnStateFltAccPtr_Cnt_T_u16, k_OnStateDiag_Cnt_str))=False
71320655351318200100002211,1,1,1,1,1,1,1,1,1140006553565535----------------------------------203120000221000010, 0, 00000000--




















































































































































































































































































































































































































































































































































Sheet 17: ProcBridgeFlt() b

ProcBridgeFltTS--
















































bI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PFunc Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
O/PO/PO/PO/PO/PO/PO/PO/PO/PO/PFunc Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionOnStateFltAccPtr_Cnt_T_u16GenGateDriveFltAccPtr_Cnt_T_u16k_OnStateDiag_Cnt_str.Thresholdk_OnStateDiag_Cnt_str.PStepk_GenGateDrvFltThrsh_Cnt_u16StatusPtr_Cnt_T_b16FETFaultPhase_Cnt_M_enumFETFaultType_Cnt_M_enumResetWaitLoop_Cnt_M_lgcRte_Call_FetFlt1Data_OP_GET_Array[10]Rte_Call_NxtrDiagMgr_GetNTCFailedRte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16OnStateFltAccPtr_Cnt_T_u16GenGateDriveFltAccPtr_Cnt_T_u16IP_NTCIP_ParamIP_StatusFETFaultPhase_Cnt_M_enumFETFaultType_Cnt_M_enumStatusPtr_Cnt_T_b16ResetWaitLoop_Cnt_M_lgcFetFlt2Clk_OP_SET_Signal[3]Rte_Call_NxtrDiagMgr_GetNTCFailedRte_Call_NxtrDiagMgr_SetNTCStatusRte_Call_IoHwAbPortConfig_SetFetFlt2ToOutputRte_Call_FetFlt2Clk_OP_SETRte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16OnStateFltAccPtr_Cnt_T_u16GenGateDriveFltAccPtr_Cnt_T_u16IP_NTCIP_ParamIP_StatusFETFaultPhase_Cnt_M_enumFETFaultType_Cnt_M_enumStatusPtr_Cnt_T_b16ResetWaitLoop_Cnt_M_lgcFetFlt2Clk_OP_SET_Signal[3]Rte_Call_NxtrDiagMgr_GetNTCFailedRte_Call_NxtrDiagMgr_SetNTCStatusRte_Call_IoHwAbPortConfig_SetFetFlt2ToOutputRte_Call_FetFlt2Clk_OP_SETRte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16P/FCPU Cycles
1OnStateFltAccPtr_Cnt_T_u16=min012012356712300001,1,1,1,1,1,1,1,1,1050001000010000----------------------------------123120791132102301, 0, 11122120119--

2OnStateFltAccPtr_Cnt_T_u16=max6553515090067522655352111,1,1,1,1,1,1,1,1,1110001500015000----------------------------------9001507911216553510, 0, 01000000--

3OnStateFltAccPtr_Cnt_T_u16=pos477180448424450003211,0,0,0,0,0,0,0,0,0020002000020000----------------------------------0180781111111, 0, 11122120119--

4GenGateDriveFltAccPtr_Cnt_T_u16=min457702345921112560001110,0,0,0,0,0,0,0,0,000789789----------------------------------0100000102411, 0, 11022120119--

5GenGateDriveFltAccPtr_Cnt_T_u16=max1342004553766070002010,0,0,0,0,0,0,0,0,0042949672956553565535----------------------------------060772100102411, 0, 11122120119--

6GenGateDriveFltAccPtr_Cnt_T_u16=pos36610010069013180000200,0,0,0,0,0,0,0,0,00150002000020000----------------------------------010100000102401, 0, 11022120119--

7k_OnStateDiag_Cnt_str.Threshold=min854100100415590001101,1,1,1,1,1,1,1,1,1005050----------------------------------010791132102301, 0, 11122120119--

8k_OnStateDiag_Cnt_str.Threshold=max71320655351318200100002211,1,1,1,1,1,1,1,1,1140006553565535----------------------------------203120000221000010, 0, 00000000--

9k_OnStateDiag_Cnt_str.Threshold=pos9230775163236110003011,1,1,1,1,1,1,1,1,10450050005000----------------------------------77530791132102311, 0, 11122120119--

10k_OnStateDiag_Cnt_str.Pstep=min6640900054120001201,0,0,0,0,0,0,0,0,01500006000060000----------------------------------6640000121200000, 0, 00000000--

11k_OnStateDiag_Cnt_str.Pstep=max20050446553510130000110,0,0,0,0,0,0,0,0,01600006100061000----------------------------------44507911011300010, 0, 01000000--

12k_OnStateDiag_Cnt_str.Pstep=pos5466023455558140002011,1,1,1,1,1,1,1,1,10830006200062000----------------------------------110160000201400010, 0, 00000000--

13k_GenGateDrvFltThrsh_Cnt_u16=min457770234592110150003100,0,0,0,0,0,0,0,0,001043506300063000----------------------------------00772100102401, 0, 11122120119--

14k_GenGateDrvFltThrsh_Cnt_u16=max13480455376200160000200,0,0,0,0,0,0,0,0,001257006400064000----------------------------------08100000102401, 0, 11022120119--

15k_GenGateDrvFltThrsh_Cnt_u16=pos3669010069054170001110,0,0,0,0,0,0,0,0,001470506500065000----------------------------------054772100102411, 0, 11122120119--

16Rte_Call_NxtrDiagMgr_GetNTCFailed=min54610020555144140002010,0,0,0,0,0,0,0,0,00830006200062000----------------------------------010100000102411, 0, 11022120119--

17Rte_Call_NxtrDiagMgr_GetNTCFailed=max8921105002352150003101,1,1,1,1,1,1,1,1,111043506300063000----------------------------------5001107911311500000, 0, 01000000--

18All Min0000000000,0,0,0,0,0,0,0,0,000020----------------------------------00772100102401, 0, 11122120120--

19All Max655352006553565535200655353211,1,1,1,1,1,1,1,1,1142949672956553565535----------------------------------655352007911326553510, 0, 01000000--




















































































































































































































































































































































































































































































































































Sheet 18: MtrDrvDiag_Per1




















Nexteer EPS Unit Test Tool






Rev:2.7b






Test Setup


Number Of Calibrations0


Number Of Calibration Sets0


Calibration Sheet















Function(s) Under TestVariablesFunction Stubs
Function NameTestTypeTest VectorsSetReadFunction Name
MtrDrvDiag_Per1b27MtrDrvrInitStart_Cnt_lgcFETFaultPhase_Cnt_M_enumRte_Call_MtrDrvDiag_Per1_CP0_CheckpointReached
MtrDrvDiag_Per1p11VswitchClosed_Cnt_lgcFETFaultType_Cnt_M_enumRte_Call_MtrDrvDiag_Per1_CP1_CheckpointReached



MtrDrvInitComp_Cnt_M_lgcMtrDrvrInitComplete_Cnt_lgcRte_Call_FetFlt1Data_OP_GET



GateDriveFltAcc_Cnt_M_u16MtrDrvInitComp_Cnt_M_lgcRte_Call_FetFlt2Clk_OP_GET



GenGateDriveFltAcc_Cnt_M_u16GateDriveFltAcc_Cnt_M_u16SuspendAllInterrupts



OnStateFltAcc_Cnt_M_u16GenGateDriveFltAcc_Cnt_M_u16Rte_Call_FetDrvReset_OP_SET



k_GateDriveDiag_Cnt_str.NStepOnStateFltAcc_Cnt_M_u16ResumeAllInterrupts



k_OnStateDiag_Cnt_str.NStepFETFaultPhase_Cnt_enumRte_Call_SystemTime_GetSystemTime_uS_u32



ResetWaitLoop_Cnt_M_lgcFETFaultType_Cnt_enumRte_Call_SystemTime_DtrmnElapsedTime_uS_u16



k_GateDriveDiag_Cnt_str.ThresholdResetWaitLoop_Cnt_M_lgcRte_Call_SystemTime_DtrmnElapsedTime_mS_u16



k_GateDriveDiag_Cnt_str.PStepMtrDrvInitActive_Cnt_M_lgcRte_Call_NxtrDiagMgr_GetNTCFailed



k_GenGateDrvFltThrsh_Cnt_u16MtrDrvInitStartTime_mS_M_u32p0Rte_Call_SystemTime_GetSystemTime_mS_u32



k_OnStateDiag_Cnt_str.PStepFetDrvReset_OP_SET_Signal[3]Rte_Call_NxtrDiagMgr_SetNTCStatus



k_OnStateDiag_Cnt_str.ThresholdNxtrDiagMgr_NTC[4]Rte_Call_IoHwAbPortConfig_SetFetFlt2ToOutput



FETFaultPhase_Cnt_M_enumNxtrDiagMgr_Param[4]Rte_Call_FetFlt2Clk_OP_SET



FETFaultType_Cnt_M_enumNxtrDiagMgr_Status[4]Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16



MtrDrvInitActive_Cnt_M_lgcFetFlt2Clk_OP_SET_Signal[3]



MtrDrvInitStartTime_mS_M_u32p0




k_GateDrvInitDwellTime_mS_u16p0




Rte_Call_FetFlt1Data_OP_GET_Array[10]


Sheet 19: MtrDrvDiag_Per1() p

MtrDrvDiag_Per1TS--






























































































pI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PFunc Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
O/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PFunc Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionMtrDrvrInitStart_Cnt_lgcVswitchClosed_Cnt_lgcMtrDrvInitComp_Cnt_M_lgcGateDriveFltAcc_Cnt_M_u16GenGateDriveFltAcc_Cnt_M_u16OnStateFltAcc_Cnt_M_u16k_GateDriveDiag_Cnt_str.NStepk_OnStateDiag_Cnt_str.NStepResetWaitLoop_Cnt_M_lgck_GateDriveDiag_Cnt_str.Thresholdk_GateDriveDiag_Cnt_str.PStepk_GenGateDrvFltThrsh_Cnt_u16k_OnStateDiag_Cnt_str.PStepk_OnStateDiag_Cnt_str.ThresholdFETFaultPhase_Cnt_M_enumFETFaultType_Cnt_M_enumMtrDrvInitActive_Cnt_M_lgcMtrDrvInitStartTime_mS_M_u32p0k_GateDrvInitDwellTime_mS_u16p0Rte_Call_FetFlt1Data_OP_GET_Array[10]Rte_Call_FetFlt1Data_OP_GETRte_Call_FetFlt2Clk_OP_GETRte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime_mS_u16Rte_Call_NxtrDiagMgr_GetNTCFailedRte_Call_SystemTime_GetSystemTime_mS_u32Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16FETFaultPhase_Cnt_M_enumFETFaultType_Cnt_M_enumMtrDrvrInitComplete_Cnt_lgcMtrDrvInitComp_Cnt_M_lgcGateDriveFltAcc_Cnt_M_u16GenGateDriveFltAcc_Cnt_M_u16OnStateFltAcc_Cnt_M_u16FETFaultPhase_Cnt_enumFETFaultType_Cnt_enumResetWaitLoop_Cnt_M_lgcMtrDrvInitActive_Cnt_M_lgcMtrDrvInitStartTime_mS_M_u32p0FetDrvReset_OP_SET_Signal[3]NxtrDiagMgr_NTC[4]NxtrDiagMgr_Param[4]NxtrDiagMgr_Status[4]FetFlt2Clk_OP_SET_Signal[3]Rte_Call_MtrDrvDiag_Per1_CP0_CheckpointReachedRte_Call_MtrDrvDiag_Per1_CP1_CheckpointReachedRte_Call_FetFlt1Data_OP_GETRte_Call_FetFlt2Clk_OP_GETSuspendAllInterruptsRte_Call_FetDrvReset_OP_SETResumeAllInterruptsRte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime_mS_u16Rte_Call_NxtrDiagMgr_GetNTCFailedRte_Call_SystemTime_GetSystemTime_mS_u32Rte_Call_NxtrDiagMgr_SetNTCStatusRte_Call_IoHwAbPortConfig_SetFetFlt2ToOutputRte_Call_FetFlt2Clk_OP_SETRte_Call_SystemTime_DtrmnElapsedTime1_uS_u16FETFaultPhase_Cnt_M_enumFETFaultType_Cnt_M_enumMtrDrvrInitComplete_Cnt_lgcMtrDrvInitComp_Cnt_M_lgcGateDriveFltAcc_Cnt_M_u16GenGateDriveFltAcc_Cnt_M_u16OnStateFltAcc_Cnt_M_u16FETFaultPhase_Cnt_enumFETFaultType_Cnt_enumResetWaitLoop_Cnt_M_lgcMtrDrvInitActive_Cnt_M_lgcMtrDrvInitStartTime_mS_M_u32p0FetDrvReset_OP_SET_Signal[3]NxtrDiagMgr_NTC[4]NxtrDiagMgr_Param[4]NxtrDiagMgr_Status[4]FetFlt2Clk_OP_SET_Signal[3]Rte_Call_MtrDrvDiag_Per1_CP0_CheckpointReachedRte_Call_MtrDrvDiag_Per1_CP1_CheckpointReachedRte_Call_FetFlt1Data_OP_GETRte_Call_FetFlt2Clk_OP_GETSuspendAllInterruptsRte_Call_FetDrvReset_OP_SETResumeAllInterruptsRte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime_mS_u16Rte_Call_NxtrDiagMgr_GetNTCFailedRte_Call_SystemTime_GetSystemTime_mS_u32Rte_Call_NxtrDiagMgr_SetNTCStatusRte_Call_IoHwAbPortConfig_SetFetFlt2ToOutputRte_Call_FetFlt2Clk_OP_SETRte_Call_SystemTime_DtrmnElapsedTime1_uS_u16P/FCPU Cycles
1(True = VswitchClosed_Cnt_T_lgc)=True
(True = MtrDrvInitComp_Cnt_T_lgc)=True
(True = ResetWaitLoop_Cnt_M_lgc)=False
((False = FF1Set_Cnt_T_lgc) And (False = FF2Set_Cnt_T_lgc))=False
(True = FF1Set_Cnt_T_lgc)=False
(True <> ResetWaitLoop_Cnt_M_lgc)=True
011100001111111111101000010005000121100011110013125111,1,1,1,1,1,1,1,1,1011000001110010000500011100------------------------------------------------------------------3211100001111111320131250, 1, 00, 0, 0, 00, 0, 0, 00, 0, 0, 01, 0, 11111121211010122120--

2(True = ResetWaitLoop_Cnt_M_lgc)=True111400002244444444040001400020000451400044443009002550,0,0,0,0,0,0,0,0,01140000014100800011400014100------------------------------------------------------------------30114000022444430009000, 1, 00, 0, 0, 00, 0, 0, 00, 0, 0, 00, 0, 01100121110000000--

3(True = MtrDrvrInitStart_Cnt_T_lgc)=True11040000111105000010000030000500008520000111102214234191,0,0,0,0,0,0,0,0,01010000002010026000120000000020100------------------------------------------------------------------22114000011110220042340, 1, 00, 0, 0, 00, 0, 0, 00, 0, 0, 00, 0, 01100121111000000--

4((False = FF1Set_Cnt_T_lgc) And (False = FF2Set_Cnt_T_lgc))=True0118000556553544442222050000110009424000110001101000001301,1,1,1,1,1,1,1,1,10014000002410038000160000000024100------------------------------------------------------------------11113556556331311001000000, 0, 077, 78, 79, 01, 1, 1, 00, 0, 0, 00, 0, 01111000000003000--

5((False = FF1Set_Cnt_T_lgc) And (False = FF2Set_Cnt_T_lgc))=False0111600066201001333211110055555190007432000190001219000002101,1,1,1,1,1,1,1,1,10122000007777620000350000007777------------------------------------------------------------------321116000661900032019000000, 1, 00, 0, 0, 00, 0, 0, 00, 0, 0, 01, 0, 11111121211010122120--

6(True = FF1Set_Cnt_T_lgc)=True1114000044444444440400004000200001221400044443009002551,1,1,1,1,1,1,1,1,11140000014100800005000000014100------------------------------------------------------------------3211400044444432009000, 1, 00, 0, 0, 00, 0, 0, 00, 0, 0, 01, 0, 11111121211000122120--

7(True <> ResetWaitLoop_Cnt_M_lgc)=False011100001101111111101000010005000651100011110013125111,0,0,0,0,0,0,0,0,0011000001110010000500011100------------------------------------------------------------------1111100001100111131250, 0, 00, 0, 0, 00, 0, 0, 00, 0, 0, 01, 0, 11111000201010122119--

8(GateDriveFltAcc_Cnt_T_u16>k_GateDriveDiag_Cnt_str.Nstep)=False0118000120655356000022220500001100016524000110001101000001301,1,1,1,1,1,1,1,1,10014000002410038000160000000024100------------------------------------------------------------------111101206331311001000000, 0, 077, 78, 79, 01, 1, 1, 00, 0, 0, 00, 0, 01111000000003000--

9(TRUE == VswitchClosed_Cnt_T_lgc)=False10020000782222222202000120001000032120002222111747661,1,1,1,1,1,1,1,1,1112000001210020001800012100------------------------------------------------------------------11002000078222211117470, 0, 00, 0, 0, 00, 0, 0, 00, 0, 0, 00, 0, 01100000000000000--

10(TRUE == MtrDrvrInitStart_Cnt_T_lgc)=False01065535185888830000800002000040000961800088880111233341,1,1,1,1,1,1,1,1,110800000181002000002600018100------------------------------------------------------------------0100655351858888010112330, 0, 00, 0, 0, 00, 0, 0, 00, 0, 0, 00, 0, 01100000000000000--

11(OnStateFltAcc_Cnt_T_u16>k_OnStateDiag_Cnt_str.Nstep)=False1111400095655351111065535033333170005830000170003217000001901,1,1,1,1,1,1,1,1,10020000005555560001250000005555------------------------------------------------------------------3211289095032017000000, 0, 077, 78, 79, 01, 1, 1, 00, 0, 0, 00, 0, 01111000000003000--
































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































Sheet 20: MtrDrvDiag_Per1() b

MtrDrvDiag_Per1TS--






























































































bI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PI/PFunc Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
O/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PO/PFunc Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionMtrDrvrInitStart_Cnt_lgcVswitchClosed_Cnt_lgcMtrDrvInitComp_Cnt_M_lgcGateDriveFltAcc_Cnt_M_u16GenGateDriveFltAcc_Cnt_M_u16OnStateFltAcc_Cnt_M_u16k_GateDriveDiag_Cnt_str.NStepk_OnStateDiag_Cnt_str.NStepResetWaitLoop_Cnt_M_lgck_GateDriveDiag_Cnt_str.Thresholdk_GateDriveDiag_Cnt_str.PStepk_GenGateDrvFltThrsh_Cnt_u16k_OnStateDiag_Cnt_str.PStepk_OnStateDiag_Cnt_str.ThresholdFETFaultPhase_Cnt_M_enumFETFaultType_Cnt_M_enumMtrDrvInitActive_Cnt_M_lgcMtrDrvInitStartTime_mS_M_u32p0k_GateDrvInitDwellTime_mS_u16p0Rte_Call_FetFlt1Data_OP_GET_Array[10]Rte_Call_FetFlt1Data_OP_GETRte_Call_FetFlt2Clk_OP_GETRte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime_mS_u16Rte_Call_NxtrDiagMgr_GetNTCFailedRte_Call_SystemTime_GetSystemTime_mS_u32Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16FETFaultPhase_Cnt_M_enumFETFaultType_Cnt_M_enumMtrDrvrInitComplete_Cnt_lgcMtrDrvInitComp_Cnt_M_lgcGateDriveFltAcc_Cnt_M_u16GenGateDriveFltAcc_Cnt_M_u16OnStateFltAcc_Cnt_M_u16FETFaultPhase_Cnt_enumFETFaultType_Cnt_enumResetWaitLoop_Cnt_M_lgcMtrDrvInitActive_Cnt_M_lgcMtrDrvInitStartTime_mS_M_u32p0FetDrvReset_OP_SET_Signal[3]NxtrDiagMgr_NTC[4]NxtrDiagMgr_Param[4]NxtrDiagMgr_Status[4]FetFlt2Clk_OP_SET_Signal[3]Rte_Call_MtrDrvDiag_Per1_CP0_CheckpointReachedRte_Call_MtrDrvDiag_Per1_CP1_CheckpointReachedRte_Call_FetFlt1Data_OP_GETRte_Call_FetFlt2Clk_OP_GETSuspendAllInterruptsRte_Call_FetDrvReset_OP_SETResumeAllInterruptsRte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime_mS_u16Rte_Call_NxtrDiagMgr_GetNTCFailedRte_Call_SystemTime_GetSystemTime_mS_u32Rte_Call_NxtrDiagMgr_SetNTCStatusRte_Call_IoHwAbPortConfig_SetFetFlt2ToOutputRte_Call_FetFlt2Clk_OP_SETRte_Call_SystemTime_DtrmnElapsedTime1_uS_u16FETFaultPhase_Cnt_M_enumFETFaultType_Cnt_M_enumMtrDrvrInitComplete_Cnt_lgcMtrDrvInitComp_Cnt_M_lgcGateDriveFltAcc_Cnt_M_u16GenGateDriveFltAcc_Cnt_M_u16OnStateFltAcc_Cnt_M_u16FETFaultPhase_Cnt_enumFETFaultType_Cnt_enumResetWaitLoop_Cnt_M_lgcMtrDrvInitActive_Cnt_M_lgcMtrDrvInitStartTime_mS_M_u32p0FetDrvReset_OP_SET_Signal[3]NxtrDiagMgr_NTC[4]NxtrDiagMgr_Param[4]NxtrDiagMgr_Status[4]FetFlt2Clk_OP_SET_Signal[3]Rte_Call_MtrDrvDiag_Per1_CP0_CheckpointReachedRte_Call_MtrDrvDiag_Per1_CP1_CheckpointReachedRte_Call_FetFlt1Data_OP_GETRte_Call_FetFlt2Clk_OP_GETSuspendAllInterruptsRte_Call_FetDrvReset_OP_SETResumeAllInterruptsRte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime_mS_u16Rte_Call_NxtrDiagMgr_GetNTCFailedRte_Call_SystemTime_GetSystemTime_mS_u32Rte_Call_NxtrDiagMgr_SetNTCStatusRte_Call_IoHwAbPortConfig_SetFetFlt2ToOutputRte_Call_FetFlt2Clk_OP_SETRte_Call_SystemTime_DtrmnElapsedTime1_uS_u16P/FCPU Cycles
1MtrDrvrInitStart_Cnt_lgc=Min010100001011111111010000100050001251100011110013125111,1,1,1,1,1,1,1,1,1011000001110010000500011100------------------------------------------------------------------000010000101111000131250, 0, 00, 0, 0, 00, 0, 0, 00, 0, 0, 00, 0, 01100000000000000--

2MtrDrvrInitStart_Cnt_lgc=Max110200002022222222020001200010000145120002222111747661,1,1,1,1,1,1,1,1,1112000001210020001800012100------------------------------------------------------------------11112000020222211107470, 1, 00, 0, 0, 00, 0, 0, 00, 0, 0, 00, 0, 01100121111000000--

3VswitchClosed_Cnt_lgc=Min10030000303333333303000130001500088130003333221132101,0,0,0,0,0,0,0,0,00030000013100500001100013100------------------------------------------------------------------220030000303333221113210, 0, 00, 0, 0, 00, 0, 0, 00, 0, 0, 00, 0, 01100000000000000--

4VswitchClosed_Cnt_lgc=Max111400004044444444040001400020000741400044443009002550,0,0,0,0,0,0,0,0,01140000014100800011400014100------------------------------------------------------------------30114000040444430009000, 1, 00, 0, 0, 00, 0, 0, 00, 0, 0, 00, 0, 01100121110000000--

5MtrDrvInitComp_Cnt_M_lgc=Min010500005055555555050000500025000651500055551113441231,1,1,1,1,1,1,1,1,101500000151001100011700015100------------------------------------------------------------------11005000050555511013440, 0, 00, 0, 0, 00, 0, 0, 00, 0, 0, 00, 0, 01100000000000000--

6MtrDrvInitComp_Cnt_M_lgc=Max1116000060666610000600011000030000951600066662016653100,0,0,0,0,0,0,0,0,000600000161001400012000016100------------------------------------------------------------------201160000606666200166530, 1, 00, 0, 0, 00, 0, 0, 00, 0, 0, 00, 0, 01100121110000000--

7GateDriveFltAcc_Cnt_M_u16=Min1110707777200007000015000350001217000777732083462661,1,1,1,1,1,1,1,1,111700000171001700012300017100------------------------------------------------------------------3211150007077773200834620, 1, 00, 0, 0, 00, 0, 0, 00, 0, 0, 01, 0, 11111121211000122120--

8GateDriveFltAcc_Cnt_M_u16=Max01165535808888300008000020000400001221800088880111233341,1,1,1,1,1,1,1,1,110800000181002000002600018100------------------------------------------------------------------011120000808888010112330, 1, 00, 0, 0, 00, 0, 0, 00, 0, 0, 00, 0, 01111121110001000--

9GateDriveFltAcc_Cnt_M_u16=Pos011300090999940000900002500045000145190009999110832781,1,1,1,1,1,1,1,1,1019000001910023000010000000019100------------------------------------------------------------------3211300090999932008320, 1, 00, 0, 0, 00, 0, 0, 00, 0, 0, 01, 0, 11111121211010122120--

10GenGateDriveFltAcc_Cnt_M_u16=Min11140000111105000010000030000500006220000111102214234191,0,0,0,0,0,0,0,0,00110000002010026000120000000020100------------------------------------------------------------------22114000011110220142340, 1, 00, 0, 0, 00, 0, 0, 00, 0, 0, 00, 0, 01111121110100000--

11GenGateDriveFltAcc_Cnt_M_u16=Max01150002001222160000110000350005500012521000122211102929250,0,0,0,0,0,0,0,0,00111000002110029000130000000021100------------------------------------------------------------------1111500020012221110029290, 1, 00, 0, 0, 00, 0, 0, 00, 0, 0, 00, 0, 01111121110100000--

12GenGateDriveFltAcc_Cnt_M_u16=Pos111600075133321100012000040000600002002200013332221100001101,1,1,1,1,1,1,1,1,10112000002210032000040000000022100------------------------------------------------------------------3211600075133323201100000, 1, 00, 0, 0, 00, 0, 0, 00, 0, 0, 01, 0, 11111121211010122120--

13OnStateFltAcc_Cnt_M_u16=Min111700010003333111104500065000252300014443300200001200,0,0,0,0,0,0,0,0,00013000002310035000050000000023100------------------------------------------------------------------3011366710003000200000, 0, 077, 78, 79, 01, 1, 1, 00, 0, 0, 00, 0, 01111000000003000--

14OnStateFltAcc_Cnt_M_u16=Max01180001106553544442222050000110009824000110001101000001301,1,1,1,1,1,1,1,1,10014000002410038000160000000024100------------------------------------------------------------------111135561106331311001000000, 0, 077, 78, 79, 01, 1, 1, 00, 0, 0, 00, 0, 01111000000003000--

15OnStateFltAcc_Cnt_M_u16=Pos1119000120300055553333055000120007425000120002212000001401,0,0,0,0,0,0,0,0,00015000002510041000070000000025100------------------------------------------------------------------22113445120022012000000, 0, 077, 78, 79, 01, 1, 1, 00, 0, 0, 00, 0, 01111000000003000--

16k_GateDriveDiag_Cnt_str.NStep=Min111100001301410004444060000130002426000130003013000001500,0,0,0,0,0,0,0,0,00016000002610044000180000000026100------------------------------------------------------------------301110000130965630013000000, 0, 077, 78, 79, 01, 1, 1, 00, 0, 0, 00, 0, 01111000000003000--

17k_GateDriveDiag_Cnt_str.NStep=Max1111100014015100655355555065000140006227000140000104000001600,0,0,0,0,0,0,0,0,000170000022224700009000000002222------------------------------------------------------------------01110140954501004000000, 0, 077, 78, 79, 01, 1, 1, 00, 0, 0, 00, 0, 01111000000003000--

18k_GateDriveDiag_Cnt_str.NStep=Pos111120001501610030006666011111150003528000150001115000001700,0,0,0,0,0,0,0,0,00018000003333500001150000003333------------------------------------------------------------------11119000150943411015000000, 0, 077, 78, 79, 01, 1, 1, 00, 0, 0, 00, 0, 01111000000003000--

19k_OnStateDiag_Cnt_str.Nstep=Min111130001601710099990022222160004529000160002006000001801,1,1,1,1,1,1,1,1,10019000004444530000200000004444------------------------------------------------------------------201130011601710020006000000, 0, 077, 78, 79, 01, 1, 1, 00, 0, 0, 00, 0, 01111000000003000--

20k_OnStateDiag_Cnt_str.NStep=Max111140001706553511110655350333331700016630000170003217000001901,1,1,1,1,1,1,1,1,10020000005555560001250000005555------------------------------------------------------------------32112890170032017000000, 0, 077, 78, 79, 01, 1, 1, 00, 0, 0, 00, 0, 01111000000003000--

21k_OnStateDiag_Cnt_str.NStep=Pos11115000180191001222130000444441800017231000180002208000002000,0,0,0,0,0,0,0,0,00021000006666590001300000006666------------------------------------------------------------------221127791801610022008000000, 0, 077, 78, 79, 01, 1, 1, 00, 0, 0, 00, 0, 01111000000003000--

22ResetWaitLoop_Cnt_M_lgc=Min011160001902010013332111100555551900019832000190001219000002101,1,1,1,1,1,1,1,1,10122000007777620000350000007777------------------------------------------------------------------3211160001901900032019000000, 1, 00, 0, 0, 00, 0, 0, 00, 0, 0, 01, 0, 11111121211010122120--

23ResetWaitLoop_Cnt_M_lgc=Max0111700085211001110012221111000200008330002000011110000002201,0,0,0,0,0,0,0,0,01123000008888650000400000008888------------------------------------------------------------------1111170008521100110110000000, 1, 00, 0, 0, 00, 0, 0, 00, 0, 0, 00, 0, 01100121110000000--

24Rte_Call_FetFlt1Data_OP_GET and Rte_Call_FetFlt2Clk_OP_GET=False11130000115333333330300003000150004130003333221132100,0,0,0,0,0,0,0,0,00030000013100500014500000013100------------------------------------------------------------------22110115333220113210, 0, 077, 78, 79, 01, 1, 1, 00, 0, 0, 00, 0, 01111000000003000--

25Rte_Call_FetFlt1Data_OP_GET and Rte_Call_FetFlt2Clk_OP_GET=True1114000017844444444040000400020000121400044443009002551,1,1,1,1,1,1,1,1,11140000014100800005000000014100------------------------------------------------------------------32114000178444432009000, 1, 00, 0, 0, 00, 0, 0, 00, 0, 0, 01, 0, 11111121211000122120--

26All Min00000000000000000000,0,0,0,0,0,0,0,0,0000000050------------------------------------------------------------------0000000000000, 0, 00, 0, 0, 00, 0, 0, 00, 0, 0, 00, 0, 01100000000000000--

27All Max1116553520065535655356553516553565535200655356553532142949672952551,1,1,1,1,1,1,1,1,111429496729565535655351429496729565535------------------------------------------------------------------32116553520065535320142949672950, 1, 00, 0, 0, 00, 0, 0, 00, 0, 0, 00, 0, 01100121110000000--
































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































Sheet 21: MtrDrvDiag_Per2




















Nexteer EPS Unit Test Tool






Rev:2.7b






Test Setup


Number Of Calibrations0


Number Of Calibration Sets0


Calibration Sheet















Function(s) Under TestVariablesFunction Stubs
Function NameTestTypeTest VectorsSetReadFunction Name
MtrDrvDiag_Per2p1
FetDrvReset_OP_SET_Signal[3]Rte_Call_FetDrvReset_OP_SET

Sheet 22: MtrDrvDiag_Per2() p

MtrDrvDiag_Per2TS--
--


pO/PFunc Stub
Counter
Expected
O/P
Expected
Stub Cnt
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionFetDrvReset_OP_SET_Signal[3]Rte_Call_FetDrvReset_OP_SETFetDrvReset_OP_SET_Signal[3]Rte_Call_FetDrvReset_OP_SETP/FCPU Cycles
1Check for Call Trace----0, 0, 01--




























































































Sheet 23: MtrDrvDiag_Trns1




















Nexteer EPS Unit Test Tool






Rev:2.7b






Test Setup


Number Of Calibrations0


Number Of Calibration Sets0


Calibration Sheet















Function(s) Under TestVariablesFunction Stubs
Function NameTestTypeTest VectorsSetReadFunction Name
MtrDrvDiag_Trns1p1
GateDriveFltAcc_Cnt_M_u16Rte_Call_FetDrvReset_OP_SET




GenGateDriveFltAcc_Cnt_M_u16




OnStateFltAcc_Cnt_M_u16




MtrDrvInitComp_Cnt_M_lgc




MtrDrvrInitComplete_Cnt_lgc




Signal[2]

Sheet 24: MtrDrvDiag_Trns1() p

MtrDrvDiag_Trns1TS--














pO/PO/PO/PO/PO/PO/PFunc Stub
Counter
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
Stub Cnt
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionGateDriveFltAcc_Cnt_M_u16GenGateDriveFltAcc_Cnt_M_u16OnStateFltAcc_Cnt_M_u16MtrDrvInitComp_Cnt_M_lgcMtrDrvrInitComplete_Cnt_lgcSignal[2]Rte_Call_FetDrvReset_OP_SETGateDriveFltAcc_Cnt_M_u16GenGateDriveFltAcc_Cnt_M_u16OnStateFltAcc_Cnt_M_u16MtrDrvInitComp_Cnt_M_lgcMtrDrvrInitComplete_Cnt_lgcSignal[2]Rte_Call_FetDrvReset_OP_SETP/FCPU Cycles
1Check for Call Trace--------------00000--1--
































































































































































































Sheet 25: ReadMtrDrvFltData




















Nexteer EPS Unit Test Tool






Rev:2.7b






Test Setup


Number Of Calibrations0


Number Of Calibration Sets0


Calibration Sheet















Function(s) Under TestVariablesFunction Stubs
Function NameTestTypeTest VectorsSetReadFunction Name
ReadMtrDrvFltDatab7StatusPtr_Cnt_T_b16FETFaultPhase_Cnt_M_enumRte_Call_IoHwAbPortConfig_SetFetFlt2ToOutput
ReadMtrDrvFltDatap5Rte_Call_FetFlt1Data_OP_GET_Array[10]FETFaultType_Cnt_M_enumRte_Call_FetFlt2Clk_OP_SET




StatusPtr_Cnt_T_b16Rte_Call_SystemTime_GetSystemTime_uS_u32




FetFlt2Clk_OP_SET_Signal[3]Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16





Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16

Sheet 26: ReadMtrDrvFltData() p

ReadMtrDrvFltDataTS--

























pI/PI/PFunc Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Function
Return Val
O/PO/PO/PO/PFunc Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Expected
Return Val
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionStatusPtr_Cnt_T_b16Rte_Call_FetFlt1Data_OP_GET_Array[10]Rte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16ReadMtrDrvFltDataFETFaultPhase_Cnt_M_enumFETFaultType_Cnt_M_enumStatusPtr_Cnt_T_b16FetFlt2Clk_OP_SET_Signal[3]Rte_Call_IoHwAbPortConfig_SetFetFlt2ToOutputRte_Call_FetFlt2Clk_OP_SETRte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16ReadMtrDrvFltDataFETFaultPhase_Cnt_M_enumFETFaultType_Cnt_M_enumStatusPtr_Cnt_T_b16FetFlt2Clk_OP_SET_Signal[3]Rte_Call_IoHwAbPortConfig_SetFetFlt2ToOutputRte_Call_FetFlt2Clk_OP_SETRte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16P/FCPU Cycles
1
(0 = Status_Cnt_T_b16)=True
120000,0,0,0,0,0,0,0,0,0500006000060000--------------------00010241, 0, 122120119--

2(ClockBit_Cnt_T_u16 = 0 To D_NUMOFGDSTATUSBITS_CNT_U16 - 1)=True
(True = DataHigh_Cnt_T_lgc_Array(ClockBit_Cnt_T_u16))=True
01,1,1,1,1,1,1,1,1,150001000010000--------------------63210231, 0, 122120119--

3(PHASEA = FETFaultPhase_Cnt_T_enum)=True50001,0,0,0,0,0,0,0,0,020002000020000--------------------11111, 0, 122120119--

4(PHASEB = FETFaultPhase_Cnt_T_enum)=True50000,1,0,0,0,0,0,0,0,020002000020000--------------------12121, 0, 122120119--

5(PHASEA = FETFaultPhase_Cnt_T_enum)=False
(PHASEB = FETFaultPhase_Cnt_T_enum)=False
50000,0,1,0,0,0,0,0,0,020002000020000--------------------13141, 0, 122120119--














































































































































































































































































































Sheet 27: ReadMtrDrvFltData() b

ReadMtrDrvFltDataTS--

























bI/PI/PFunc Stub
Return Val
Func Stub
Return Val
Func Stub
Return Val
Function
Return Val
O/PO/PO/PO/PFunc Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Func Stub
Counter
Expected
Return Val
Expected
O/P
Expected
O/P
Expected
O/P
Expected
O/P
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Expected
Stub Cnt
Test StatusPerf. MetricsComments
Vector NumberVector DescriptionStatusPtr_Cnt_T_b16Rte_Call_FetFlt1Data_OP_GET_Array[10]Rte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16ReadMtrDrvFltDataFETFaultPhase_Cnt_M_enumFETFaultType_Cnt_M_enumStatusPtr_Cnt_T_b16FetFlt2Clk_OP_SET_Signal[3]Rte_Call_IoHwAbPortConfig_SetFetFlt2ToOutputRte_Call_FetFlt2Clk_OP_SETRte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16ReadMtrDrvFltDataFETFaultPhase_Cnt_M_enumFETFaultType_Cnt_M_enumStatusPtr_Cnt_T_b16FetFlt2Clk_OP_SET_Signal[3]Rte_Call_IoHwAbPortConfig_SetFetFlt2ToOutputRte_Call_FetFlt2Clk_OP_SETRte_Call_SystemTime_GetSystemTime_uS_u32Rte_Call_SystemTime_DtrmnElapsedTime_uS_u16Rte_Call_SystemTime_DtrmnElapsedTime1_uS_u16P/FCPU Cycles
1StatusPtr_Cnt_T_b16=Min01,1,1,1,1,1,1,1,1,150001000010000--------------------63210231, 0, 122120119--

2StatusPtr_Cnt_T_b16=Max655351,1,1,1,1,1,1,1,1,110001500015000--------------------63210231, 0, 122120119--

3StatusPtr_Cnt_T_b16=Pos50001,0,0,0,0,0,0,0,0,020002000020000--------------------11111, 0, 122120119--

4Rte_Call_FetFlt1Data_OP_GET=Min120000,0,0,0,0,0,0,0,0,0500006000060000--------------------00010241, 0, 122120119--

5Rte_Call_FetFlt1Data_OP_GET=Max130001,1,1,1,1,1,1,1,1,1600006100061000--------------------63210231, 0, 122120119--

6All Min00,0,0,0,0,0,0,0,0,00010--------------------00010241, 0, 122120120--

7All Max655351,1,1,1,1,1,1,1,1,142949672956553565535--------------------63210231, 0, 122120119--