FordMsg3D7BusHiSpd_MDD

Module Design Document

For

FordMsg3D7BusHiSpd

19-Apr-2018

Prepared For:

Software Engineering

Nexteer Automotive,

Saginaw, MI, USA

Prepared By:

Software Group,

Nexteer Automotive,

Saginaw, MI, USA
Change History

DescriptionAuthorVersionDate
Initial VersionMrudula Paturi119-Apr-2018


Table of Contents

1 Introduction 5

MDD for FordMsg3D7BusHiSpd 5

2 FordMsg3D7BusHiSpd & High-Level Description 6

3 Design details of software module 7

3.1 Graphical representation of FordMsg3D7BusHiSpd 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: FordMsg3D7BusHiSpdInit1 9

5.1.2 Per: FordMsg3D7BusHiSpdPer1 9

5.2 Server Runnables 9

5.2.1 ComIPduCallout_Steer_Assist_Data_FD1 9

5.2.2 ComTimeoutNotification_EsaOn_B_Rq 9

5.3 Interrupt Functions 10

5.4 Module Internal (Local) Functions 10

5.4.1 NtcEnab 10

5.4.1.1 Design Rationale 10

5.4.1.2 Processing 10

5.4.2 MsgMiss 10

5.4.2.1 Design Rationale 11

5.4.2.2 Processing 11

5.4.3 OutpProcd 11

5.4.3.1 Design Rationale 11

5.4.3.2 Processing 11

5.4.4 VldElpdTi 11

5.4.4.1 Design Rationale 11

5.4.4.2 Processing 11

5.4.5 FirstTran 12

5.4.5.1 Design Rationale 12

5.4.5.2 Processing 12

5.4.6 ChkElpdTi 12

5.4.6.1 Design Rationale 12

5.4.6.2 Processing 12

5.4.7 Enabled 12

5.4.7.1 Design Rationale 12

5.4.7.2 Processing 12

5.4.8 EnabledTwo 12

5.4.8.1 Design Rationale 12

5.4.8.2 Processing 12

5.5 GLOBAL Function/Macro Definitions 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

MDD for FordMsg3D7BusHiSpd

FordMsg3D7BusHiSpd & High-Level Description

Please refer FDD.

Design details of software module

Graphical representation of FordMsg3D7BusHiSpd

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

5.1.1 Init: FordMsg3D7BusHiSpdInit1

Design Rationale

None

Module Outputs

None

5.1.2 Per: FordMsg3D7BusHiSpdPer1

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_Steer_Assist_Data_FD1

5.2.1.1 Design Rationale

None

5.2.1.2 (Processing of function)

None

5.2.2 ComTimeoutNotification_EsaEnbl_D2_Rq

5.2.2.1 Design Rationale

None

5.2.2.2 (Processing of function)

None

Interrupt Functions

None

Module Internal (Local) Functions

NtcEnab

Function NameNtcEnabTypeMinMax
Arguments PassedFordEvasSteerAssiEnad_Cnt_T_loglboolean0U1U
FordCanDtcInhb_Cnt_T_loglboolean0U1U
ClrDiagcFlgProxy_Cnt_T_u08uint80U1U
Return Valueboolean

Design Rationale

Refer FDD

Processing

Refer FDD

MsgMiss

Function NameMsgMissTypeMinMax
Arguments PassedDiagEna_Cnt_T_loglboolean0U1U
BusHiSpdMissThd_Cnt_T_u16Uint160U6000U
ClrDiagcFlgProxyEna_Cnt_T_loglboolean0U1U
Return Value

Boolean

Uint8

Uint16

Design Rationale

Refer FDD

Processing

Refer FDD

OutpProcd

Function NameMsgPrsntTypeMinMax
Arguments PassedFord_EsaEnbl_D2_Rq_Cnt_T_enumenum0U3U
Ford_CmbbObjClass_D_Stat_Cnt_T_enumenum0U15U
Ford_CmbbObjConfdnc_D_Stat_Cnt_T_enumenum0U3U
Ford_CmbbObjDistLong_L_Actl_Cnt_T_u16Uint160U1023U
Ford_CmbbObjDistLat_L_Actl_Cnt_T_u16Uint160U511U
Ford_CmbbObjRelLong_V_Actl_Cnt_T_u16Uint160U1023U
Ford_CmbbObjRelLat_V_Actl_Cnt_T_u16Uint160U511U
Ford_CmbbObjColl_T_Actl_Cnt_T_u08Uint80U127U
Return Value

Boolean

Uint8

Uint16

Design Rationale

Refer FDD

Processing

Refer FDD

VldElpdTi

Function NameVldElpdTiTypeMinMax
Arguments PassedNo input arguments
Return ValueBoolean

Design Rationale

Refer FDD

Processing

Refer FDD

FirstTran

Function NameFirstTranTypeMinMax
Arguments PassedVldChkFlg_Cnt_T_loglboolean0U1U
Return Valueboolean

Design Rationale

Refer FDD

Processing

Refer FDD

