HwTq9Meas_MDD
Module Design Document
For
HwTq9Meas
12-Jan-2018
Prepared By:
Software Engineering,
Nexteer Automotive,
Saginaw, MI, USA
Change History
| Description | Author | Version | Date |
| Initial Version | Krishna Anne | 1.0 | 12-Jan-2018 |
Table of Contents
2 HwTq9Meas High-Level Description 7
3 Design details of software module 8
3.1 Graphical representation of HwTq9Meas 8
4.1 Program (fixed) Constants 9
5 Software Component Implementation 10
5.2.1 HwTq9MeasHwTq9AutTrim 11
5.2.2 HwTq9MeasHwTq9ClrTrim 11
5.2.3 HwTq9MeasHwTq9ReadTrim 11
5.2.4 HwTq9MeasHwTq9TrimPrfmdSts 11
5.4 Module Internal (Local) Functions 12
6 Known Limitations with Design 13
Appendix A Abbreviations and Acronyms 15
Introduction
Purpose
Refer to FDD.
Scope
HwTq9Meas High-Level Description
Refer to FDD
Design details of software module
Graphical representation of HwTq9Meas

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: HwTq9MeasInit1
Design Rationale
None
Per: HwTq9MeasPer1
Design Rationale
Clear local buffer in the below path of the model has not been implemented, because it’s not required.
Path : ES224A_HwTq9Meas/HwTq9Meas/HwTq9MeasPer1/Raw Data Processing/Clear Local Buffer
Per: HwTq9MeasPer2
Design Rationale
None
Server Runnables
HwTq9MeasHwTq9AutTrim
Design Rationale
None
HwTq9MeasHwTq9ClrTrim
Design Rationale
None
HwTq9MeasHwTq9ReadTrim
Design Rationale
None
HwTq9MeasHwTq9TrimPrfmdSts
Design Rationale
None
HwTq9MeasHwTq9WrTrim
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 : ES224A_HwTq9Meas/HwTq9Meas/HwTq9MeasPer1/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 – ES224A_HwTq9Meas_Design | See Synergy sub project version |