FordMsg083BusHiSpd_MDD

Module Design Document

For

FordMsg083BusHiSpd

Prepared For:

,

Prepared By:

TATA ELXSI,

INDIA

Change History

DescriptionAuthorVersionDate
Initial versionTATA ELXSI117-Apr-2018


Table of Contents

Table of Contents 4

1 Introduction 6

1.1 Purpose 6

2 FordMsg083BusHiSpd& High-Level Description 7

3 Design details of software module 8

3.1 Graphical representation of FordMsg083BusHiSpd 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: FordMsg083BusHiSpdInit1 10

5.1.2 Per: FordMsg083BusHiSpdPer1 10

5.2 Server Runnables 10

5.2.1 ComIPduCallout_Steering_Data_FD1 10

5.2.1.1 Design Rationale 10

5.2.1.2 Processing of function 10

5.2.2 ComTimeoutNotification_TurnLghtSwtch_D_Stat 10

5.2.2.1 Design Rationale 10

5.2.2.2 Processing of function 10

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.1.2 Processing 12

5.4.2 Local Function #2 12

5.4.2.1 Design Rationale 12

5.4.2.2 Processing 12

5.4.3 Local Function #3 12

5.4.3.1 Design Rationale 13

5.4.3.2 Processing 13

5.4.4 Local Function #4 13

5.4.4.1 Design Rationale 13

5.4.4.2 Processing 13

5.4.5 Local Function #5 13

5.4.5.1 Design Rationale 13

5.4.5.2 Processing 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

Module Design Document for MM054A_FordMsg083BusHiSpd_Impl.

FordMsg083BusHiSpd& High-Level Description

The purpose of the Ford Message 083 Bus High Speed function is to provide the Electric Power Steering system with signal values for the Lane Detection Warning function from CAN. The Ford Message 083 function will perform the missing message diagnostics as well as provide a validity flag for the signal values and received message. Detailed requirements have implemented the Ford DBC file for guidance.

Design details of software module

Graphical representation of FordMsg083BusHiSpd

Data Flow Diagram

Refer FDD

Component level DFD

Refer FDD

Function level DFD

Refer FDD

Constant Data Dictionary

Program (fixed) Constants

Embedded Constants

Local Constants

Constant NameResolutionUnitsValue
BUSHISPDFIXDTITHD_MILLISEC_U16Single precisionMilliSec5000
CNVMILLISECTOCNT_CNTPERMILLISEC_U16Single precisionCntPerMilliSec10
DEBSTEP_CNT_U16Single precisionCnt65535
MODSEL_CNT_U08Single precisionCnt1

Software Component Implementation

Sub-Module Functions

The sub-module functions are grouped based on similar functionality that needs to be executed in a given “State” of the system (refer States and Modes). For a given module, the MDD will identify the type and number of sub-modules required. The sub-module types are described below.

Init: FordMsg083BusHiSpdInit1

Design Rationale

Refer FDD

Module Outputs

Refer FDD

Per: FordMsg083BusHiSpdPer1

Design Rationale

Refer FDD

Store Module Inputs to Local copies

Refer FDD

(Processing of function)

Refer FDD

Store Local copy of outputs into Module Outputs

Refer FDD

Server Runnables

ComIPduCallout_Steering_Data_FD1

5.2.1.1 Design Rationale

None

5.2.1.2 Processing of function

None

ComTimeoutNotification_TurnLghtSwtch_D_Stat

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 PassedFordLaneDetnWarnEnad_Cnt_T_loglboolean0U1U
FordCanDtcInhb_Cnt_T_loglboolean0U1U
ClrDiagcFlgProxy_Cnt_T_u08Uint80U1U
DiagEna_Cnt_T_loglboolean0U1U
ClrDiagcFlgProxyEna_Cnt_T_loglboolean0U1U
Return Value

Design Rationale

Processing

Please refer to the below path in the FDD model.

MM054A_FordMsg083BusHiSpd/FordMsg083BusHiSpd/FordMsg083BusHiSpdPer1/DiagEna

Local Function #2

Function NameCalSelnTypeMinMax
Arguments PassedFordEpsLifeCycMod_Cnt_T_u08Uint80U1U
Return ValueBusHiSpdMissThd_Cnt_T_u16Uint160U6000U

Design Rationale

Processing

Please refer to the below path in the FDD model.

MM054A_FordMsg083BusHiSpd/FordMsg083BusHiSpd/FordMsg083BusHiSpdPer1/CalSeln

Local Function #3

Function NameMsgMissTypeMinMax
Arguments PassedBusHiSpdMissThd_Cnt_T_u16Uint160U6000U
DiagEna_Cnt_T_loglboolean0U1U
ClrDiagcFlgProxyEna_Cnt_T_loglboolean0U1U
FordVehTurnSigVld_Cnt_T_loglboolean0U1U
FordVehTurnSigSwtStsRaw_Cnt_T_enumEnum0U3U
Return Value

Design Rationale

Processing

Please refer to the below path in the FDD model.

MM054A_FordMsg083BusHiSpd/FordMsg083BusHiSpd/FordMsg083BusHiSpdPer1/FordMsg083MsgMiss

Local Function #4

Function NameMsgPrsntTypeMinMax
Arguments PassedDiagEna_Cnt_T_loglboolean0U1U
ClrDiagcFlgProxyEna_Cnt_T_loglboolean0U1U
Return Value

Design Rationale

Processing

Please refer to the below path in the FDD model.

MM054A_FordMsg083BusHiSpd/FordMsg083BusHiSpd/FordMsg083BusHiSpdPer1/FordMsg083MsgPrsnt

Local Function #5

Function NameOutpProcgTypeMinMax
Arguments PassedFord_TurnLghtSwtch_D_Stat1_Cnt_T_enumEnum0U3U
FordVehTurnSigVld_Cnt_T_loglboolean0U1U
FordVehTurnSigSwtStsRaw_Cnt_T_enumEnum0U3U
Return Value

Design Rationale

Processing

Please refer to the below path in the FDD model.

MM054A_FordMsg083BusHiSpd/FordMsg083BusHiSpd/FordMsg083BusHiSpdPer1/FordMsg083MsgPrsnt/OutputProcessing

GLOBAL Function/Macro Definitions

None

Known Limitations with Design

Return type and arguments for Non RTE Srv Runnables do not match with data dictionary. This is due to the limitations of FDD tools.

UNIT TEST CONSIDERATION

Return type and arguments for Non RTE Srv Runnables do not match with data dictionary. This is due to the limitations of FDD tools.

Abbreviations and Acronyms

Abbreviation or AcronymDescription
FDDFunctional Design Document. (See references)

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
5MM054A_FordMsg083BusHiSpd_DesignSee Synergy subproject version
Last modified October 12, 2025: Initial commit (ddf2e20)