FordMsg202BusHiSpd_MDD

Module Design Document

For

FordMsg202BusHiSpd

June 19, 20157

Prepared For:

Software Engineering

Nexteer Automotive,

Saginaw, MI, USA

Prepared By:

Tata Elxsi,

Trivandrum, INDIA

Change History

Sl. No.DescriptionAuthorVersionDate
1Initial VersionTATA1.020-Dec-2017

Table of Contents

1 Introduction 5

1.1 Purpose 5

2 FordMsg202BusHiSpd & High-Level Description 6

3 Design details of software module 7

3.1 Graphical representation of FordMsg202BusHiSpd 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 Sub-Module Functions 9

5.1.1 Init: FordMsg202BusHiSpdInit1 9

5.1.1.1 Design Rationale 9

5.1.1.2 Module Outputs 9

5.1.2 Per: FordMsg202BusHiSpdPer 9

5.1.2.4 Store Local copy of outputs into Module Outputs 9

5.2 Server Runnables 9

5.2.1 ComIPduCallout_EngVehicleSpThrottle2_HS2 9

5.2.2 ComTimeoutNotification_Ford_VehVActlEng_D_Qf 9

5.3 Interrupt Functions 10

5.4 Module Internal (Local) Functions 10

5.4.1 Local Function #1 10

5.4.2 Local Function #2 10

5.4.3 Local Function #3 11

5.4.4 Local Function #4 11

5.4.5 Local Function #5 13

5.4.6 Local Function #6 13

5.5 GLOBAL Function/Macro Definitions 14

6 Known Limitations with Design 15

7 UNIT TEST CONSIDERATION 16

Appendix A Abbreviations and Acronyms 17

Appendix B Glossary 18

Appendix C References 19

Introduction

Purpose

MDD for FordMsg202BusHiSpd

FordMsg202BusHiSpd & High-Level Description

Please refer FDD.

Design details of software module

Graphical representation of FordMsg202BusHiSpd

Data Flow Diagram

Component level DFD

Please refer FDD.

Function level DFD

Please refer FDD.

Constant Data Dictionary

Program (fixed) Constants

Embedded Constants

Local Constants

Constant NameResolutionUnitsValue
Please refer Data Dictionary .m fileNANANA

Software Component Implementation

Sub-Module Functions

Init: FordMsg202BusHiSpdInit1

5.1.1.1 Design Rationale

None

5.1.1.2 Module Outputs

None

5.1.2 Per: FordMsg202BusHiSpdPer

5.1.2.1 Design Rationale

None

5.1.2.2 Store Module Inputs to Local copies

None

5.1.2.3 Processing of function

None

5.1.2.4 Store Local copy of outputs into Module Outputs

None

Server Runnables

5.2.1 ComIPduCallout_EngVehicleSpThrottle2_HS2

5.2.1.1 Design Rationale

None

5.2.1.2 Processing of function

None

5.2.2 ComTimeoutNotification_Ford_VehVActlEng_D_Qf

5.2.2.1 Design Rationale

None

5.2.2.2 Processing of function

None

Interrupt Functions

None

Module Internal (Local) Functions

Local Function #1

Function NameDiagEnaTypeMinMax
Arguments PassedClrDiagcFlgProxy_Cnt_T_u08uint80U1U
FordAbsPrsnt_Cnt_T_u08uint80U1U
FordTqSteerCmpEnad_Cnt_T_u08uint80U1U
FordMissMsgDiagcInhb_Cnt_T_u08uint80U1U
FordMfgDiagcInhb_Cnt_T_u08uint80U1U
FordCanDtcInhb_Cnt_T_u08uint80U1U
FordBrkOscnRednEnad_Cnt_T_u08uint80U1U
FordTrlrBackupAssiEnad_Cnt_T_u08uint80U1U
FordInvldMsgDiagcInhb_Cnt_T_u08uint80U1U
* MissMsgNtcFail_Cnt_T_loglbooleanFalseTrue
* MissMsgNtcPass_Cnt_T_loglbooleanFalseTrue
* InvldMsgQlyFacDiagEna_Cnt_T_loglbooleanFalseTrue
* InvldMsgGearRevDiagEna_Cnt_T_loglbooleanFalseTrue
Return ValueNANANANA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM061A_FordMsg202BusHiSpd/FordMsg202BusHiSpd/FordMsg202BusHiSpdPer1/DiagEna

