This is the multi-page printable view of this section. Click here to print.
Component Implementation
1 - PolarityCfg_Integration Manual
Integration Manual
For
‘PolarityCfg’
VERSION: 1.0
DATE: 26-May-2015
Prepared By:
Sankardu Varadapureddi,
Nexteer Automotive,
Saginaw, MI, USA
Revision History
Sl. No. | Description | Author | Version | Date |
1 | Initial version | Sankardu Varadapureddi | 1.0 | 26-May-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 |
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 – ES102A_PolarityCfg_Design | See Synergy sub project version |
2 | Software Naming Conventions | Process 3.06.00 |
3 | Software Design and Coding Standards | Process 3.06.00 |
Dependencies
SWCs
Module | Required Feature |
---|---|
None |
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 |
Integration DATAFLOW REQUIREMENTS
Required Global Data Inputs
Refer DataDict.m file in the FDD
Required Global Data Outputs
Refer DataDict.m file file in the FDD
Specific Include Path present
No
Runnable Scheduling
This section specifies the required runnable scheduling.
Init | Scheduling Requirements | Trigger |
---|---|---|
PolarityCfgInit1 | None | Init |
Runnable | Scheduling Requirements | Trigger |
---|---|---|
PolarityCfgRead_Oper PolarityCfgWr_Oper | On event 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 |
---|---|---|
<Memmap usuage info> |
Table 1: ARM Cortex R4 Memory Usage
Non RTE NvM Blocks
Block Name |
---|
None |
RTE NvM Blocks
Block Name |
---|
PolarityCfgSaved |
Compiler Settings
Preprocessor MACRO
None.
Optimization Settings
None
Appendix
None
2 - PolarityCfg_MDD
Module Design Document
For
‘PolarityCfg’
VERSION: 1.0
DATE: 26-May-2015
Prepared By:
Sankardu Varadapureddi,
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 | Sankardu Varadapureddi | 1.0 | 26-May-2015 |
Table of Contents
3 Power Disconnect High-Level Description 7
4 Design details of software module 8
4.1 Graphical representation of POWER DISCONNECT 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 12
7.1.1 Initialization Functions 12
7.1.1.1 INIT: PolarityCfgInit 12
7.1.4.1.2 Store Module Inputs to Local copies 13
7.1.4.1.3 (Processing of function)……… 13
7.1.4.1.4 Store Local copy of outputs into Module Outputs 13
7.1.4.2.2 Store Module Inputs to Local copies 13
7.1.4.2.3 (Processing of function)……… 13
7.1.4.2.4 Store Local copy of outputs into Module Outputs 13
7.1.5 Local Function/Macro Definitions 13
7.1.6 GLObAL Function/Macro Definitions 13
7.1.7 Tranisition FUNCTIONS 14
8 Known Limitations With Design 15
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 | Process 3.06.00 |
2 | Software Naming Conventions | Process 3.06.00 |
3 | Software Design and Coding standards | Process 3.06.00 |
4 | FDD – ES102A_PolarityCfg_Design | See Synergy sub project version |
Power Disconnect High-Level Description
This function will identify polarity control settings for certain points in the design.
Design details of software module
Graphical representation of POWER DISCONNECT
Data Flow Diagram
Refer FDD
Module level DFD
Refer FDD
Sub-Module level DFD
Refer FDD
COMPONENT FLOW DIAGRAM
Refer FDD
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) |
---|---|---|---|---|
None | ||||
Variable definition for enumerated types
Enum Name | Element Name | Value |
---|---|---|
None |
Constant Data Dictionary
Program(fixed) Constants
Embedded Constants
Local
Constant Name | Resolution | Units | Value |
---|---|---|---|
HWAG0POL_CNT_U32 | Bitfield Mask | NA | 0x00000001U |
HWAG1POL_CNT_U32 | Bitfield Mask | NA | 0x00000002U |
HWAG2POL_CNT_U32 | Bitfield Mask | NA | 0x00000004U |
HWAG3POL_CNT_U32 | Bitfield Mask | NA | 0x00000008U |
HWAG4POL_CNT_U32 | Bitfield Mask | NA | 0x00000010U |
HWAG5POL_CNT_U32 | Bitfield Mask | NA | 0x00000020U |
HWAG6POL_CNT_U32 | Bitfield Mask | NA | 0x00000040U |
HWAG7POL_CNT_U32 | Bitfield Mask | NA | 0x00000080U |
HWTQ0POL_CNT_U32 | Bitfield Mask | NA | 0x00000100U |
HWTQ1POL_CNT_U32 | Bitfield Mask | NA | 0x00000200U |
HWTQ2POL_CNT_U32 | Bitfield Mask | NA | 0x00000400U |
HWTQ3POL_CNT_U32 | Bitfield Mask | NA | 0x00000800U |
HWTQ4POL_CNT_U32 | Bitfield Mask | NA | 0x00001000U |
HWTQ5POL_CNT_U32 | Bitfield Mask | NA | 0x00002000U |
HWTQ6POL_CNT_U32 | Bitfield Mask | NA | 0x00004000U |
HWTQ7POL_CNT_U32 | Bitfield Mask | NA | 0x00008000U |
MOTAGMECL0POL_CNT_U32 | Bitfield Mask | NA | 0x00010000U |
MOTAGMECL1POL_CNT_U32 | Bitfield Mask | NA | 0x00020000U |
MOTAGMECL2POL_CNT_U32 | Bitfield Mask | NA | 0x00040000U |
MOTAGMECL3POL_CNT_U32 | Bitfield Mask | NA | 0x00080000U |
MOTAGMECL4POL_CNT_U32 | Bitfield Mask | NA | 0x00100000U |
MOTAGMECL5POL_CNT_U32 | Bitfield Mask | NA | 0x00200000U |
MOTAGMECL6POL_CNT_U32 | Bitfield Mask | NA | 0x00400000U |
MOTAGMECL7POL_CNT_U32 | Bitfield Mask | NA | 0x00800000U |
MOTELECMECLPOL_CNT_U32 | Bitfield Mask | NA | 0x01000000U |
ASSIMECHPOL_CNT_U32 | Bitfield Mask | NA | 0x02000000U |
Global
Constant Name |
---|
Module specific Lookup Tables Constants
Constant Name | Resolution | Value | Software Segment |
---|---|---|---|
None |
Software Module Implementation
Sub-Module Functions
Initialization Functions
PolarityCfgInit
INIT: PolarityCfgInit
Design Rationale
Design follows implemenetation in FDD.
Module Outputs
Refer ‘PolarityCfgInit’ block in FDD
Module Internal
None
PERIODIC FUNCTIONS
None
Interrupt Functions
None
Server runnables
PolarityCfgRead
Design Rationale
None
Store Module Inputs to Local copies
None
(Processing of function)………
Refer ‘PolarityCfgRead’ block in FDD
Store Local copy of outputs into Module Outputs
None
PolarityCfgWr
Design Rationale
None
Store Module Inputs to Local copies
None
(Processing of function)………
Refer ‘PolarityCfgWr’ block in FDD
Store Local copy of outputs into Module Outputs
None
Local Function/Macro Definitions
Local Function #1
Function Name | GetPolarity | Type | Min | Max |
Arguments Passed | Polarity_Cnt_T_u32 | uint32 | 0 | 0xFFFFFFFF |
PolarityMask_Cnt_T_u32 | uint32 | 0x00000001 | 0x02000000 | |
Return Value | Polarity_Cnt_T_s08 | sint08 | -1 | 1 |
Description
Design:
if ( (Polarity_Cnt_T_u32 & PolarityMask_Cnt_T_u32) == PolarityMask_Cnt_T_u32 )
set ‘Polarity_Cnt_T_s08’ to ‘1’
else
set ‘Polarity_Cnt_T_s08’ to ‘-1’
Note: ‘PolarityMask_Cnt_T_u32’ is a bit field mask and takes values mentioned in table at sec 6.1.1.1
GLObAL Function/Macro Definitions
None
Tranisition FUNCTIONS
None
Known Limitations With Design
None
UNIT TEST CONSIDERATION
None
Appendix
None
3 - PolarityCfg_Peer Review Checklists
Overview
Summary SheetSynergy Project
Sheet 1: Summary Sheet

