FordMsg217BusHiSpd_MDD
Module Design Document
For
FordMsg217BusHiSpd
June 19, 20157
Prepared For:
Software Engineering
Nexteer Automotive,
Saginaw, MI, USA
Prepared By:
Tata Elxsi,
Trivandrum, INDIA
Change History
| Sl. No. | Description | Author | Version | Date |
| 1 | Initial Version | TATA | 1.0 | 29-Nov-2017 |
Table of Contents
2 FordMsg217BusHiSpd & High-Level Description 6
3 Design details of software module 7
3.1 Graphical representation of FordMsg217BusHiSpd 7
4.1 Program (fixed) Constants 8
5 Software Component Implementation 9
5.1.1 Init: FordMsg217BusHiSpdInit1 9
5.1.2 Per: FordMsg217BusHiSpdPer1 9
5.1.2.2 Store Module Inputs to Local copies 9
5.1.2.3 Processing of function 9
5.1.2.4 Store Local copy of outputs into Module Outputs 9
5.2.1 ComIPduCallout_BrakeSysFeatures_3_HS2_Oper 9
5.2.1.2 Processing of function 9
5.2.2 ComTimeoutNotification_SelDrvMdeChassis2_D_Rq_Oper 9
5.2.2.2 Processing of function 9
5.4 Module Internal (Local) Functions 10
5.5 GLOBAL Function/Macro Definitions 15
6 Known Limitations with Design 16
Appendix A Abbreviations and Acronyms 18
Introduction
Purpose
MDD for FordMsg217BusHiSpd
FordMsg217BusHiSpd & High-Level Description
Please refer FDD.
Design details of software module
Graphical representation of FordMsg217BusHiSpd

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 Name | Resolution | Units | Value |
|---|---|---|---|
| Please refer Data Dictionary .m file | NA | NA | NA |
Software Component Implementation
Sub-Module Functions
5.1.1 Init: FordMsg217BusHiSpdInit1
5.1.1.1 Design Rationale
None
5.1.1.2 Module Outputs
None
5.1.2 Per: FordMsg217BusHiSpdPer1
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_BrakeSysFeatures_3_HS2_Oper
5.2.1.1 Design Rationale
None
5.2.1.2 Processing of function
None
5.2.2 ComTimeoutNotification_SelDrvMdeChassis2_D_Rq_Oper
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 Name | DiagEna | Type | Min | Max |
| Arguments Passed | FordMissMsgDiagcInhb_Cnt_T_u08 | uint8 | 0U | 1U |
| FordInvldMsgDiagcInhb_Cnt_T_u08 | uint8 | 0U | 1U | |
| ClrDiagcFlgProxy_Cnt_T_u08 | uint8 | 0U | 1U | |
| FordMfgDiagcInhb_Cnt_T_u08 | uint8 | 0U | 1U | |
| FordCanDtcInhb_Cnt_T_u08 | uint8 | 0U | 1U | |
| FordAbsPrsnt_Cnt_T_u08 | uint8 | 0U | 1U | |
| FordActvNiblCtrlEnad_Cnt_T_u08 | uint8 | 0U | 1U | |
| FordBrkOscnRednEnad_Cnt_T_u08 | uint8 | 0U | 1U | |
| FordTqSteerCmpEnad_Cnt_T_u08 | uint8 | 0U | 1U | |
| FordTrlrBackupAssiEnad_Cnt_T_u08 | uint8 | 0U | 1U | |
| *MissMsgDiagEna_Cnt_T_logl | boolean | FALSE | TRUE | |
| *FrntWhlSpdDiagEna_Cnt_T_logl | boolean | FALSE | TRUE | |
| *ReWhlSpdDiagEna_Cnt_T_logl | boolean | FALSE | TRUE | |
| Return Value | NA | NA | NA | NA |
Design Rationale
None
Processing
Please refer to the below path in the FDD model.
MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/DiagEna
Local Function #2
| Function Name | CalSeln | Type | Min | Max |
| Arguments Passed | FordEpsLifeCycMod_Cnt_T_u08 | uint8 | 0U | 1U |
| BusHiSpdMissMsgFaildThd_MilliSec_T_u16p0 | uint16 | 0U | 6000U | |
| *FrntLeWhlBusHiSpdInvldFaildThd_MilliSec_T_u16p0 | uint16 | 0U | 6000U | |
| *FrntRiWhlBusHiSpdInvldFaildThd_MilliSec_T_u16p0 | uint16 | 0U | 6000U | |
| *ReLeWhlBusHiSpdInvldFaildThd_MilliSec_T_u16p0 | uint16 | 0U | 6000U | |
| *ReRiWhlBusHiSpdInvldFaildThd_MilliSec_T_u16p0 | uint16 | 0U | 6000U | |
| Return Value | NA | NA | NA | NA |
Design Rationale
None
Processing
Please refer to the below path in the FDD model.
MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/CalSeln
Local Function #3
| Function Name | VldFalse | Type | Min | Max |
| Arguments Passed | *FordVehFrntLeWhlSpdVld_Cnt_T_logl | boolean | FALSE | TRUE |
| *FordVehFrntRiWhlSpdVld_Cnt_T_logl | boolean | FALSE | TRUE | |
| *FordVehReLeWhlSpdVld_Cnt_T_logl | boolean | FALSE | TRUE | |
| *FordVehReRiWhlSpdVld_Cnt_T_logl | boolean | FALSE | TRUE | |
| Return Value | NA | NA | NA | NA |
Design Rationale
None
Processing
Please refer to the below path in the FDD model.
MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/FordMsg217MsgMiss/VldFalse
Local Function #4
| Function Name | SigProc | Type | Min | Max |
| Arguments Passed | Ford_WhlFl_W_Meas_Cnt_T_u16 | uint16 | 0U | 32767U |
| Ford_WhlFr_W_Meas_Cnt_T_u16 | uint16 | 0U | 32767U | |
| Ford_WhlRl_W_Meas_Cnt_T_u16 | uint16 | 0U | 32767U | |
| Ford_WhlRr_W_Meas_Cnt_T_u16 | uint16 | 0U | 32767U | |
| *FordVehFrntLeWhlSpdRaw_Cnt_T_u16 | uint16 | 0U | 32767U | |
| *FordVehFrntLeWhlSpd_RadPerSec_T_f32 | float32 | 0.0F | 327.67F | |
| *FordVehFrntRiWhlSpdRaw_Cnt_T_u16 | uint16 | 0U | 32767U | |
| *FordVehFrntRiWhlSpd_RadPerSec_T_f32 | float32 | 0.0F | 327.67F | |
| *FordVehReLeWhlSpdRaw_Cnt_T_u16 | uint16 | 0U | 32767U | |
| *FordVehReLeWhlSpd_RadPerSec_T_f32 | float32 | 0.0F | 327.67F | |
| *FordVehReRiWhlSpdRaw_Cnt_T_u16 | uint16 | 0U | 32767U | |
| *FordVehReRiWhlSpd_RadPerSec_T_f32 | float32 | 0.0F | 327.67F | |
| *FordVehFrntLeWhlSpdVld_Cnt_T_logl | boolean | FALSE | TRUE | |
| *FordVehFrntRiWhlSpdVld_Cnt_T_logl | boolean | FALSE | TRUE | |
| *FordVehReLeWhlSpdVld_Cnt_T_logl | boolean | FALSE | TRUE | |
| *FordVehReRiWhlSpdVld_Cnt_T_logl | boolean | FALSE | TRUE | |
| *FordVehFrntRiWhlSpdVldInp_Cnt_T_logl | boolean | FALSE | TRUE | |
| *FordVehFrntLeWhlSpdVldInp_Cnt_T_logl | boolean | FALSE | TRUE | |
| *FordVehReRiWhlSpdVldInp_Cnt_T_logl | boolean | FALSE | TRUE | |
| *FordVehReLeWhlSpdVldInp_Cnt_T_logl | boolean | FALSE | TRUE | |
| Return Value | NA | NA | NA | NA |
Design Rationale
None
Processing
Please refer to the below path in the FDD model.
MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/FordMsg217MsgPrsnt/SignalProcessing
Local Function #5
| Function Name | VldChk | Type | Min | Max |
| Arguments Passed | FordVehFrntLeWhlSpd_Cnt_T_logl | boolean | FALSE | TRUE |
| FordVehFrntRiWhlSpd_Cnt_T_logl | boolean | FALSE | TRUE | |
| FordVehReLeWhlSpd_Cnt_T_logl | boolean | FALSE | TRUE | |
| FordVehReRiWhlSpd_Cnt_T_logl | boolean | FALSE | TRUE | |
| *FordVehFrntLeWhlSpdVld_Cnt_T_logl | boolean | FALSE | TRUE | |
| *FordVehFrntRiWhlSpdVld_Cnt_T_logl | boolean | FALSE | TRUE | |
| *FordVehReLeWhlSpdVld_Cnt_T_logl | boolean | FALSE | TRUE | |
| *FordVehReRiWhlSpdVld_Cnt_T_logl | boolean | FALSE | TRUE | |
| Return Value | NA | NA | NA | NA |
Design Rationale
None
Processing
Please refer to the below path in the FDD model.
MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/FordMsg217MsgPrsnt/SignalProcessing/VldChk
Local Function #6
| Function Name | FrntWhlSpdDiagEnaChk | Type | Min | Max |
| Arguments Passed | FrntWhlSpdDiagEna_Cnt_T_logl | boolean | FALSE | TRUE |
| FrntLeWhlBusHiSpdInvldFaildThd_MilliSec_T_u16p0 | uint16 | 0U | 6000U | |
| FrntRiWhlBusHiSpdInvldFaildThd_MilliSec_T_u16p0 | uint16 | 0U | 6000U | |
| FordVehFrntLeWhlSpdVldInp_Cnt_T_logl | boolean | FALSE | TRUE | |
| FordVehFrntRiWhlSpdVldInp_Cnt_T_logl | boolean | FALSE | TRUE | |
| Return Value | NA | NA | NA | NA |
Design Rationale
None
Processing
Please refer to the below path in the FDD model.
MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/FordMsg217MsgPrsnt/FordVehFrntWhlSpdInvldSts
MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/FordMsg217MsgPrsnt/FordVehFrntWhlSpdInvldNtcReset
Local Function #7
| Function Name | ReWhlSpdDiagEnaChk | Type | Min | Max |
| Arguments Passed | ReWhlSpdDiagEna_Cnt_T_logl | boolean | FALSE | TRUE |
| ReLeWhlBusHiSpdInvldFaildThd_MilliSec_T_u16p0 | uint16 | 0U | 6000U | |
| ReRiWhlBusHiSpdInvldFaildThd_MilliSec_T_u16p0 | uint16 | 0U | 6000U | |
| FordVehReLeWhlSpdVldInp_Cnt_T_logl | boolean | FALSE | TRUE | |
| FordVehReRiWhlSpdVldInp_Cnt_T_logl | boolean | FALSE | TRUE | |
| Return Value | NA | NA | NA | NA |
Design Rationale
None
Processing
Please refer to the below path in the FDD model.
MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/FordMsg217MsgPrsnt/FordVehReWhlSpdInvldSts
MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/FordMsg217MsgPrsnt/FordVehReWhlSpdInvldNtcReset
Local Function #8
| Function Name | MissMsgDiagEnaChk | Type | Min | Max |
| Arguments Passed | MissMsgDiagEna_Cnt_T_logl | boolean | FALSE | TRUE |
| Return Value | NA | NA | NA | NA |
Design Rationale
None
Processing
Please refer to the below path in the FDD model.
MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/FordMsg217MsgPrsnt/FordMsg217MissMsgPass
MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/FordMsg217MsgPrsnt/Reset
GLOBAL Function/Macro Definitions
None
Known Limitations with Design
In the following path,
MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/FordMsg217MsgPrsnt
Ford Vehicle Front Left Wheel Speed Valid (FordVehFrntLeWhlSpdVld) and Ford Vehicle Front Right Wheel Speed (FordVehFrntRiWhlSpdVld) signals are cross coupled.
In the path,
MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/FordMsg217MsgPrsnt/FordVehReWhlSpdInvldSts/ReRiWhlSpdInvldFail
There is a mismatch between the logic inside ReRiWhlSpdInvldFail subsystem and its input port name.
In the following path,
MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/FordMsg217MsgMiss/VldFalse/ReLeWhlSpdVld Previous
MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/FordMsg217MsgMiss/VldFalse/ReRiWhlSpdVld Previous
The port name used within the ReLeWhlSpdVld Previous and ReRiWhlSpdVld Previous subsystems do not match with the merge block output names.
In the following path,
MM065A_FordMsg217BusHiSpd/FordMsg217BusHiSpd/FordMsg217BusHiSpdPer1/CalSeln/FixdTi
uint32 constant value(BUSHISPDFIXDTITHD_MILLISEC_U32) is assigned to uint16 signals.
UNIT TEST CONSIDERATION
None.
Abbreviations and Acronyms
| Abbreviation or Acronym | Description |
|---|---|
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
| Term | Definition | Source |
|---|---|---|
| MDD | Module Design Document | |
| DFD | Data Flow Diagram |
References
| Ref. # | Title | Version |
|---|---|---|
| 1 | AUTOSAR Specification of Memory Mapping (Link:AUTOSAR_SWS_MemoryMapping.pdf) | v1.3.0 R4.0 Rev 2 |
| 2 | MDD Guideline | EA4 01.00.00 |
| 3 | Software Naming Conventions.doc | 1.0 |
| 4 | Software Design and Coding Standards.doc | 2.1 |
| 5 | FDD: MM065A_FordMsg217BusHiSpd_Design | See Synergy sub project version |