Local Function #2

Function NameCalSelnTypeMinMax
Arguments PassedFordEpsLifeCycMod_Cnt_T_u08uint80U1U
FordAbsPrsnt_Cnt_T_u08uint80U1U
* BusHiSpdMissMsgFaildThd_Cnt_T_u16uint160U6000U
* BusHiSpdGearRvStsInvldFaildThd_Cnt_T_u16uint160U6000U
*BusHiSpdQlyFacEngModInvldFaildThd_Cnt_T_u16uint160U6000U
Return ValueNANANANA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM061A_FordMsg202BusHiSpd/FordMsg202BusHiSpd/FordMsg202BusHiSpdPer1/CalSeln

Local Function #3

Function NameVldFalseTypeMinMax
Arguments Passed*FordVehGearRvsStsVld_Cnt_T_loglbooleanFalseTrue
* FordVehSpdEngModlVld_Cnt_T_loglbooleanFalseTrue
* FordVehSpdEngModLoQlyVld_Cnt_T_loglbooleanFalseTrue
* FordVehTrlrBackupAssiAvlVld_Cnt_T_loglbooleanFalseTrue
Return ValueNANANANA

Design Rationale

None

Processing

Please refer to the below path in the FDD model.

MM061A_FordMsg202BusHiSpd/FordMsg202BusHiSpd/FordMsg202BusHiSpdPer1/FordMsg202MsgMiss/VldFalse

5.4.4 Local Function #4

Function NameSigProcgTypeMinMax
Arguments PassedFord_GearRvrse_D_Actl1_Cnt_T_enumenum.Ford_GearRvrse_D_Actl0U7U
Ford_Veh_V_ActlEng_Cnt_T_u16uint160U65535U
Ford_VehVActlEng_D_Qf1_Cnt_T_enumenum.Ford_VehVActlEng_D_Qf0U3U
Ford_VehVActlEng_No_Cnt_Cnt_T_u08uint80U15U
Ford_VehVActlEng_No_Cs_Cnt_T_u08uint80U255U
Ford_VehVTrlrAid_B_Avail1_Cnt_T_enumenum.Ford_VehVTrlrAid_B_AvailFalseTrue
* FordVehGearRvsStsRaw_Cnt_T_u08uint80U7U
* FordVehGearRvsSts_Cnt_T_enumenum.Ford_GearRvrse_D_Actl0U7U
* FordVehGearRvsStsVld_Cnt_T_loglbooleanFalseTrue
* FordVehSpdEngModlRaw_Cnt_T_u16uint160U65535U
* FordVehSpdEngModl_Kph_T_f32Float320F655.35F
* FordVehSpdQlyFacEngModl_Cnt_T_enumenum.Ford_VehVActlEng_D_Qf0U3U
* FordVehSpdCntrEngModl_Cnt_T_u08uint80U15U
* FordVehSpdChksEngModl_Cnt_T_u08uint80U255U
* FordVehSpdEngModlVld_Cnt_T_loglbooleanFalseTrue
* FordVehSpdEngModLoQlyVld_Cnt_T_loglbooleanFalseTrue
* FordVehTrlrAidAvlRaw_Cnt_T_u08uint80U1U
* FordVehTrlrAidAvl_Cnt_T_enumenum.Ford_VehVTrlrAid_B_AvailFalseTrue
* FordVehTrlrBackupAssiAvlVld_Cnt_T_loglbooleanFalseTrue
*FordVehGearRvsStsVldFlg_Cnt_T_loglbooleanFalseTrue
* FordVehSpdEngModlVldFlg_Cnt_T_loglbooleanFalseTrue
Return ValueNANANANA

5.4.4.1 Design Rationale

None

5.4.4.1 Processing

Please refer to the below path in the FDD model.

MM061A_FordMsg202BusHiSpd/FordMsg202BusHiSpd/FordMsg202BusHiSpdPer1/FordMsg202MsgPrsnt/SignalProcessing

