This is the multi-page printable view of this section. Click here to print.
Component Implementation
1 - CurrMeas_IntegrationManual
Integration Manual
For
CURRENT MEASUREMENT
VERSION: 4.0
DATE: 30-Mar-2016
Prepared By:
Software Group,
Nexteer Automotive,
Saginaw, MI, USA
Location: The official version of this document is stored in the Nexteer Configuration Management System.
Revision History
Sl. No. | Description | Author | Version | Date |
1 | Initial version | Selva Sengottaiyan | 1.0 | 4-May-2015 |
2 | Added fault injection | Nick Saxton | 2.0 | 10-Aug-2015 |
3 | Updated to v 3.1.0 of FDD | Selva Sengottaiyan | 3.0 | 29-Sep-2015 |
4 | Updated per design rev. 4.2.0 | Rijvi Ahmed | 4.0 | 30-Mar-2016 |
Table of Contents
3.2 Global Functions(Non RTE) to be provided to Integration Project 6
4 Configuration REQUIREMeNTS 7
4.2 Configuration Files to be provided by Integration Project 7
4.3 Da Vinci Parameter Configuration Changes 7
4.4 DaVinci Interrupt Configuration Changes 7
4.5 Manual Configuration Changes 7
5 Integration DATAFLOW REQUIREMENTS 8
5.1 Required Global Data Inputs 8
5.2 Required Global Data Outputs 8
5.3 Specific Include Path present 8
Abbrevations And Acronyms
Abbreviation | Description |
---|---|
DFD | Design functional diagram |
MDD | Module design Document |
<ADD more to the table if applicable> | |
References
This section lists the title & version of all the documents that are referred for development of this document
Sr. No. | Title | Version |
---|---|---|
<1> | FDD – ES200A Current Measurement | See synergy subversion |
Dependencies
SWCs
Module | Required Feature |
---|---|
None | N/A |
Note : Referencing the external components should be avoided in most cases. Only in unavoidable circumstance external components should be referred. Developer should track the references.
Global Functions(Non RTE) to be provided to Integration Project
CurrMeasPer2()
Configuration REQUIREMeNTS
Build Time Config
Modules | Notes | |
---|---|---|
FLTINJENA | Set to STD_ON for Fault Injection |
Configuration Files to be provided by Integration Project
None
Da Vinci Parameter Configuration Changes
Parameter | Notes | SWC |
---|---|---|
N/A |
DaVinci Interrupt Configuration Changes
ISR Name | VIM # | Priority Dependency | Notes |
---|---|---|---|
N/A |
Manual Configuration Changes
Constant | Notes | SWC |
---|---|---|
N/A |
Integration DATAFLOW REQUIREMENTS
Required Global Data Inputs
Refer DataDict.m file
Required Global Data Outputs
Refer DataDict.m file
Specific Include Path present
Yes
Runnable Scheduling
This section specifies the required runnable scheduling.
Init | Scheduling Requirements | Trigger |
---|---|---|
CurrMeasInit1 | None | RTE |
Runnable | Scheduling Requirements | Trigger |
---|---|---|
CurrMeasPer1 | None | 2ms(RTE) |
CurrMeasPer2 | None | MOTCTRL ISR*2 |
CurrMeasPer3 | None | 2ms(RTE) |
CurrMeasEolGainReq | None | On Event |
CurrMeasEolGainStsReq | None | On Event |
CurrMeasEolOffsReq | None | On Event |
CurrMeasEolOffsStsReq | None | On Event |
CurrMeasGainWrReq | None | On Event |
CurrMeasGainReadReq | None | On Event |
CurrMeasOffsWrReq | None | On Event |
CurrMeasOffsReadReq | None | On Event |
.
Memory Map REQUIREMENTS
Mapping
Memory Section | Contents | Notes |
---|---|---|
MotCtrl_START_SEC_CODE | Code section for Motor Control scheduled functions | |
* Each …START_SEC… constant is terminated by a …STOP_SEC… constant as specified in the AUTOSAR Memory Mapping requirements.
Usage
Feature | RAM | ROM |
---|---|---|
None |
Non RTE NvM Blocks
Block Name |
---|
None |
Note : Size of the NVM block if configured in developer
RTE NvM Blocks
Block Name |
---|
CurrMeasEolGainCalSet CurrMeasEolOffsCalSet |
Note : Size of the NVM block if configured in developer
The NVM block needs not used.
Compiler Settings
Preprocessor MACRO
None
Optimization Settings
None
Appendix
None
2 - CurrMeas_MDD
Module Design Document
For
Current Measurement
October 5, 2016
Prepared For:
Software Engineering
Nexteer Automotive,
Saginaw, MI, USA
Prepared By:
Software Group,
Nexteer Automotive,
Saginaw, MI, USAChange History
Sl. No. | Description | Author | Version | Date |
1 | Initial Version | Selva | 1.0 | 4- May-2015 |
2.0 | Updated to v 3.1.0 of the FDD (Merged CurrMeas_MDD and CurrMeas_MotCtrl_MDD) | Selva | 2.0 | 29-Sep-2015 |
3.0 | Updated per design rev. 4.2.0 | Rijvi Ahmed | 3.0 | 30-Mar-2016 |
4.0 | Added design limitation and unit test consideration. Design rev. 4.5.0 | Rijvi Ahmed | 4.0 | 05-October-2016 |
Table of Contents
2 Current Measurement & High-Level Description 6
3 Design details of software module 7
4.1.1 Program (fixed) Constants 8
5 Software Component Implementation 9
5.4.1 Serverrunnable: CurrMeasEolGainSTsReq 10
5.4.2 Serverrunnable: CurrMeasEoloffsSTsReq 10
5.4.3 Serverrunnable: CurrMeasEoloffsReq 10
5.4.4 Serverrunnable: CurrMeasEolGainReq 11
5.4.5 Serverrunnable: CurrMeasGainReadReq 11
5.4.6 Serverrunnable: CurrMeasGainWrReq 11
5.4.7 Serverrunnable: CurrMeasOffsReadReq 11
5.4.8 Serverrunnable: CurrMeasOffsWrReq 11
5.5 Module Internal (Local) Functions 12
5.5.1 Local Function #1 PerformGainCalibration 12
5.5.2 Local Function #2 SigMaxMinGain 12
5.5.3 Local Function #3 SigMaxMinOffs 12
5.5.4 Local Function #4 ProtocolChkWI 12
5.5.5 Local Function #1 ProtocolChkEn 13
5.5.6 Local Function #2 CalcMotCurrMotAgCorrd 13
5.5.7 Local Function #3 OffsCalcABC 13
5.5.8 Local Function #4 OffsCalcDEF 14
5.5.9 Local Function #5 CalMotCurrCorrdABC 14
5.5.10 Local Function #6 CalMotCurrCorrdDEF 15
6 GLOBAL Function/Macro Definitions 16
7 Known Limitations with Design 17
Appendix A Abbreviations and Acronyms 19
Introduction
Purpose
None
Current Measurement & High-Level Description
Refer FDD Design for High level description
Design details of software module
Graphical representation of Current Measurement
Data Flow Diagram
Component level DFD
None
Function level DFD
None
Constant Data Dictionary
Program (fixed) Constants
Embedded Constants
Local Constants
Constant Name | Resolution | Units | Value |
CALPROCNOTSTRTD_CNT_U08 | 1 | Cnt | 0 |
CALPROCSTRTD_CNT_U08 | 1 | Cnt | 1 |
CALPROCPASS_CNT_U08 | 1 | Cnt | 2 |
CALPROCPHAABCEOLOUTOFRNG_CNT_U08 | 1 | Cnt | 4 |
CALPROCPHADEFEOLOUTOFRNG_CNT_U08 | 1 | Cnt | 8 |
CALPROCPHAABCDEFEOLOUTOFRNG_CNT_U08 | 1 | Cnt | 12 |
CALPROCVEHSPDCNDNOTMET_CNT_U08 | 1 | Cnt | 16 |
CALPROCMOTVELMRFCNDNOTMET_CNT_U08 | 1 | Cnt | 32 |
CALPROCBOTHIVTRINACTV_CNT_U08 | 1 | Cnt | 64 |
DIFOFFSRNGCHKMAX_VOLT_F32 | Single precision float | Ampr | 1.0 |
DIFOFFSRNGCHKMIN_VOLT_F32 | Single precision float | Ampr | -1.0 |
NANOSECTOSEC_ULS_F32 | float32 | Uls | 0.000000001 |
Refer DataDict.m file for other local constants | Refer DataDict.m file for other local constants | Refer DataDict.m file for other local constants | Refer DataDict.m file for other local constants |
Software Component Implementation
<The detailed design of the function is provided in the FDD. The detail design shall only be added to the MDD when it is not provided in the FDD or the FDD is not adequate and clarification is needed.>
Sub-Module Functions
The sub-module functions are grouped based on similar functionality that needs to be executed in a given “State” of the system (refer States and Modes). For a given module, the MDD will identify the type and number of sub-modules required. The sub-module types are described below.
<(Note: For multiple init or per functions, insert new headers at the “Header 3” level – subset of “Sub-Module Functions section above” and follow the same sub-section design shown below . If none required, place the text “None”))>
INIT: CurrMeasInit1
Design Rationale
Init1 function is created so that it will allow a RTE model to be created in the AUTOSAR tools which allows Per-Instance Memory and calibration definition needs. The initialization function is doing nothing
Store Module Inputs to Local copies
None
(Processing of function)………
None
Store Local copy of outputs into Module Outputs
None
PERIODIC FUNCTIONS
(Note: For multiple periodic functions, insert new headers at the “Header 2” level – subset of “ Periodic Functions” and follow the same sub-section design shown below). If none required, place the text “None”)>
Per: CurrMeasPer1
Design Rationale
Refer the FDD
Store Module Inputs to Local copies
(Processing of function)………
Refer the FDD
Store Local copy of outputs into Module Outputs
Refer the FDD
Per: CurrMeasPer2
Design Rationale
Refer to FDD
Store Module Inputs to Local copies
Refer to FDD
(Processing of function)………
Refer to FDD
Store Local copy of outputs into Module Outputs
Refer to FDD
Per: CurrMeasPer3
Design Rationale
Refer to FDD
Store Module Inputs to Local copies
Refer to FDD
(Processing of function)………
Refer to FDD
Store Local copy of outputs into Module Outputs
Refer to FDD
Server Runables
Serverrunnable: CurrMeasEolGainSTsReq
Design Rationale
Refer the FDD
Serverrunnable: CurrMeasEoloffsSTsReq
Design Rationale
Refer the FDD
Serverrunnable: CurrMeasEoloffsReq
Design Rationale
Refer the FDD
Serverrunnable: CurrMeasEolGainReq
Design Rationale
Refer the FDD
Serverrunnable: CurrMeasGainReadReq
Design Rationale
Refer the FDD
Serverrunnable: CurrMeasGainWrReq
Design Rationale
Refer the FDD
Serverrunnable: CurrMeasOffsReadReq
Design Rationale
Refer the FDD
Serverrunnable: CurrMeasOffsWrReq
Design Rationale
Refer the FDD
Module Internal (Local) Functions
Local Function #1 PerformGainCalibration
Function Name | PerformGainCalibration | Type | Min | Max |
Arguments | None | |||
Return Value | None |
Description
Refer FDD.
Local Function #2 SigMaxMinGain
Function Name | SigMaxMinGain | Type | Min | Max |
Arguments | None | |||
Return Value | None |
Description
Refer FDD.
Local Function #3 SigMaxMinOffs
Function Name | SigMaxMinOffs | Type | Min | Max |
Arguments | None | |||
Return Value | None |
Description
Refer FDD.
Local Function #4 ProtocolChkWI
Function Name | ProtocolChkWI | Type | Min | Max |
MotCtrlMotCurrAdcVly1_Volt_T_f32 | float32 | 0.3 | 4.8 | |
MotCtrlMotCurrAdcVly2_Volt_T_f32 | float32 | 0.3 | 4.8 | |
MotCtrlMotCurrAdcVly3_Volt_T_f32 | float32 | 0.3 | 4.8 | |
Return Value | ProtocolChk_Cnt_T_logl | boolean | FALSE | TRUE |
Description
Refer FDD.
Local Function #1 ProtocolChkEn
Function Name | ProtocolChkEn | Type | Min | Max |
Arguments Passed | MotCtrlMotCurrAdcVly1AdcFaild_Cnt_T_logl | boolean | FALSE | TRUE |
MotCtrlMotCurrAdcVly2AdcFaild_Cnt_T_logl | boolean | FALSE | TRUE | |
MotCtrlMotCurrAdcVly3AdcFaild_Cnt_T_logl | boolean | FALSE | TRUE | |
Return Value | ProtocolChkEn_Cnt_T_logl | boolean | FALSE | TRUE |
Description
Refer FDD.
Local Function #2 CalcMotCurrMotAgCorrd
Function Name | CalcMotCurrMotAgCorrd | Type | Min | Max |
MotCtrlMotAgElec_Rev_T_u0p16 | u0p16 | 0 | 65535 | |
MotCtrlMotElecMeclPolarity_Uls_T_s08 | Sint8 | -1 | 1 | |
MotCtrlMotVelMrf_MtrRadpS_T_f32 | float32 | -1350 | 1350 | |
Return Value | MotCtrlCurrMeasMotAgCorrd_Rad_T_f32 | float32 | -6.28 | 6.28 |
Description
Refer FDD.
MotCtrlMotElecMeclPolarity_Uls_T_s08 takes -1 and +1 as its values
Local Function #3 OffsCalcABC
Function Name | OffsCalcABC | Type | Min | Max |
Arguments | MotCtrlBrdgVltg_Volt_T_f32 | float32 | 6 | 26.5 |
MotCtrlPhaOnTiA_NanoSec_T_u32 | uint32 | 0 | 71429 | |
MotCtrlPhaOnTiB_NanoSec_T_u32 | uint32 | 0 | 71429 | |
MotCtrlPhaOnTiC_NanoSec_T_u32 | uint32 | 0 | 71429 | |
Return Value | *MotCurrOffsA_Volt_T_f32 | float32 | 0 | 5 |
*MotCurrOffsB_Volt_T_f32 | float32 | 0 | 5 | |
*MotCurrOffsC_Volt_T_f32 | float32 | 0 | 5 |
Description
Refer FDD.
Local Function #4 OffsCalcDEF
Function Name | OffsCalcDEF | Type | Min | Max |
Arguments | MotCtrlBrdgVltg_Volt_T_f32 | float32 | 6 | 26.5 |
MotCtrlPhaOnTiA_NanoSec_T_u32 | uint32 | 0 | 71429 | |
MotCtrlPhaOnTiB_NanoSec_T_u32 | uint32 | 0 | 71429 | |
MotCtrlPhaOnTiC_NanoSec_T_u32 | uint32 | 0 | 71429 | |
Return Value | *MotCurrOffsD_Volt_T_f32 | float32 | 0 | 5 |
*MotCurrOffsE_Volt_T_f32 | float32 | 0 | 5 | |
*MotCurrOffsF_Volt_T_f32 | float32 | 0 | 5 |
Description
Refer FDD.
Local Function #5 CalMotCurrCorrdABC
Function Name | CalMotCurrCorrdABC | Type | Min | Max |
MotCurrOffsA_Volt_T_f32 | float32 | 0 | 5 | |
MotCurrOffsB_Volt_T_f32 | float32 | 0 | 5 | |
MotCurrOffsC_Volt_T_f32 | float32 | 0 | 5 | |
Return Value | MotCtrlMotCurrCorrdA | float32 | -200 | 200 |
MotCtrlMotCurrCorrdB | float32 | -200 | 200 | |
MotCtrlMotCurrCorrdC | float32 | -200 | 200 |
Description
Refer FDD.
Note: MotCtrlMotCurrCorrdA, MotCtrlMotCurrCorrdB, MotCtrlMotCurrCorrdC are not updated every runnable loop as Motor Control Manager should retain its last known good value.
Local Function #6 CalMotCurrCorrdDEF
Function Name | CalMotCurrCorrdDEF | Type | Min | Max |
MotCurrOffsD_Volt_T_f32 | float32 | 0 | 5 | |
MotCurrOffsE_Volt_T_f32 | float32 | 0 | 5 | |
MotCurrOffsF_Volt_T_f32 | float32 | 0 | 5 | |
Return Value | MotCtrlMotCurrCorrdD | float32 | -200 | 200 |
MotCtrlMotCurrCorrdE | float32 | -200 | 200 | |
MotCtrlMotCurrCorrdF | float32 | -200 | 200 |
Description
Note: MotCtrlMotCurrCorrdA, MotCtrlMotCurrCorrdB, MotCtrlMotCurrCorrdC are not updated every runnable loop as Motor Control Manager should retain its last known good value.
GLOBAL Function/Macro Definitions
None
Known Limitations with Design
In the implementation of Simulink block “CurrMeasPer2” the source code has made a decision to implement the protocol checks first then the motor control based timing checks. This leads to a scenario where the counter PhaOnTiErrCnt will only get incremented when the ABC passes the protocol check, whereas the model will increment it regardless of protocol check status. This counter is in effect used for display purposes only. So it’s okay to keep this mismatch.
UNIT TEST CONSIDERATION
In the function CalMotCurrCorrdABC variables MotCtrlPhaOnTiA_NanoSec_T_u32, MotCtrlPhaOnTiB_NanoSec_T_u32 and MotCtrlPhaOnTiC_NanoSec_T_u32 are a percentage of MotCtrlPwmPerd_NanoSec_T_u32, 100% is the maximum. Therefore never use a value for MotCtrlPhaOnTiA_NanoSec_T_u32, MotCtrlPhaOnTiB_NanoSec_T_u32 and MotCtrlPhaOnTiC_NanoSec_T_u32 which is greater than MotCtrlPwmPerd_NanoSec_T_u32.
Abbreviations and Acronyms
Abbreviation or Acronym | Description |
---|---|
Glossary
Note: Terms and definitions from the source “Nexteer Automotive” take precedence over all other definitions of the same term. Terms and definitions from the source “Nexteer Automotive” are formulated from multiple sources, including the following:
ISO 9000
ISO/IEC 12207
ISO/IEC 15504
Automotive SPICE® Process Reference Model (PRM)
Automotive SPICE® Process Assessment Model (PAM)
ISO/IEC 15288
ISO 26262
IEEE Standards
SWEBOK
PMBOK
Existing Nexteer Automotive documentation
Term | Definition | Source |
---|---|---|
MDD | Module Design Document | |
DFD | Data Flow Diagram |
References
Ref. # | Title | Version |
---|---|---|
1 | AUTOSAR Specification of Memory Mapping (Link:AUTOSAR_SWS_MemoryMapping.pdf) | v1.3.0 R4.0 Rev 2 |
2 | MDD Guideline | EA4 01.00.00 |
3 | Software Naming Conventions.doc | 1.0 |
4 | Software Design and Coding Standards.doc | 2.0 |
5 | Current Meaurement Design ES200A_CurrMeas_Design | See Synergy subversion |
3 - CurrMeas_Review
Overview
Summary SheetSynergy Project
Source Code (2)
PolySpace
MDD
Sheet 1: Summary Sheet

