This is the multi-page printable view of this section. Click here to print.
Component Implementation
1 - FordMsg217BusHiSpd_IntegrationManual
Integration Manual
For
FordMsg217BusHiSpd
VERSION: 1.0
DATE: 29-Nov-2017
Prepared By:
TATA
Trivandrum, INDIA
Location: The official version of this document is stored in the Nexteer Configuration Management System.
Revision History
| Sl. No. | Description | Author | Version | Date | 
| 1 | Initial version | TATA | 1.0 | 11/29/2017 | 
Table of Contents
3.2 Global Functions(Non RTE) to be provided to Integration Project 6
4 Configuration REQUIREMeNTS 7
4.2 Configuration Files to be provided by Integration Project 7
4.3 Da Vinci Parameter Configuration Changes 7
4.4 DaVinci Interrupt Configuration Changes 7
4.5 Manual Configuration Changes 7
5 Integration DATAFLOW REQUIREMENTS 8
5.1 Required Global Data Inputs 8
5.2 Required Global Data Outputs 8
5.3 Specific Include Path present 8
Abbrevations And Acronyms
| Abbreviation | Description | 
| DFD | Design Functional Diagram | 
| MDD | Module Design Document | 
| FDD | Functional Design Document | 
References
This section lists the title & version of all the documents that are referred for development of this document
| Sr. No. | Title | Version | 
| 1 | FDD: MM065A_FordMsg217BusHiSpd_Design | See synergy sub project version | 
| 2 | Software Naming Conventions | 1.0 | 
| 3 | Software Coding Standards | 2.1 | 
Dependencies
SWCs
| Module | Required Feature | 
| None | N/A | 
Note : Referencing the external components should be avoided in most cases. Only in unavoidable circumstance external components should be referred. Developer should track the references.
Global Functions(Non RTE) to be provided to Integration Project
ComIPduCallout_WheelSpeed_HS2_Oper, ComTimeoutNotification_WhlFl_W_Meas_Oper
Configuration REQUIREMeNTS
Build Time Config
| Modules | Notes | |
| None | N/A | 
Configuration Files to be provided by Integration Project
None
Da Vinci Parameter Configuration Changes
| Parameter | Notes | SWC | 
| None | N/A | 
DaVinci Interrupt Configuration Changes
| ISR Name | VIM # | Priority Dependency | Notes | 
| None | N/A | 
Manual Configuration Changes
| Constant | Notes | SWC | 
| None | N/A | 
Integration DATAFLOW REQUIREMENTS
Required Global Data Inputs
Refer DataDict.m file
Required Global Data Outputs
Refer DataDict.m file
Specific Include Path present
No
Runnable Scheduling
This section specifies the required runnable scheduling.
| Init | Scheduling Requirements | Trigger | 
| FordMsg217BusHiSpdInit1 | None | RTE Init | 
| Runnable | Scheduling Requirements | Trigger | 
| FordMsg217BusHiSpdPer1 | None | RTE (10ms) | 
| Srv Runnable | Scheduling Requirements | Trigger | 
| ComIPduCallout_WheelSpeed_HS2 | None | On invocation of ComIPduCallout_WheelSpeed_HS2.Oper(NON-RTE) | 
| Srv Runnable | Scheduling Requirements | Trigger | 
| ComTimeoutNotification_WhlFl_W_Meas | None | On invocation of ComTimeoutNotification_WhlFl_W_Meas. Oper(NON-RTE) | 
Memory Map REQUIREMENTS
Mapping
| Memory Section | Contents | Notes | 
| None | 
* Each …START_SEC… constant is terminated by a …STOP_SEC… constant as specified in the AUTOSAR Memory Mapping requirements.
Usage
| Feature | RAM | ROM | 
| None | 
Table 1: ARM Cortex R4 Memory Usage
Non RTE NvM Blocks
| Block Name | 
| None | 
Note : Size of the NVM block if configured in developer
RTE NvM Blocks
| Block Name | 
| None | 
Note : Size of the NVM block if configured in developer
Compiler Settings
Preprocessor MACRO
None
Optimization Settings
None
Appendix
None
2 - 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 | 
3 - FordMsg217BusHiSpd_PeerReviewChecklist



