HwTq9Meas_MDD

Module Design Document

For

HwTq9Meas

12-Jan-2018

Prepared By:

Software Engineering,

Nexteer Automotive,

Saginaw, MI, USA

Change History

DescriptionAuthorVersionDate
Initial VersionKrishna Anne1.012-Jan-2018


Table of Contents

1 Introduction 6

1.1 Purpose 6

1.2 Scope 6

2 HwTq9Meas High-Level Description 7

3 Design details of software module 8

3.1 Graphical representation of HwTq9Meas 8

3.2 Data Flow Diagram 8

3.2.1 Component level DFD 8

3.2.2 Function level DFD 8

4 Constant Data Dictionary 9

4.1 Program (fixed) Constants 9

4.1.1 Embedded Constants 9

5 Software Component Implementation 10

5.1 Sub-Module Functions 10

5.1.1 Init: HwTq9MeasInit1 10

5.1.1.1 Design Rationale 10

5.1.2 Per: HwTq9MeasPer1 10

5.1.2.1 Design Rationale 10

5.1.3 Per: HwTq9MeasPer2 10

5.1.3.1 Design Rationale 10

5.2 Server Runnables 11

5.2.1 HwTq9MeasHwTq9AutTrim 11

5.2.1.1 Design Rationale 11

5.2.2 HwTq9MeasHwTq9ClrTrim 11

5.2.2.1 Design Rationale 11

5.2.3 HwTq9MeasHwTq9ReadTrim 11

5.2.3.1 Design Rationale 11

5.2.4 HwTq9MeasHwTq9TrimPrfmdSts 11

5.2.4.1 Design Rationale 11

5.2.5 HwTq9MeasHwTq9WrTrim 11

5.2.5.1 Design Rationale 11

5.3 Interrupt Functions 11

5.4 Module Internal (Local) Functions 12

5.4.1 Local Function #1 12

5.4.1.1 Design Rationale 12

5.4.2 Local Function #2 12

5.4.2.1 Design Rationale 12

5.4.3 Local Function #3 12

5.4.3.1 Design Rationale 12

6 Known Limitations with Design 13

7 UNIT TEST CONSIDERATION 14

Appendix A Abbreviations and Acronyms 15

Appendix B Glossary 16

Appendix C References 17

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 NameResolutionUnitsValue
CRCTBLSIZE_CNT_U081Cnt16U

* 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 NameStuckNoDataSelnTypeMinMax
Arguments PassedNAN/AN/AN/A
Return ValueMissMsgEna_Uls_T_u08uint801

Design Rationale

This function is split from Per1 to reduce path count and cyclomatic complexity.

Local Function #2

Function NameRngChkTypeMinMax
Arguments PassedTemp_Cnt_T_u32uint3204294967295
Return ValueRngChk_Cnt_T_loglbooleanTRUEFALSE

Design Rationale

This function is split from Per1 to reduce path count and cyclomatic complexity.

Local Function #3

Function NameCrcChkTypeMinMax
Arguments PassedCalcdCrc_Cnt_T_u16uint16015
Arguments PassedAntcptdCrc_Cnt_T_u16uint16015
Return ValueCRCFaildPrmByte_Cnt_T_u08uint801

Design Rationale

This function is split from Per1 to reduce path count and cyclomatic complexity.

Known Limitations with Design

None.

UNIT TEST CONSIDERATION

  1. 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 AcronymDescription
MDDModule Design Document
DFDData 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. #TitleVersion
1AUTOSAR Specification of Memory Mappingv1.3.0 R4.0 Rev 2
2MDD GuidelineEA4 01.00.01
3EA4 Software Naming Conventions01.01.00
4Software Design and Coding Standards2.1
5FDD – ES224A_HwTq9Meas_DesignSee Synergy sub project version
Last modified October 12, 2025: Initial commit (ddf2e20)