HwTq5Meas_MDD
Module Design Document
For
HwTq5Meas
Oct 30, 2017
Prepared For:
Software Engineering
Nexteer Automotive,
Saginaw, MI, USA
Prepared By:
TATA ELXSI,
TRIVANDRUM, INDIA
Change History
| Description | Author | Version | Date |
| Initial Version | Krishna Anne | 1.0 | 10-Jun-2016 |
| Added a new server runnable | Avinash James | 2.0 | 01-Dec-2016 |
| Updated as per FDD revision 1.10.0 | TATA | 3.0 | 30-10-2017 |
Table of Contents
2 HwTq5Meas & High-Level Description 6
3 Design details of software module 7
3.1 Graphical representation of HwTq5Meas 7
4.1 Program (fixed) Constants 8
5 Software Component Implementation 9
5.2.4 HwTq5ReadSnsrSca_Oper 10
5.2.6 HwTq5TrimPrfmdSts_Oper 10
5.2.9 HwTq5SnsrScaPrfmdSts_Oper 10
5.3 Module Internal (Local) Functions 10
6 Known Limitations with Design 12
Appendix A Abbreviations and Acronyms 14
Introduction
Purpose
MDD for HwTq5Meas.
HwTq5Meas & High-Level Description
Design details of software module
Please refer to the FDD.
Graphical representation of HwTq5Meas

Data Flow Diagram
Component level DFD
Function level DFD
Constant Data Dictionary
Program (fixed) Constants
Embedded Constants
Local Constants
| Constant Name | Resolution | Units | Value |
|---|---|---|---|
| Please refer to the FDD |
Software Component Implementation
Init: HwTq5Meas_Init1
Design Rationale
None
Module Outputs
None
Per: HwTq5Meas_Per1
Design Rationale
Rte_Pim_HwTq5RawFastAdcIdxCntr is used in this periodic as a counter that increments from 0 to 7 and is used to write to an output buffer MotCtrlHwTq5RawFastAdcBuf accessed by Motor Control Manager. Whereas the FDD describes this counter as 1 based indexing that increments from 1 till 8. Effective they are same in terms of functionality.
Per: HwTq5Meas_Per2
Design Rationale
None
Per: HwTq5Meas_Per3
Design Rationale
None
Per: HwTq5Meas_Per4
Design Rationale
None
Server Runables
HwTq5AutTrim_Oper
Design Rationale
None
HwTq5ClrSnsrSca_Oper
Design Rationale
None
HwTq5ClrTrim_Oper
Design Rationale
None
HwTq5ReadSnsrSca_Oper
Design Rationale
None
HwTq5ReadTrim_Oper
Design Rationale
None
HwTq5TrimPrfmdSts_Oper
Design Rationale
None
HwTq5WrSnsrSca_Oper
Design Rationale
None
HwTq5WrTrim_Oper
Design Rationale
None
HwTq5SnsrScaPrfmdSts_Oper
Design Rationale
None
Module Internal (Local) Functions
Local Function #1
| Function Name | HwTqQlfr | Type | Min | Max |
| Arguments Passed | NtcSts_Cnt_T_enum | SigQlfr1 | SIGQLFR_NORES (0U) | SIGQLFR_FAILD (2U) |
| ParamByte_Cnt_T_u08 | uint8 | 0 | 4 | |
| * HwTq5Qlfr_Cnt_T_enum | SigQlfr1 | SIGQLFR_NORES (0U) | SIGQLFR_FAILD (2U) | |
| Return Value | NA | NA | NA | NA |
Design Rationale
Processing
Please refer to the below path in the FDD model.
ES220A_HwTq5Meas/HwTq5Meas/HwTq5MeasPer2/HwTqQlfr
Known Limitations with Design
None.
UNIT TEST CONSIDERATION
Rte_Pim_HwTq5PrevRollgCntr is used as a rolling counter. Hence roll over is intentional..
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.1 |
| 5 | ES221A_HwTq5Meas_Design | See Synergy subproject version |