5.4.5 Local Function #5

Function NameVldElpdTiTypeMinMax
Arguments Passed*GearRvsStsVldElpdTi_Cnt_T_loglbooleanFalseTrue
*GearRvsStsInvldElpdTi_Cnt_T_loglbooleanFalseTrue
*SpdEngModLoQlyVldElpdTi_Cnt_T_loglbooleanFalseTrue
*SpdEngModLoQlyInvldElpdTi_Cnt_T_loglbooleanFalseTrue
*FordVehTrlrBackupAssiAvlVldElpdTi_Cnt_T_loglbooleanFalseTrue
*EngModlInvldElpdTi_Cnt_T_loglbooleanFalseTrue
Return ValueNANANANA

5.4.5.1 Design Rationale

None

5.4.5.2 Processing

Please refer to the below path in the FDD model.

MM061A_FordMsg202BusHiSpd/FordMsg202BusHiSpd/FordMsg202BusHiSpdPer1/FordMsg202MsgPrsnt/SignalProcessing/VldElpdTi

5.4.6 Local Function #6

Function NameVldChkTypeMinMax
Arguments PassedFordVehGearRvsStsVldFlg_Cnt_T_loglbooleanFalseTrue
FordVehSpdEngModLoQlyVldFlg_Cnt_T_loglbooleanFalseTrue
FordVehSpdEngModlVldFlg_Cnt_T_loglbooleanFalseTrue
FordVehTrlrBackupAssiAvlVldElpdTi_Cnt_T_loglbooleanFalseTrue
GearRvsStsVldElpdTi_Cnt_T_loglbooleanFalseTrue
GearRvsStsInvldElpdTi_Cnt_T_loglbooleanFalseTrue
SpdEngModLoQlyVldElpdTi_Cnt_T_loglbooleanFalseTrue
SpdEngModLoQlyInvldElpdTi_Cnt_T_loglbooleanFalseTrue
EngModlInvldElpdTi_Cnt_T_loglbooleanFalseTrue
* FordVehGearRvsStsVld_Cnt_T_loglbooleanFalseTrue
* FordVehSpdEngModLoQlyVld_Cnt_T_loglbooleanFalseTrue
* FordVehTrlrBackupAssiAvlVld_Cnt_T_loglbooleanFalseTrue
* FordVehSpdEngModlVld_Cnt_T_loglbooleanFalseTrue
Return ValueNANANANA

5.4.6.1 Design Rationale

None

5.4.6.2 Processing

Please refer to the below path in the FDD model.

MM061A_FordMsg202BusHiSpd/FordMsg202BusHiSpd/FordMsg202BusHiSpdPer1/FordMsg202MsgPrsnt/SignalProcessing/VldChk

GLOBAL Function/Macro Definitions

None

Known Limitations with Design

  1. In the following path,

MM061A_FordMsg202BusHiSpd/FordMsg202BusHiSpd/FordMsg202BusHiSpdPer1/FordMsg202MsgPrsnt/SignalProcessing/VldChk/SpdEngModlInvld/FordVehSpdEngModlVldFalse

MM061A_FordMsg202BusHiSpd/FordMsg202BusHiSpd/FordMsg202BusHiSpdPer1/FordMsg202MsgPrsnt/SignalProcessing/VldChk/SpdEngModlInvld/SpdEngModlVldPrevious

The port name used within the FordVehSpdEngModlVldFalse and SpdEngModlVldPrevious subsystems do not match with the merge block output names.

  1. In below path

MM061A_FordMsg202BusHiSpd/FordMsg202BusHiSpd/FordMsg202BusHiSpdPer1/FordMsg202MsgPrsnt/FordVehGearRvsStsinvld/FordVehGearRvsStsinvldFaild

Type casting required for CNVMILLISECTOCNT_CNTPERMILLISEC_U16 and BusHiSpdGearRvStsInvldFaildThd as per logic.

UNIT TEST CONSIDERATION

None.

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
5FDD: MM061A_FordMsg202BusHiSpd_Design_2.1.0See Synergy sub project version
Last modified October 12, 2025: Initial commit (ddf2e20)