Sheet 2: Synergy Project
4 - requirements
FDD | ID | Source | Function | Line(s) | Status | Comment |
---|---|---|---|---|---|---|
.SwFileName | .SwFuncName | .SwLines | .SwStatus | .SwComment | ||
ES102A | 115 | PolarityCfg.c | PolarityCfgInit1 | 195 | I | |
ES102A | 114 | PolarityCfg.c | PolarityCfgInit1 | 194 | I | |
ES102A | 117 | PolarityCfg.c | PolarityCfgInit1 | 197 | I | |
ES102A | 116 | PolarityCfg.c | PolarityCfgInit1 | 196 | I | |
ES102A | 111 | PolarityCfg.c | PolarityCfgInit1 | 191 | I | |
ES102A | 110 | PolarityCfg.c | PolarityCfgInit1 | 180 | I | |
ES102A | 113 | PolarityCfg.c | PolarityCfgInit1 | 193 | I | |
ES102A | 112 | PolarityCfg.c | PolarityCfgInit1 | 192 | I | |
ES102A | 80 | PolarityCfg.c | PolarityCfgInit1 | 170-203 | I | |
ES102A | 119 | PolarityCfg.c | PolarityCfgInit1 | 200 | I | |
ES102A | 118 | PolarityCfg.c | PolarityCfgInit1 | 198 | I | |
ES102A | 104 | PolarityCfg.c | PolarityCfgInit1 | 174 | I | |
ES102A | 105 | PolarityCfg.c | PolarityCfgInit1 | 175 | I | |
ES102A | 120 | PolarityCfg.c | PolarityCfgInit1 | 171-204 | I | |
ES102A | 98 | PolarityCfg.c | PolarityCfgInit1 | 185 | I | |
ES102A | 108 | PolarityCfg.c | PolarityCfgInit1 | 178 | I | |
ES102A | 109 | PolarityCfg.c | PolarityCfgInit1 | 179 | I | |
ES102A | 124 | PolarityCfg.c | PolarityCfgInit1 | 201 | I | |
ES102A | 102 | PolarityCfg.c | PolarityCfgInit1 | 189 | I | |
ES102A | 103 | PolarityCfg.c | PolarityCfgInit1 | 173 | I | |
ES102A | 100 | PolarityCfg.c | PolarityCfgInit1 | 187 | I | |
ES102A | 101 | PolarityCfg.c | PolarityCfgInit1 | 188 | I | |
ES102A | 106 | PolarityCfg.c | PolarityCfgInit1 | 176 | I | |
ES102A | 107 | PolarityCfg.c | PolarityCfgInit1 | 177 | I | |
ES102A | 97 | PolarityCfg.c | PolarityCfgInit1 | 184 | I | |
ES102A | 96 | PolarityCfg.c | PolarityCfgInit1 | 183 | I | |
ES102A | 77 | PolarityCfg.c | PolarityCfgInit1,PolarityCfgRead_Oper,PolarityCfgWr_Oper | 169-202,242-246,292-298 | I | |
ES102A | 121 | PolarityCfg.c | PolarityCfgInit1 | 172-205 | I | |
ES102A | 32 | PolarityCfg.c | PolarityCfgRead_Oper | 241-245 | I | |
ES102A | 51 | PolarityCfg.c | PolarityCfgInit1 | 182 | I | |
ES102A | 122 | PolarityCfg.c | PolarityCfgWr_Oper | 293-299 | I | |
ES102A | 99 | PolarityCfg.c | PolarityCfgInit1 | 186 | I | |
ES102A | 123 | PolarityCfg.c | PolarityCfgWr_Oper | 294-300 | I |