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

DescriptionAuthorVersionDate
Initial VersionKrishna Anne1.010-Jun-2016
Added a new server runnableAvinash James2.001-Dec-2016
Updated as per FDD revision 1.10.0TATA3.030-10-2017


Table of Contents

1 Introduction 5

1.1 Purpose 5

2 HwTq5Meas & High-Level Description 6

3 Design details of software module 7

3.1 Graphical representation of HwTq5Meas 7

3.2 Data Flow Diagram 7

3.2.1 Component level DFD 7

3.2.2 Function level DFD 7

4 Constant Data Dictionary 8

4.1 Program (fixed) Constants 8

4.1.1 Embedded Constants 8

5 Software Component Implementation 9

5.1.1 Init: HwTq5Meas_Init1 9

5.1.1.1 Design Rationale 9

5.1.1.2 Module Outputs 9

5.1.2 Per: HwTq5Meas_Per1 9

5.1.2.1 Design Rationale 9

5.1.3 Per: HwTq5Meas_Per2 9

5.1.3.1 Design Rationale 9

5.1.4 Per: HwTq5Meas_Per3 9

5.1.4.1 Design Rationale 9

5.1.5 Per: HwTq5Meas_Per4 9

5.1.5.1 Design Rationale 9

5.2 Server Runables 9

5.2.1 HwTq5AutTrim_Oper 9

5.2.1.1 Design Rationale 9

5.2.2 HwTq5ClrSnsrSca_Oper 9

5.2.2.1 Design Rationale 9

5.2.3 HwTq5ClrTrim_Oper 10

5.2.3.1 Design Rationale 10

5.2.4 HwTq5ReadSnsrSca_Oper 10

5.2.4.1 Design Rationale 10

5.2.5 HwTq5ReadTrim_Oper 10

5.2.5.1 Design Rationale 10

5.2.6 HwTq5TrimPrfmdSts_Oper 10

5.2.6.1 Design Rationale 10

5.2.7 HwTq5WrSnsrSca_Oper 10

5.2.7.1 Design Rationale 10

5.2.8 HwTq5WrTrim_Oper 10

5.2.8.1 Design Rationale 10

5.2.9 HwTq5SnsrScaPrfmdSts_Oper 10

5.2.9.1 Design Rationale 10

5.3 Module Internal (Local) Functions 10

5.3.1 Local Function #1 10

5.3.1.1 Design Rationale 11

5.3.1.2 Processing 11

6 Known Limitations with Design 12

7 UNIT TEST CONSIDERATION 13

Appendix A Abbreviations and Acronyms 14

Appendix B Glossary 15

Appendix C References 16

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 NameResolutionUnitsValue
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 NameHwTqQlfrTypeMinMax
Arguments PassedNtcSts_Cnt_T_enumSigQlfr1SIGQLFR_NORES (0U)SIGQLFR_FAILD (2U)
ParamByte_Cnt_T_u08uint804
* HwTq5Qlfr_Cnt_T_enumSigQlfr1SIGQLFR_NORES (0U)SIGQLFR_FAILD (2U)
Return ValueNANANANA

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 AcronymDescription

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

TermDefinitionSource
MDDModule Design Document
DFDData Flow Diagram

References

Ref. #TitleVersion
1AUTOSAR Specification of Memory Mapping (Link:AUTOSAR_SWS_MemoryMapping.pdf)v1.3.0 R4.0 Rev 2
2MDD GuidelineEA4 01.00.00
3Software Naming Conventions.doc1.0
4Software Design and Coding Standards.doc2.1
5ES221A_HwTq5Meas_DesignSee Synergy subproject version
Last modified October 12, 2025: Initial commit (af72ad2)