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
| Description | Author | Version | Date |
| Initial Version | Mrudula Paturi | 1 | 19-Apr-2018 |
Table of Contents
2 FordMsg3D7BusHiSpd & High-Level Description 6
3 Design details of software module 7
3.1 Graphical representation of FordMsg3D7BusHiSpd 7
4.1 Program (fixed) Constants 8
5 Software Component Implementation 9
5.1.1 Init: FordMsg3D7BusHiSpdInit1 9
5.1.2 Per: FordMsg3D7BusHiSpdPer1 9
5.2.1 ComIPduCallout_Steer_Assist_Data_FD1 9
5.2.2 ComTimeoutNotification_EsaOn_B_Rq 9
5.4 Module Internal (Local) Functions 10
5.5 GLOBAL Function/Macro Definitions 12
6 Known Limitations with Design 13
Appendix A Abbreviations and Acronyms 15
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 Name | Resolution | Units | Value |
|---|---|---|---|
| Please refer Data Dictionary .m file | NA | NA | NA |
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 Name | NtcEnab | Type | Min | Max |
|---|---|---|---|---|
| Arguments Passed | FordEvasSteerAssiEnad_Cnt_T_logl | boolean | 0U | 1U |
| FordCanDtcInhb_Cnt_T_logl | boolean | 0U | 1U | |
| ClrDiagcFlgProxy_Cnt_T_u08 | uint8 | 0U | 1U | |
| Return Value | boolean |
Design Rationale
Refer FDD
Processing
Refer FDD
MsgMiss
| Function Name | MsgMiss | Type | Min | Max |
|---|---|---|---|---|
| Arguments Passed | DiagEna_Cnt_T_logl | boolean | 0U | 1U |
| BusHiSpdMissThd_Cnt_T_u16 | Uint16 | 0U | 6000U | |
| ClrDiagcFlgProxyEna_Cnt_T_logl | boolean | 0U | 1U | |
| Return Value | Boolean Uint8 Uint16 |
Design Rationale
Refer FDD
Processing
Refer FDD
OutpProcd
| Function Name | MsgPrsnt | Type | Min | Max |
|---|---|---|---|---|
| Arguments Passed | Ford_EsaEnbl_D2_Rq_Cnt_T_enum | enum | 0U | 3U |
| Ford_CmbbObjClass_D_Stat_Cnt_T_enum | enum | 0U | 15U | |
| Ford_CmbbObjConfdnc_D_Stat_Cnt_T_enum | enum | 0U | 3U | |
| Ford_CmbbObjDistLong_L_Actl_Cnt_T_u16 | Uint16 | 0U | 1023U | |
| Ford_CmbbObjDistLat_L_Actl_Cnt_T_u16 | Uint16 | 0U | 511U | |
| Ford_CmbbObjRelLong_V_Actl_Cnt_T_u16 | Uint16 | 0U | 1023U | |
| Ford_CmbbObjRelLat_V_Actl_Cnt_T_u16 | Uint16 | 0U | 511U | |
| Ford_CmbbObjColl_T_Actl_Cnt_T_u08 | Uint8 | 0U | 127U | |
| Return Value | Boolean Uint8 Uint16 |
Design Rationale
Refer FDD
Processing
Refer FDD
VldElpdTi
| Function Name | VldElpdTi | Type | Min | Max |
|---|---|---|---|---|
| Arguments Passed | No input arguments | |||
| Return Value | Boolean |
Design Rationale
Refer FDD
Processing
Refer FDD
FirstTran
| Function Name | FirstTran | Type | Min | Max |
|---|---|---|---|---|
| Arguments Passed | VldChkFlg_Cnt_T_logl | boolean | 0U | 1U |
| Return Value | boolean |
Design Rationale
Refer FDD
Processing
Refer FDD
ChkElpdTi
| Function Name | ChkElpdTi | Type | Min | Max |
|---|---|---|---|---|
| Arguments Passed | VldChkFlg_Cnt_T_logl | boolean | 0U | 1U |
| ImgProcrModlAVldPassdElpdTi_Cnt_T_logl | boolean | 0U | 1U | |
| FordVehCllsnMtgtnByBrkgLgtDstRawInp_Cnt_T_logl | boolean | 0U | 1U | |
| LgtDstRawVldFaildElpdTi_Cnt_T_logl | boolean | 0U | 1U | |
| FordVehCllsnMtgtnByBrkgLatDstRawInp_Cnt_T_logl | boolean | 0U | 1U | |
| LatDstRawVldFaildElpdTi_Cnt_T_logl | boolean | 0U | 1U | |
| FordVehCllsnMtgtnByBrkgRelLgtVelRawInp_Cnt_T_logl | boolean | 0U | 1U | |
| RelLgtVelRawVldFaildElpdTi_Cnt_T_logl | boolean | 0U | 1U | |
| FordVehCllsnMtgtnByBrkgRelLatVelRawInp_Cnt_T_logl | boolean | 0U | 1U | |
| RelLatVelRawVldFaildElpdTi_Cnt_T_logl | boolean | 0U | 1U | |
| FordVehCllsnMtgtnByBrkgTiToCllsnRawInp_Cnt_T_logl | boolean | 0U | 1U | |
| TiToCllsnRawVldFaildElpdTi_Cnt_T_logl | boolean | 0U | 1U | |
| Return Value | boolean |
Design Rationale
Refer FDD
Processing
Refer FDD
Enad
| Function Name | Enabled | Type | Min | Max |
|---|---|---|---|---|
| Arguments Passed | FordVehCllsnMtgtnByBrkgLgtDstRawInp_Cnt_T_logl | boolean | 0U | 1U |
| BusHiSpdLgtDstInvldThd_Cnt_T_u16 | Uint16 | 0U | 6000U | |
| BusHiSpdLatDstInvldThd_Cnt_T_u16 | Uint16 | 0U | 6000U | |
| FordVehCllsnMtgtnByBrkgLatDstRawInp_Cnt_T_logl | boolean | 0U | 1U | |
| Return Value | None |
Design Rationale
Refer FDD
Processing
Refer FDD
Enad2
| Function Name | ElpdTi | Type | Min | Max |
|---|---|---|---|---|
| Arguments Passed | FordVehCllsnMtgtnByBrkgRelLgtVelRawInp_Cnt_T_logl | boolean | 0U | 1U |
| FordVehCllsnMtgtnByBrkgRelLatVelRawInp_Cnt_T_logl | boolean | 0U | 1U | |
| FordVehCllsnMtgtnByBrkgTiToCllsnRawInp_Cnt_T_logl | boolean | 0U | 1U | |
| BusHiSpdRelLgtVelInvldThd_Cnt_T_u16 | Uint16 | 0U | 6000U | |
| BusHiSpdRelLatVelInvldThd_Cnt_T_u16 | Uint16 | 0U | 6000U | |
| BusHiSpdTiToCllsnInvldThd_Cnt_T_u16 | boolean | 0U | 1U | |
| Return Value | None |
Design Rationale
Refer FDD
Processing
Refer FDD
GLOBAL Function/Macro Definitions
None
Known Limitations with Design
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
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
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 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 |
| 3 | Software Naming Conventions.doc | EA4 01.02 |
| 4 | Software Design and Coding Standards.doc | EA4 2.01 |
| 5 | FDD: MM075A_FordMsg3D7BusHiSpd_Design | See Synergy subproject version |