StHlthSigStc_IntegrationManual
Integration Manual
For
State of Health Signal Statistics
VERSION: 4.0
DATE: 27-Sep-2016
Prepared By:
Software Group,
Nexteer Automotive,
Saginaw, MI, USA
Revision History
Sl. No. | Description | Author | Version | Date |
1 | Initial version | Akilan Rathakrishnan | 1.0 | 15-Feb-2016 |
2 | EA4#4910 fix | Akilan Rathakrishnan | 2.0 | 28-Mar-2016 |
3 | EA4#5553 update | Akilan Rathakrishnan | 3.0 | 02-May-2016 |
4 | EA4#7307 | Akilan Rathakrishnan | 4.0 | 27-Sep-2016 |
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 8
4.5 Manual Configuration Changes 8
5 Integration DATAFLOW REQUIREMENTS 9
5.1 Required Global Data Inputs 9
5.2 Required Global Data Outputs 9
5.3 Specific Include Path present 9
Abbrevations And Acronyms
Abbreviation | Description |
DFD | Design functional diagram |
MDD | Module design Document |
<ADD more to the table if applicable> | |
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 - <FDD ES106A_StHlthSigStc_Design> | Refer Synergy subproject version |
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
See section 6. Please note the server runnables listed can be used as needed in the integration project and can be called via the RTE or outside of the RTE as required
Non-Trusted Function | Parameters | Notes |
NONTRUSTED_NtWrapS_StHlthSigStc_UpdNvmPim | This function shall be defined as a non-trusted function call to the application that StHlthSigStc is integrated. | |
NONTRUSTED_NtWrapS_StHlthSigStc_ClrDataSample | This function shall be defined as a non-trusted function call to the application that StHlthSigStc is integrated. | |
NONTRUSTED_NtWrapS_StHlthSigStc_UpdDataSample | This function shall be defined as a non-trusted function call to the application that StHlthSigStc is integrated. |
Configuration REQUIREMeNTS
Build Time Config
Modules | Notes | |
None |
Configuration Files to be provided by Integration Project
StHlthSigStc_Cfg.c
StHlthSigStc_Cfg.h
Note: Include “StHlthSigStc_Cfg.h” in the “Rte_UserTypes.h” file since user defined typedefs are generated in this file.
Da Vinci Parameter Configuration Changes
Following configurations shall be made in DaVinci configurator for the component.
There are three containers that need to be instantiated for this components configuration.
StHlthSigStcApplicationConfigs : OS application in which this component is scheduled to run shall be configured in this container.
Parameter Name | Parameter Value |
OS Application Reference | Application in which ES106A scheduled |
StHlthSigStcCrConfigLists: List of CRC constants that are need to be checked for NvM validation shall be configured in this container. Each CRC constant shall have one entry.
Below table indicates list of CRC values currently considered.
Parameter Name | Parameter Value |
StHlthSigStcCrcStartSymbol | Application CRC symbol name |
StHlthSigStcSignalLists: This list shall have one entry for every monitored signal.
Following set of information shall be configured for every signal:
Singal Name: Signal name of the State of Health signal (mentioned in the below table).
Task Id: Task id of the task in which the periodic(s) from the FDD, mentioned against respective signal in the below table, is scheduled.
Loop time: Loop time of the task with 1 micro second resolution.
Signal Name | FDD |
CtrlrTStHlth | ES210A_EcuTMeas |
OutpAssiStHlth | ES259A_BattVltgCorrln |
DigTqSnsrAStHlth | ES229A_HwTqCorrln |
DigTqSnsrBStHlth | ES229A_HwTqCorrln |
DigTqIdptSigStHlth | ES229A_HwTqCorrln |
DutyCycStHlth | SF009A_DutyCycThermProtn |
EotImpctStHlth | SF011A_EotLrng |
MotPosStHlth | ES241A_MotAg2Meas |
AbsltMotPosABDifStHlth | ES249A_MotAgCorrln |
AbsltMotPosACDifStHlth | ES249A_MotAgCorrln |
AbsltMotPosBCDifStHlth | ES249A_MotAgCorrln |
CurrMotSumABCStHlth | ES209A_CurrMeasCorrln |
CurrMotSumDEFStHlth | ES209A_CurrMeasCorrln |
PhaAStHlth | ES320A_MotDrvDiagc |
PhaBStHlth | ES320A_MotDrvDiagc |
PhaCStHlth | ES320A_MotDrvDiagc |
PhaDStHlth | ES320A_MotDrvDiagc |
PhaEStHlth | ES320A_MotDrvDiagc |
PhaEStHlth | ES320A_MotDrvDiagc |
RamEccSngBitCorrnStHlth | CM103A_RamMem |
FricEstimnStHlth | SF007A_SysFricLrng |
WhlImbMaxCmpStHlth | SF015A_WhlImbRejctn |
DaVinci Interrupt Configuration Changes
ISR Name | VIM # | Priority Dependency | Notes |
N/A |
Manual Configuration Changes
Constant | Notes | SWC |
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
Yes
Runnable Scheduling
This section specifies the required runnable scheduling.
Init | Scheduling Requirements | Trigger |
StHlthSigStcInit1 | Invoked by RTE during Init | RTE |
Runnable | Scheduling Requirements | Trigger |
ClrSigStcHlthData_Oper | Server Runnable | Client Call |
GetSigStcHlthData_Oper | Server Runnable | Client Call |
StHlthStcPwrDwn_Oper | Server Runnable | Client Call |
UpdStHlthStcData_Oper | Server Runnable | Client Call |
NONTRUSTED_NtWrapS_StHlthSigStc_ClrDataSample | Non-Tusted function definition (Index: NtWrapS_StHlthSigStc_ClrDataSample) | On Event |
NONTRUSTED_NtWrapS_StHlthSigStc_UpdNvmPim | Non-Tusted function definition (Index: NtWrapS_StHlthSigStc_UpdNvmPim) | On Event |
NONTRUSTED_NtWrapS_StHlthSigStc_UpdDataSample | Non-Tusted function definition (Index: NtWrapS_StHlthSigStc_UpdDataSample) | On Event |
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 |
SigStcHistDataAry |
Note : Size of the NVM block if configured in developer
Compiler Settings
Preprocessor MACRO
None
Optimization Settings
None
Appendix
<This section is for appendix>