Sheet 2: Synergy Project
Sheet 3: Source Code (2)
Rev 1.2 | 8-Jun-15 | |||||||||||||||||||||||
Peer Review Meeting Log (Source Code Review) | ||||||||||||||||||||||||
Source File Name: | CDD_CurrMeas.c | Source File Revision: | 8 | |||||||||||||||||||||
Header File Name: | CDD_CurrMeas.h | Header File Revision: | ||||||||||||||||||||||
MDD Name: | CurrMeas_MotCtrl_MDD.doc | Revision: | 4 | |||||||||||||||||||||
FDD/SCIR/DSR/FDR/CM Name: | ES200A_CurrMeas_Design | Revision: | 4.5.0 | |||||||||||||||||||||
Quality Check Items: | ||||||||||||||||||||||||
Rationale is required for all answers of No | ||||||||||||||||||||||||
Working EA4 Software Naming Convention followed: | ||||||||||||||||||||||||
for variable names | Yes | Comments: | ||||||||||||||||||||||
Reviewed only for the changes | ||||||||||||||||||||||||
for constant names | Yes | Comments: | ||||||||||||||||||||||
Reviewed only for the changes | ||||||||||||||||||||||||
for function names | N/A | Comments: | ||||||||||||||||||||||
Reviewed only for the changes | ||||||||||||||||||||||||
for other names (component, memory | N/A | Comments: | ||||||||||||||||||||||
mapping handles, typedefs, etc.) | Reviewed only for the changes | |||||||||||||||||||||||
All paths assign a value to outputs, ensuring | N/A | Comments: | ||||||||||||||||||||||
all outputs are initialized prior to being written | Reviewed only for the changes | |||||||||||||||||||||||
Requirements Tracability tags in code match the requirements tracability in the FDD | Yes | Comments: | ||||||||||||||||||||||
requirements tracability in the FDD | ||||||||||||||||||||||||
All variables are declared at the function level. | N/A | Comments: | ||||||||||||||||||||||
Reviewed only for the changes | ||||||||||||||||||||||||
Synergy version matches change history | Yes | Comments: | ||||||||||||||||||||||
and Version Control version in file comment block | ||||||||||||||||||||||||
Change log contains detailed description of changes | Yes | Comments: | ||||||||||||||||||||||
and Work CR number | ||||||||||||||||||||||||
Code accurately implements FDD (Document or Model) | Yes | Comments: | ||||||||||||||||||||||
Reviewed only for the changes | ||||||||||||||||||||||||
Verified no Compiler Errors or Warnings | Yes | Comments: | ||||||||||||||||||||||
Component.h is included | Yes | Comments: | ||||||||||||||||||||||
All other includes are actually needed. (System includes | Yes | Comments: | ||||||||||||||||||||||
only allowed in Nexteer library components) | Reviewed only for the changes | |||||||||||||||||||||||
Software Design and Coding Standards followed: | Version: 2.1 | |||||||||||||||||||||||
Code comments are clear, correct, and adequate | Yes | Comments: | ||||||||||||||||||||||
and have been updated for the change: [N40] and | Reviewed only for the changes | |||||||||||||||||||||||
all other rules in the same section as rule [N40], | ||||||||||||||||||||||||
plus [N75], [N12], [N23], [N33], [N37], [N38], | ||||||||||||||||||||||||
[N48], [N54], [N77], [N79], [N72] | ||||||||||||||||||||||||
Source file (.c and .h) comment blocks are per | Yes | Comments: | ||||||||||||||||||||||
standards and contain correct information: [N41], [N42] | Reviewed only for the changes | |||||||||||||||||||||||
Function comment blocks are per standards and | Yes | Comments: | ||||||||||||||||||||||
contain correct information: [N43] | Reviewed only for the changes | |||||||||||||||||||||||
Code formatting (indentation, placement of | Yes | Comments: | ||||||||||||||||||||||
braces, etc.) is per standards: [N5], [N55], [N56], | Reviewed only for the changes | |||||||||||||||||||||||
[N57], [N58], [N59] | ||||||||||||||||||||||||
Embedded constants used per standards; no | N/A | Comments: | ||||||||||||||||||||||
"magic numbers": [N12] | Reviewed only for the changes | |||||||||||||||||||||||
Memory mapping for non-RTE code | N/A | Comments: | ||||||||||||||||||||||
is per standard | Reviewed only for the changes | |||||||||||||||||||||||
All execution-order-dependent code can be | N/A | Comments: | ||||||||||||||||||||||
recognized by the compiler: [N80] | Reviewed only for the changes | |||||||||||||||||||||||
All loops have termination conditions that ensure | N/A | Comments: | ||||||||||||||||||||||
finite loop iterations: [N63] | Reviewed only for the changes | |||||||||||||||||||||||
All divides protect against divide by zero | N/A | Comments: | ||||||||||||||||||||||
if needed: [N65] | Reviewed only for the changes | |||||||||||||||||||||||
All integer division and modulus operations | N/A | Comments: | ||||||||||||||||||||||
handle negative numbers correctly: [N76] | Reviewed only for the changes | |||||||||||||||||||||||
All typecasting and fixed point arithmetic, | N/A | Comments: | ||||||||||||||||||||||
including all use of fixed point macros and | Reviewed only for the changes | |||||||||||||||||||||||
timer functions, is correct and has no possibility | ||||||||||||||||||||||||
of unintended overflow or underflow: [N66] | ||||||||||||||||||||||||
All float-to-unsiged conversions ensure the. | N/A | Comments: | ||||||||||||||||||||||
float value is non-negative: [N67] | Reviewed only for the changes | |||||||||||||||||||||||
All conversions between signed and unsigned | N/A | Comments: | ||||||||||||||||||||||
types handle msb==1 as intended: [N78] | Reviewed only for the changes | |||||||||||||||||||||||
All pointer dereferencing protects against | N/A | Comments: | ||||||||||||||||||||||
null pointer if needed: [N70] | Reviewed only for the changes | |||||||||||||||||||||||
Component outputs are limited to the legal range | N/A | Comments: | ||||||||||||||||||||||
defined in the FDD DataDict.m file : [N53] | Reviewed only for the changes | |||||||||||||||||||||||
All code is mapped with FDD (all FDD | Yes | Comments: | ||||||||||||||||||||||
subfunctions and/or model blocks identified | Reviewed only for the changes | |||||||||||||||||||||||
with code comments; all code corresponds to | ||||||||||||||||||||||||
some FDD subfunction and/or model block): [N40] | ||||||||||||||||||||||||
Review did not identify violations of other | Yes | Comments: | ||||||||||||||||||||||
coding standard rules | ||||||||||||||||||||||||
Anomaly or Design Work CR created | N/A | Comments: List Anomaly or CR numbers | ||||||||||||||||||||||
for any FDD corrections needed | ||||||||||||||||||||||||
General Notes / Comments: | ||||||||||||||||||||||||
Reviewed only for the changes | ||||||||||||||||||||||||
Change Owner: | Rijvi Ahmed | Review Date : | 10/05/16 | |||||||||||||||||||||
Lead Peer Reviewer: | Selva Sengottaiyan | Approved by Reviewer(s): | Yes | |||||||||||||||||||||
Other Reviewer(s): | ||||||||||||||||||||||||
Sheet 4: PolySpace
Sheet 5: MDD
4 - requirements
FDD | ID | Source | Function | Line(s) | Status | Comment |
---|---|---|---|---|---|---|
.SwFileName | .SwFuncName | .SwLines | .SwStatus | .SwComment | ||
ES200A | 215 | CDD_CurrMeas.c,CDD_CurrMeas_MotCtrl.c | CurrMeasPer3,CurrMeasPer2 | 1577,1581,1625,156,166 | I | |
ES200A | 213 | CDD_CurrMeas.c,CDD_CurrMeas_MotCtrl.c | CurrMeasPer3,CurrMeasPer2 | 1570,1577,1581,1619,1625,145 | I | |
ES200A | 132 | CDD_CurrMeas.c,CDD_CurrMeas_MotCtrl.c | CurrMeasPer3,CurrMeasPer2 | 1570,1577,1581,1619,1625,156,166,181,189 | I | |
ES200A | 135 | CDD_CurrMeas.c,CDD_CurrMeas_MotCtrl.c | CurrMeasPer1,CurrMeasPer2 | 1309-1462,121-210 | I | |
ES200A | 138 | CDD_CurrMeas.c | SigMaxMinOffs | 1789,1790,1791,1792,1793,1794,1795,1796,1797,1798,1799,1800,1801 | I | |
ES200A | 223 | CDD_CurrMeas.c | CurrMeasPer3 | 1588,1595,1599,1637,1643 | I | |
ES200A | 289 | CDD_CurrMeas.c | CurrMeasPer3 | 1555 | I | |
ES200A | 288 | CDD_CurrMeas.c | CurrMeasPer3 | 1554 | I | |
ES200A | 97 | CDD_CurrMeas.c | CurrMeasPer3 | 1678 | I | |
ES200A | 281 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2 | 133 | I | |
ES200A | 280 | CDD_CurrMeas.c | CurrMeasOffsReadReq_Oper,CurrMeasOffsWrReq_Oper | 1112-1126,1165-1214 | I | |
ES200A | 283 | CDD_CurrMeas.c | CurrMeasPer3 | 1556 | I | |
ES200A | 282 | CDD_CurrMeas.c | CurrMeasPer3 | 1557 | I | |
ES200A | 285 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2 | 202 | I | |
ES200A | 284 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2 | 201 | I | |
ES200A | 287 | CDD_CurrMeas.c | CurrMeasPer1 | 1296 | I | |
ES200A | 286 | CDD_CurrMeas.c | CurrMeasPer1 | 1303 | I | |
ES200A | 262 | CDD_CurrMeas.c | SigMaxMinGain | 1838-1930 | I | |
ES200A | 260 | CDD_CurrMeas.c | SigMaxMinGain,PerformGainCalibration | 1911,1916,1926,2132 | I | |
ES200A | 267 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2 | 171,195 | I | |
ES200A | 266 | CDD_CurrMeas.c | SigMaxMinGain,PerformGainCalibration | 1926,2132 | I | |
ES200A | 264 | CDD_CurrMeas.c | SigMaxMinOffs,SigMaxMinGain | 1811,1851-1865,1918,1924,1925 | I | |
ES200A | 269 | CDD_CurrMeas_MotCtrl.c | CalMotCurrCorrdABC | 321-377 | I | |
ES200A | 91 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2 | 128 | I | |
ES200A | 298 | CDD_CurrMeas.c | PerformGainCalibration | 1981-2135 | I | |
ES200A | 299 | CDD_CurrMeas.c | SigMaxMinGain | 1874-1888 | I | |
ES200A | 296 | CDD_CurrMeas.c | SigMaxMinOffs | 1752-1773 | I | |
ES200A | 297 | CDD_CurrMeas.c | CurrMeasPer1 | 1311-1460 | I | |
ES200A | 290 | CDD_CurrMeas.c | CurrMeasPer3 | 1564 | I | |
ES200A | 291 | CDD_CurrMeas.c | CurrMeasGainReadReq_Oper,CurrMeasGainWrReq_Oper | 967,974,1013-1042 | I | |
ES200A | 146 | CDD_CurrMeas_MotCtrl.c | CalMotCurrCorrdDEF | 424-482 | I | |
ES200A | 147 | CDD_CurrMeas_MotCtrl.c | CalMotCurrCorrdDEF | 423-481 | I | |
ES200A | 312 | CDD_CurrMeas_MotCtrl.c | CalMotCurrCorrdABC | 320-376 | I | |
ES200A | 311 | CDD_CurrMeas_MotCtrl.c | CalMotCurrCorrdABC | 319-375 | I | |
ES200A | 310 | CDD_CurrMeas_MotCtrl.c | CalMotCurrCorrdDEF | 427-485 | I | |
ES200A | 270 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2 | 150 | I | |
ES200A | 88 | CDD_CurrMeas.c | CurrMeasPer1 | 1305 | I | |
ES200A | 89 | CDD_CurrMeas.c | CurrMeasPer1 | 1304 | I | |
ES200A | 274 | CDD_CurrMeas.c | CurrMeasPer1,CurrMeasPer3 | 1298,1559 | I | |
ES200A | 275 | CDD_CurrMeas.c | CurrMeasPer1,CurrMeasPer3 | 1299,1560 | I | |
ES200A | 276 | CDD_CurrMeas.c | CurrMeasPer1,CurrMeasPer3 | 1300,1561 | I | |
ES200A | 277 | CDD_CurrMeas.c | CurrMeasPer1,CurrMeasPer3 | 1301,1562 | I | |
ES200A | 278 | CDD_CurrMeas.c | CurrMeasPer1,CurrMeasPer3 | 1302,1563 | I | |
ES200A | 83 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2 | 130 | I | |
ES200A | 86 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2 | 132 | I | |
ES200A | 84 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2 | 131 | I | |
ES200A | 251 | CDD_CurrMeas.c | CurrMeasPer1,SigMaxMinOffs | 1449,1457,1804,1809,1816 | I | |
ES200A | 308 | CDD_CurrMeas_MotCtrl.c | CalMotCurrCorrdDEF | 425-483 | I | |
ES200A | 309 | CDD_CurrMeas_MotCtrl.c | CalMotCurrCorrdDEF | 426-484 | I | |
ES200A | 300 | CDD_CurrMeas.c | SigMaxMinGain,PerformGainCalibration | 1916,1926,2132 | I | |
ES200A | 301 | CDD_CurrMeas.c | CurrMeasPer1,SigMaxMinOffs | 1449,1457,1809,1816 | I | |
ES200A | 302 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2 | 137 | I | |
ES200A | 303 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2 | 136 | I | |
ES200A | 304 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2 | 135 | I | |
ES200A | 305 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2 | 140 | I | |
ES200A | 306 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2 | 139 | I | |
ES200A | 307 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2 | 138 | I | |
ES200A | 245 | CDD_CurrMeas.c,CDD_CurrMeas_MotCtrl.c | CurrMeasPer3,CurrMeasPer2 | 1588,1637,187-192 | I | |
ES200A | 109 | CDD_CurrMeas.c | CurrMeasPer3 | 1679 | I | |
ES200A | 102 | CDD_CurrMeas_MotCtrl.c | CalMotCurrCorrdABC | 329,332,343,355,366 | I | |
ES200A | 103 | CDD_CurrMeas_MotCtrl.c | CalMotCurrCorrdABC | 328,331,342,354,365 | I | |
ES200A | 100 | CDD_CurrMeas_MotCtrl.c | CalMotCurrCorrdDEF | 435,438,450,462,473 | I | |
ES200A | 101 | CDD_CurrMeas_MotCtrl.c | CalMotCurrCorrdDEF | 434,437,449,461,472 | I | |
ES200A | 104 | CDD_CurrMeas_MotCtrl.c | CalMotCurrCorrdABC | 327,330,341,353,364 | I | |
ES200A | 246 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2 | 122-209 | I | |
ES200A | 176 | CDD_CurrMeas.c | SigMaxMinGain | 1903,1904,1905,1906,1907,1908,1909 | I | |
ES200A | 61 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2 | 123 | I | |
ES200A | 65 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2 | 129 | I | |
ES200A | 179 | CDD_CurrMeas.c,CDD_CurrMeas_MotCtrl.c | CurrMeasPer3,CurrMeasPer2 | 1631-1649,179-185 | I | |
ES200A | 177 | CDD_CurrMeas.c,CDD_CurrMeas_MotCtrl.c | CurrMeasPer3,CurrMeasPer2 | 1570,1619,164-168 | I | |
ES200A | 253 | CDD_CurrMeas.c | CurrMeasPer1 | 1310 | I | |
ES200A | 174 | CDD_CurrMeas.c | PerformGainCalibration | 1969-2134 | I | |
ES200A | 257 | CDD_CurrMeas.c | SigMaxMinOffs | 1721-1813 | I | |
ES200A | 255 | CDD_CurrMeas.c | CurrMeasPer1,SigMaxMinOffs | 1448,1456,1723-1744,1814-1821 | I | |
ES200A | 99 | CDD_CurrMeas_MotCtrl.c | CalMotCurrCorrdDEF | 436,439,451,463,474 | I | |
ES200A | 227 | CDD_CurrMeas.c,CDD_CurrMeas_MotCtrl.c | CurrMeasPer3,CurrMeasPer2 | 1595,1599,1643,181,189 | I | |
ES200A | 225 | CDD_CurrMeas.c,CDD_CurrMeas_MotCtrl.c | CurrMeasPer3,CurrMeasPer2 | 1588,1595,1599,1632,1637,1643,175 | I | |
ES200A | 92 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2 | 126 | I | |
ES200A | 95 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2 | 205 | I | |
ES200A | 162 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2,CalMotCurrCorrdDEF | 175,428-486 | I | |
ES200A | 15 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2 | 120 | I | |
ES200A | 273 | CDD_CurrMeas.c | CurrMeasPer1,CurrMeasPer3 | 1297,1558 | I | |
ES200A | 110 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2 | 206 | I | |
ES200A | 151 | CDD_CurrMeas_MotCtrl.c | CalMotCurrCorrdABC | 316-372 | I | |
ES200A | 150 | CDD_CurrMeas_MotCtrl.c | CalMotCurrCorrdABC | 317-373 | I | |
ES200A | 157 | CDD_CurrMeas.c,CDD_CurrMeas_MotCtrl.c | CurrMeasPer3,CurrMeasPer2 | 1612-1629,154-162 | I | |
ES200A | 158 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2 | 175 | I | |
ES200A | 201 | CDD_CurrMeas_MotCtrl.c | CalMotCurrCorrdABC | 314 | I | |
ES200A | 200 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2 | 127 | I | |
ES200A | 203 | CDD_CurrMeas.c | CurrMeasPer1 | 1475 | I | |
ES200A | 202 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2 | 200 | I | |
ES200A | 204 | CDD_CurrMeas.c | CurrMeasPer3 | 1677 | I | |
ES200A | 207 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2 | 125 | I | |
ES200A | 208 | CDD_CurrMeas_MotCtrl.c | CurrMeasPer2 | 124 | I | |
ES200A | 148 | CDD_CurrMeas_MotCtrl.c | CalMotCurrCorrdDEF | 422-480 | I | |
ES200A | 149 | CDD_CurrMeas_MotCtrl.c | CalMotCurrCorrdABC | 318-374 | I |