This is the multi-page printable view of this section. Click here to print.
Component Implementation
1 - FordSysSt_IntegrationManual
Integration Manual
For
FordSysSt
VERSION: 1.0
DATE: 06-Dec-2017
Prepared By:
Shawn Penning,
Nexteer Automotive,
Saginaw, MI, USA
Revision History
| Sl. No. | Description | Author | Version | Date |
| 1 | Initial version | Shawn Penning | 1.0 | 06-Dec-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 | MDD Guidelines | Software Process Release 01.02.00 |
| 1 | EA4 Software Naming Conventions | Software Process Release 01.02.00 |
| 3 | Design and Coding Standards | Software Process Release 02.01.00 |
| 4 | FDD: CF052A_FordSysSt_Design | See Synergy subproject version |
Dependencies
SWCs
| Module | Required Feature |
| None |
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
None
Configuration REQUIREMeNTS
Build Time Config
| Modules | Notes | |
| None |
Configuration Files to be provided by Integration Project
None
Da Vinci Parameter Configuration Changes
| Parameter | Notes | SWC |
| None |
DaVinci Interrupt Configuration Changes
| ISR Name | VIM # | Priority Dependency | Notes |
| None |
Manual Configuration Changes
| Constant | Notes | SWC |
| None |
Exclusive Area ‘FordSysStExclusiveArea’ must be configured to block OS interrupts.
Integration DATAFLOW REQUIREMENTS
Required Global Data Inputs
Refer DataDict.m file in the FDD
Required Global Data Outputs
Refer DataDict.m file in the FDD
Specific Include Path present
No
Runnable Scheduling
This section specifies the required runnable scheduling.
| Init | Scheduling Requirements | Trigger |
| FordSysStInit1 | None | RTE/Init |
| Runnable | Scheduling Requirements | Trigger |
| FordSysStPer1 | None | RTE/10 ms |
Memory Map REQUIREMENTS
Mapping
| Memory Section | Contents | Notes |
| FordSysSt_START_SEC_CODE | ||
* 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
NvM Blocks
None
Compiler Settings
Preprocessor MACRO
None
Optimization Settings
None
Appendix
None
2 - FordSysSt_MDD
Module Design Document
For
FordSysSt
04-Dec-2017
Prepared For:
Software Engineering
Nexteer Automotive,
Saginaw, MI, USA
Prepared By:
Shawn Penning,
Nexteer Automotive,
Saginaw, MI, USA
Change History
| Description | Author | Version | Date |
| Initial Version | Shawn Penning | 1 | 04-Dec-2017 |
Table of Contents
2 FordSysSt & High-Level Description 7
3 Design details of software module 8
3.1 Graphical representation of FordSysSt 8
4.1 Program (fixed) Constants 9
5 Software Component Implementation 10
5.1.2.2 Store Module Inputs to Local copies 10
5.1.2.3 (Processing of function) 10
5.1.2.4 Store Local copy of outputs into Module Outputs 10
5.4 Module Internal (Local) Functions 10
5.5 GLOBAL Function/Macro Definitions 14
6 Known Limitations with Design 16
Appendix A Abbreviations and Acronyms 18
Introduction
Purpose
Scope
FordSysSt & High-Level Description
Ford System State will handle internal states and failure modes, and output the current state to the bus.
Design details of software module
Graphical representation of FordSysSt

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 Name | Resolution | Units | Value |
|---|---|---|---|
| Refer .m file |
Software Component Implementation
Sub-Module Functions
Init: Init1
Design Rationale
None
Module Outputs
None
Per: Per1
Design Rationale
None
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
None
Interrupt Functions
None
Module Internal (Local) Functions
Local Function #1
| Function Name | ChkLvngWarmInit | Type | Min | Max |
| Arguments Passed | FordSysSt_Cnt_T_enum | SysSt1 | 0U | 3U |
| FordLoaSt_Cnt_T_enum | LoaSt1 | 0U | 5U | |
| SysStWrmIninCmpl_Cnt_T_logl | Boolean | FALSE | TRUE | |
| FordVltgOperSt_Cnt_T_enum | FordVltgOperSt1 | 0U | 6U | |
| FordEpsSysSt_Cnt_T_enum | FordEpsSysSt1 | 0U | 8U | |
| OperScaFctr_Cnt_T_f32 | float32 | 0.1 | 1 | |
| OperRampRate_Cnt_T_f32 | float32 | 0.1 | 1000 | |
| Return Value | none |
Design Rationale
None
Processing
Check the conditions for leaving ChkLvngWarmInit.
Local Function #2
| Function Name | ChkLvngLimpHome | Type | Min | Max |
| Arguments Passed | FordLoaSt_Cnt_T_enum | LoaSt1 | 0U | 3U |
| FordEpsSysSt_Cnt_T_enum | FordEpsSysSt1 | 0U | 8U | |
| Return Value | none |
Design Rationale
None
Processing
Local Function #3
| Function Name | ChkLvngLimpAside | Type | Min | Max |
| Arguments Passed | FordLoaSt_Cnt_T_enum | LoaSt1 | 0U | 3U |
| FordEpsSysSt_Cnt_T_enum | FordEpsSysSt1 | 0U | 8U | |
| Return Value | none |
Design Rationale
None
Processing
Check the condtions for leaving LimpAside for another substate of EPSSystemFailure.
Local Function #4
| Function Name | ChkLvngRampOut | Type | Min | Max |
| Arguments Passed | FordLoaSt_Cnt_T_enum | LoaSt1 | 0U | 3U |
| FordEpsSysSt_Cnt_T_enum | FordEpsSysSt1 | 0U | 8U | |
| Return Value | none |
Design Rationale
None
Processing
Check the condtions for leaving RampOut for another substate of EPSSystemFailure.
Local Function #5
| Function Name | ChkLvngEpsNormOperLimAssi | Type | Min | Max |
| Arguments Passed | LoaSt_Cnt_T_enum | LoaSt1 | 0U | 3U |
| FordVltgOperSt_Cnt_T_enum | FordVltgOperSt1 | 0U | 6U | |
| SysSt_Cnt_T_enum | SysSt1 | 0U | 3U | |
| FordVehSpdVld_Cnt_T_logl | boolean | FALSE | TRUE | |
| FordVehSpd_Cnt_T_f32 | float32 | 0.0F | 511.0F | |
| FordVehPwrpkTqSts_Cnt_T_enum | Ford_PwPckTq_D_Stat | 0U | 3U | |
| NtcQlfr_Cnt_T_enum | SigQlfr1 | 0U | 2U | |
| FordEpsSysSt_Cnt_T_enum | FordEpsSysSt1 | 0U | 8U | |
| OperScaFctr_Cnt_T_f32 | float32 | 0.0F | 1.0F | |
| OperRampRate_Cnt_T_f32 | float32 | 0.0F | 1000.0F | |
| Return Value | none |
Design Rationale
None
Processing
Check the conditions for leaving EpsNormOper-->LimAssi.
Local Function #6
| Function Name | ChkLvngEpsNormOperFullAssi | Type | Min | Max |
| Arguments Passed | FordLoaSt_Cnt_T_enum | LoaSt1 | 0U | 3U |
| FordVltgOperSt_Cnt_T_enum | FordVltgOperSt1 | 0U | 6U | |
| FordSysSt_Cnt_T_enum | SysSt1 | 0U | 3U | |
| FordVehSpdVld_Cnt_T_logl | boolean | FALSE | TRUE | |
| FordVehSpd_Cnt_T_f32 | float32 | 0.0F | 511.0F | |
| FordVehPwrpkTqSts_Cnt_T_enum | Ford_PwPckTq_D_Stat | 0U | 3U | |
| NtcQlfr_Cnt_T_enum | SigQlfr1 | 0U | 2U | |
| Return Value | none |
Design Rationale
None
Processing
Check the conditions for leaving EpsNormOper-->FullAssist.
Local Function #7
| Function Name | PowerDown | Type | Min | Max |
| Arguments Passed | None | |||
| Return Value |
Design Rationale
None
Processing
Set FordEpsSystemSt to PowerDown
Local Function #8
| Function Name | WarmInit | Type | Min | Max |
| Arguments Passed | None | |||
| Return Value |
Design Rationale
None
Processing
Set WarmInit conditions.
Local Function #9
| Function Name | EpsSystemFailure | Type | Min | Max |
| Arguments Passed | None | |||
| Return Value |
Design Rationale
None
Processing
Set EpsSystemFailure variables common to the entire block.
Local Function #10
| Function Name | EpsSystemFailureExitCheck | Type | Min | Max |
| Arguments Passed | FordSysSt_Cnt_T_enum | SysSt1 | 0U | 3U |
| FordVehSpd_Cnt_T_f32 | float32 | 0.0F | 511.0F | |
| FordVehSpdVld_Cnt_T_logl | boolean | FALSE | TRUE | |
| FordVehPwrpkTqSts_Cnt_T_enum | Ford_PwPckTq_D_Stat | 0U | 3U | |
| NtcQlfr_Cnt_T_enum | SigQlfr1 | 0U | 2U | |
| Return Value | boolean | FALSE | TRUE |
Design Rationale
None
Processing
Called whenever FordEpsSysSt is already in an EpsSystemFailure state.
Local Function #11
| Function Name | LimAssist | Type | Min | Max |
| Arguments Passed | None | |||
| Return Value |
Design Rationale
None
Processing
Set LimAssist conditions.
Local Function #12
| Function Name | FullAssist | Type | Min | Max |
| Arguments Passed | None | |||
| Return Value |
Design Rationale
None
Processing
Set FullAssist conditions.
Local Function #13
| Function Name | ShutDown | Type | Min | Max |
| Arguments Passed | None | |||
| Return Value |
Design Rationale
None
Processing
Set ShutDown conditions.
GLOBAL Function/Macro Definitions
None
Known Limitations with Design
None
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 | v1.3.0 R4.0 Rev 2 |
| 2 | MDD Guideline | EA4 01.00.00 |
| 3 | EA4 Software Naming Conventions | 01.01.00 |
| 4 | Software Design and Coding Standards | 2.1 |
| 5 | FDD – CF052A FordSysSt | See Synergy subproject version |