HwTq10Meas_MDD
Module Design Document
For
HwTq10Meas
12-Jan-2018
Prepared By:
Software Engineering,
Nexteer Automotive,
Saginaw, MI, USA
Change History
| Description | Author | Version | Date |
| Initial Version | Pratik Jadhav | 1.0 | 12-Jan-2018 |
Table of Contents
2 HwTq10Meas High-Level Description 6
3 Design details of software module 7
3.1 Graphical representation of HwTq10Meas 7
4.1 Program (fixed) Constants 8
5 Software Component Implementation 9
5.2.1 HwTq10MeasHwTq10AutTrim 10
5.2.2 HwTq10MeasHwTq10ClrTrim 10
5.2.3 HwTq10MeasHwTq10ReadTrim 10
5.2.4 HwTq10MeasHwTq10TrimPrfmdSts 10
5.2.5 HwTq10MeasHwTq10WrTrim 10
5.4 Module Internal (Local) Functions 11
6 Known Limitations with Design 12
Appendix A Abbreviations and Acronyms 14
Introduction
Purpose
Refer to FDD.
Scope
HwTq10Meas High-Level Description
Refer to FDD
Design details of software module
Graphical representation of HwTq10Meas

Data Flow Diagram
Component level DFD
Refer to FDD
Function level DFD
Refer to FDD
Constant Data Dictionary
Program (fixed) Constants
Embedded Constants
Local Constants
| Constant Name | Resolution | Units | Value |
|---|---|---|---|
| CRCTBLSIZE_CNT_U08 | 1 | Cnt | 16U |
* Refer to FDD for other constant definitions
Software Component Implementation
Sub-Module Functions
Init: HwTq10MeasInit1
Design Rationale
None
Per: HwTq10MeasPer1
Design Rationale
Clear local buffer in the below path of the model has not been implemented, because it’s not required.
Path : ES225A_HwTq10Meas/HwTq10Meas/HwTq10MeasPer1/Raw Data Processing/Clear Local Buffer
Per: HwTq10MeasPer2
Design Rationale
None
Server Runnables
HwTq10MeasHwTq10AutTrim
Design Rationale
None
HwTq10MeasHwTq10ClrTrim
Design Rationale
None
HwTq10MeasHwTq10ReadTrim
Design Rationale
None
HwTq10MeasHwTq10TrimPrfmdSts
Design Rationale
None
HwTq10MeasHwTq10WrTrim
Design Rationale
None
Interrupt Functions
None
Module Internal (Local) Functions
Local Function #1
| Function Name | StuckNoDataSeln | Type | Min | Max |
| Arguments Passed | NA | N/A | N/A | N/A |
| Return Value | MissMsgEna_Uls_T_u08 | uint8 | 0 | 1 |
Design Rationale
This function is split from Per1 to reduce path count and cyclomatic complexity.
Local Function #2
| Function Name | RngChk | Type | Min | Max |
| Arguments Passed | Temp_Cnt_T_u32 | uint32 | 0 | 4294967295 |
| Return Value | RngChk_Cnt_T_logl | boolean | TRUE | FALSE |
Design Rationale
This function is split from Per1 to reduce path count and cyclomatic complexity.
Local Function #3
| Function Name | CrcChk | Type | Min | Max |
| Arguments Passed | CalcdCrc_Cnt_T_u16 | uint16 | 0 | 15 |
| Arguments Passed | AntcptdCrc_Cnt_T_u16 | uint16 | 0 | 15 |
| Return Value | CRCFaildPrmByte_Cnt_T_u08 | uint8 | 0 | 1 |
Design Rationale
This function is split from Per1 to reduce path count and cyclomatic complexity.
Known Limitations with Design
None.
UNIT TEST CONSIDERATION
Clear local buffer in the below path of the model has not been implemented, because it’s not required. Path : ES225A_HwTq10Meas/HwTq10Meas/HwTq10MeasPer1/Raw Data Processing/Clear Local Buffer
Abbreviations and Acronyms
| Abbreviation or Acronym | Description |
|---|---|
| MDD | Module Design Document |
| DFD | Data Flow Diagram |
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
References
| Ref. # | Title | Version |
|---|---|---|
| 1 | AUTOSAR Specification of Memory Mapping | v1.3.0 R4.0 Rev 2 |
| 2 | MDD Guideline | EA4 01.00.01 |
| 3 | EA4 Software Naming Conventions | 01.01.00 |
| 4 | Software Design and Coding Standards | 2.1 |
| 5 | FDD – ES225A_HwTq10Meas_Design | See Synergy sub project version |