This is the multi-page printable view of this section. Click here to print.
Component Implementation
1 - BattVltg Review
Overview
Summary SheetSynergy Project
Sheet 1: Summary Sheet

Sheet 2: Synergy Project
2 - BattVltg_IntegrationManual
Integration Manual
For
BattVltg
VERSION: 1.2
DATE: 13-MAR-2015
Prepared By:
Software Group,
Nexteer Automotive,
Saginaw, MI, USA
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 | Spandana Balani | 1.0 | 13-Mar-2015 |
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 |
<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 - ES250A Battery or Switched Voltage Measurement and Arbitration> | <1.0.0> |
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
< Global function (except the ones that are defined in RTE modules) that is defined in this component but used by other function
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 |
N/A |
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
No
Runnable Scheduling
This section specifies the required runnable scheduling.
Init | Scheduling Requirements | Trigger |
None | ||
Runnable | Scheduling Requirements | Trigger |
BattVltgPer1 | None | RTE 2ms Task |
.
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
<This section is for appendix>
3 - BattVltg_MDD
Module Design Document
ForBattery or Switched Voltage Measurement
and Arbitration
VERSION: 3.0
DATE: 03-JUN-2016
Prepared By:
Nick Saxton
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 | SB | 1.0 | 13-Mar-2015 |
2 | Fixed the typo in Per1 function name | SB | 2.0 | 09-Apr-2015 |
3 | Updated for FDD v2.0.0 | NS | 3.0 | 03-Jun-2016 |
Table of Contents
3 BattVltg & High-Level Description 7
4 Design details of software module 8
4.1 Graphical representation of BattVltg 8
5.1 User defined typedef definition/declaration 9
5.2 Variable definition for enumerated types 9
6.1 Program(fixed) Constants 10
6.1.2 Module specific Lookup Tables Constants 10
7 Software Module Implementation 11
7.1.1 Initialization Functions 11
7.1.2.3 Store Module Inputs to Local copies 11
7.1.2.4 (Processing of function)……… 11
7.1.2.5 Store Local copy of outputs into Module Outputs 11
7.3 Serial Communication Functions 12
7.4 Local Function/Macro Definitions 12
7.5 GLObAL Function/Macro Definitions 12
8 Known Limitations With Design 13
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> | <MDD Guidelines> | Process 3.06.00 |
<2> | <Software Naming Conventions> | Process 3.06.00 |
<3> | <Coding standards> | Process 3.06.00 |
<4> | <FDD - ES250A Battery or Switched Voltage Measurement and Arbitration> | See Synergy subproject version |
<Add if more available> |
BattVltg & High-Level Description
This function scales the Battery and Switched Battery voltages used in the EA4.0 architecture. The module determines which of the three voltage inputs (battery or switched battery 1 or switched battery 2) should be used by the software application.
The function provides some generic logic to decide between the switched battery voltage 1 and switched battery voltage 2 to effective utilize the switched voltage in case one of the switched voltages fails.
Design details of software module
Graphical representation of BattVltg
Data Flow Diagram
Module level DFD
N/A
Sub-Module level DFD
N/A
COMPONENT FLOW DIAGRAM
N/A
Variable Data Dictionary
User defined typedef definition/declaration
<This section documents any user types uniquely used for the module.>
Typedef Name | Element Name | User Defined Type | Legal Range (min) | Legal Range (max) |
N/A | ||||
Variable definition for enumerated types
Enum Name | Element Name | Value |
N/A |
Constant Data Dictionary
Program(fixed) Constants
Embedded Constants
< All program specific constants will be defined in detail >
Local
Constant Name | Resolution | Units | Value |
BATTVLTGCORRLNSTSSWD2FLT_CNT_T_U08 | 1 | CNT | 3 |
BATTVLTGCORRLNSTSSWD1FLT_CNT_T_U08 | 1 | CNT | 5 |
BATTVLTGCORRLNSTSBATTVLTGFLT_CNT_T_U08 | 1 | CNT | 6 |
BATTVLTGCORRLNSTSNOFLT_CNT_T_U08 | 1 | CNT | 7 |
Global
<This section lists the global constants used by the module. For details on global constants, refer to the Data Dictionary for the application>
Constant Name |
N/A |
Module specific Lookup Tables Constants
<(This is for lookup tables (arrays) with fixed values, same name as other tables)>
Constant Name | Resolution | Value | Software Segment |
<Refer Constant name qualified in [2]> | <Refer MDD guidelines [1]> | <Refer MDD guidelines [1]> | <Refer MDD guidelines [1]> |
Software Module Implementation
Sub-Module Functions
None
Initialization Functions
None
PERIODIC FUNCTIONS
(Note: For multiple periodic functions, insert new headers at the “Header 2” level – subset of “7.1.2 Periodic Functions” and follow the same sub-section design shown below). If none required, place the text “None”)>
Per: BattVltgPer1
Design Rationale
None
Store Module Inputs to Local copies
Refer to FDD
(Processing of function)………
Refer to FDD
Store Local copy of outputs into Module Outputs
Refer to FDD
Interrupt Functions
None
Serial Communication Functions
None
Local Function/Macro Definitions
<If these are numerous and defined in a separate source file then reference the source file only.>
Local Function #1
Function Name | (Exact name used) | Type | Min | Max |
Arguments Passed | None | <Refer MDD guidelines[1]> | <Refer MDD guidelines[1]> | <Refer MDD guidelines[1]> |
Return Value | N/A |
Description
None
GLObAL Function/Macro Definitions
GLObAL Function #1
Function Name | (Exact name used) | Type | Min | Max |
Arguments Passed | None | <Refer MDD guidelines[1]> | <Refer MDD guidelines[1]> | <Refer MDD guidelines[1]> |
Return Value | N/A |
Description
N/A
TRANSIENT FUNCTIONS
None
Known Limitations With Design
None
UNIT TEST CONSIDERATION
None
Appendix
None
4 - requirements
FDD | ID | Source | Function | Line(s) | Status | Comment |
---|---|---|---|---|---|---|
.SwFileName | .SwFuncName | .SwLines | .SwStatus | .SwComment | ||
ES250A | 77 | BattVltg.c | BattVltgPer1 | 207 | I | |
ES250A | 59 | BattVltg.c | BattVltgPer1 | 137 | I | |
ES250A | 48 | BattVltg.c | BattVltgPer1 | 134 | I | |
ES250A | 49 | BattVltg.c | BattVltgPer1 | 135 | I | |
ES250A | 51 | BattVltg.c | BattVltgPer1 | 209 | I | |
ES250A | 60 | BattVltg.c | BattVltgPer1 | 136 | I | |
ES250A | 74 | BattVltg.c | BattVltgPer1 | 177,185,190-192 | I | |
ES250A | 73 | BattVltg.c | BattVltgPer1 | 160,168-173 | I | |
ES250A | 72 | BattVltg.c | BattVltgPer1 | 143,151-156 | I | |
ES250A | 71 | BattVltg.c | BattVltgPer1 | 143,145-150,160,162-167,177,179-184 | I | |
ES250A | 70 | BattVltg.c | BattVltgPer1 | 194-198 | I | |
ES250A | 69 | BattVltg.c | BattVltgPer1 | 200-204 | I |