ChkElpdTi

Function NameChkElpdTiTypeMinMax
Arguments PassedVldChkFlg_Cnt_T_loglboolean0U1U
ImgProcrModlAVldPassdElpdTi_Cnt_T_loglboolean0U1U
FordVehCllsnMtgtnByBrkgLgtDstRawInp_Cnt_T_loglboolean0U1U
LgtDstRawVldFaildElpdTi_Cnt_T_loglboolean0U1U
FordVehCllsnMtgtnByBrkgLatDstRawInp_Cnt_T_loglboolean0U1U
LatDstRawVldFaildElpdTi_Cnt_T_loglboolean0U1U
FordVehCllsnMtgtnByBrkgRelLgtVelRawInp_Cnt_T_loglboolean0U1U
RelLgtVelRawVldFaildElpdTi_Cnt_T_loglboolean0U1U
FordVehCllsnMtgtnByBrkgRelLatVelRawInp_Cnt_T_loglboolean0U1U
RelLatVelRawVldFaildElpdTi_Cnt_T_loglboolean0U1U
FordVehCllsnMtgtnByBrkgTiToCllsnRawInp_Cnt_T_loglboolean0U1U
TiToCllsnRawVldFaildElpdTi_Cnt_T_loglboolean0U1U
Return Valueboolean

Design Rationale

Refer FDD

Processing

Refer FDD

Enad

Function NameEnabledTypeMinMax
Arguments PassedFordVehCllsnMtgtnByBrkgLgtDstRawInp_Cnt_T_loglboolean0U1U
BusHiSpdLgtDstInvldThd_Cnt_T_u16Uint160U6000U
BusHiSpdLatDstInvldThd_Cnt_T_u16Uint160U6000U
FordVehCllsnMtgtnByBrkgLatDstRawInp_Cnt_T_loglboolean0U1U
Return ValueNone

Design Rationale

Refer FDD

Processing

Refer FDD

Enad2

Function NameElpdTiTypeMinMax
Arguments PassedFordVehCllsnMtgtnByBrkgRelLgtVelRawInp_Cnt_T_loglboolean0U1U
FordVehCllsnMtgtnByBrkgRelLatVelRawInp_Cnt_T_loglboolean0U1U
FordVehCllsnMtgtnByBrkgTiToCllsnRawInp_Cnt_T_loglboolean0U1U
BusHiSpdRelLgtVelInvldThd_Cnt_T_u16Uint160U6000U
BusHiSpdRelLatVelInvldThd_Cnt_T_u16Uint160U6000U
BusHiSpdTiToCllsnInvldThd_Cnt_T_u16boolean0U1U
Return ValueNone

Design Rationale

Refer FDD

Processing

Refer FDD

GLOBAL Function/Macro Definitions

None

Known Limitations with Design

  1. The datatypes of the following outputs and PIMs have been changed to uint8 as per clarification by the Architect.

FordVehCllsnMtgtnByBrkgObjDataConfLvlRaw_Cnt_T_u08

FordVehCllsnMtgtnByBrkgObjTypClassnRaw_Cnt_T_u08

FordVehEvasSteerAssiEnadReqRaw_Cnt_T_u08

Rte_Pim_FordVehCllsnMtgtnByBrkgObjDataConfLvlRawPrev

Rte_Pim_FordVehCllsnMtgtnByBrkgObjTypClassnRawPrev

Rte_Pim_FordVehEvasSteerAssiEnadReqRawPrev

2) FORDVEHCLLSNMTGTNBYBRKGTITOCLLSNRAWTHD_CNT_U16 is of type uint8 but wrongly named as U16. This was changed in the code to FORDVEHCLLSNMTGTNBYBRKGTITOCLLSNRAWTHD_CNT_U08.

UNIT TEST CONSIDERATION

  1. The datatypes of the following outputs and PIMs have been changed to uint8 from enum as per clarification by the Architect.

FordVehCllsnMtgtnByBrkgObjDataConfLvlRaw_Cnt_T_u08

FordVehCllsnMtgtnByBrkgObjTypClassnRaw_Cnt_T_u08

FordVehEvasSteerAssiEnadReqRaw_Cnt_T_u08

Rte_Pim_FordVehCllsnMtgtnByBrkgObjDataConfLvlRawPrev

Rte_Pim_FordVehCllsnMtgtnByBrkgObjTypClassnRawPrev

Rte_Pim_FordVehEvasSteerAssiEnadReqRawPrev

  1. FORDVEHCLLSNMTGTNBYBRKGTITOCLLSNRAWTHD_CNT_U16 is of type uint8 but wrongly named as U16. This was changed in the code to FORDVEHCLLSNMTGTNBYBRKGTITOCLLSNRAWTHD_CNT_U08.

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
3Software Naming Conventions.docEA4 01.02
4Software Design and Coding Standards.docEA4 2.01
5FDD: MM075A_FordMsg3D7BusHiSpd_DesignSee Synergy subproject version
Last modified October 12, 2025: Initial commit (ddf2e20)