This is the multi-page printable view of this section. Click here to print.
Component Implementation
1 - HwTq9Meas_IntegrationManual
Integration Manual
For
HwTq9Meas
VERSION: 1.0
DATE: 12-Jan-2018
Prepared By:
Software Engineering,
Nexteer Automotive,
Saginaw, MI, USA
Revision History
| Description | Author | Version | Date |
| Initial version | Krishna Anne | 1.0 | 12-Jan-2018 |
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 – ES224A_HwTq9Meas_Design | See Synergy sub project version |
| 2 | Software Naming Conventions | 01.01.00 |
| 3 | Software Design and Coding Standards | 2.1 |
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
| Parameter | Notes | SWC |
| 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 |
| HwTq9MeasInit1 | None | RTE (Init) |
| Runnable | Scheduling Requirements | Trigger |
| HwTq9MeasPer1 | None | RTE (2 ms) |
| HwTq9MeasPer2 | None | RTE (100 ms) |
| HwTq9MeasHwTq9AutTrim_Oper | None | Server invocation |
| HwTq9MeasHwTq9ClrTrim_Oper | None | Server invocation |
| HwTq9MeasHwTq9ReadTrim_Oper | None | Server invocation |
| HwTq9MeasHwTq9TrimPrfmdSts_Oper | None | Server invocation |
| HwTq9MeasHwTq9WrTrim_Oper | None | Server invocation |
Memory Map REQUIREMENTS
Mapping
| Memory Section | Contents | Notes |
| HwTq9Meas_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
RTE NvM Blocks
| Block Name |
| HwTq9Offs |
Note : Size of the NVM block if configured in developer
Compiler Settings
Preprocessor MACRO
None.
Optimization Settings
None.
Appendix
None
2 - HwTq9Meas_MDD
Module Design Document
For
HwTq9Meas
12-Jan-2018
Prepared By:
Software Engineering,
Nexteer Automotive,
Saginaw, MI, USA
Change History
| Description | Author | Version | Date |
| Initial Version | Krishna Anne | 1.0 | 12-Jan-2018 |
Table of Contents
2 HwTq9Meas High-Level Description 7
3 Design details of software module 8
3.1 Graphical representation of HwTq9Meas 8
4.1 Program (fixed) Constants 9
5 Software Component Implementation 10
5.2.1 HwTq9MeasHwTq9AutTrim 11
5.2.2 HwTq9MeasHwTq9ClrTrim 11
5.2.3 HwTq9MeasHwTq9ReadTrim 11
5.2.4 HwTq9MeasHwTq9TrimPrfmdSts 11
5.4 Module Internal (Local) Functions 12
6 Known Limitations with Design 13
Appendix A Abbreviations and Acronyms 15
Introduction
Purpose
Refer to FDD.
Scope
HwTq9Meas High-Level Description
Refer to FDD
Design details of software module
Graphical representation of HwTq9Meas

Data Flow Diagram
Component level DFD
Refer to FDD
Function level DFD
Refer to FDD
Constant Data Dictionary
Program (fixed) Constants
Embedded Constants
Local Constants
| Constant Name | Resolution | Units | Value |
|---|---|---|---|
| CRCTBLSIZE_CNT_U08 | 1 | Cnt | 16U |
* Refer to FDD for other constant definitions
Software Component Implementation
Sub-Module Functions
Init: HwTq9MeasInit1
Design Rationale
None
Per: HwTq9MeasPer1
Design Rationale
Clear local buffer in the below path of the model has not been implemented, because it’s not required.
Path : ES224A_HwTq9Meas/HwTq9Meas/HwTq9MeasPer1/Raw Data Processing/Clear Local Buffer
Per: HwTq9MeasPer2
Design Rationale
None
Server Runnables
HwTq9MeasHwTq9AutTrim
Design Rationale
None
HwTq9MeasHwTq9ClrTrim
Design Rationale
None
HwTq9MeasHwTq9ReadTrim
Design Rationale
None
HwTq9MeasHwTq9TrimPrfmdSts
Design Rationale
None
HwTq9MeasHwTq9WrTrim
Design Rationale
None
Interrupt Functions
None
Module Internal (Local) Functions
Local Function #1
| Function Name | StuckNoDataSeln | Type | Min | Max |
| Arguments Passed | NA | N/A | N/A | N/A |
| Return Value | MissMsgEna_Uls_T_u08 | uint8 | 0 | 1 |
Design Rationale
This function is split from Per1 to reduce path count and cyclomatic complexity.
Local Function #2
| Function Name | RngChk | Type | Min | Max |
| Arguments Passed | Temp_Cnt_T_u32 | uint32 | 0 | 4294967295 |
| Return Value | RngChk_Cnt_T_logl | boolean | TRUE | FALSE |
Design Rationale
This function is split from Per1 to reduce path count and cyclomatic complexity.
Local Function #3
| Function Name | CrcChk | Type | Min | Max |
| Arguments Passed | CalcdCrc_Cnt_T_u16 | uint16 | 0 | 15 |
| Arguments Passed | AntcptdCrc_Cnt_T_u16 | uint16 | 0 | 15 |
| Return Value | CRCFaildPrmByte_Cnt_T_u08 | uint8 | 0 | 1 |
Design Rationale
This function is split from Per1 to reduce path count and cyclomatic complexity.
Known Limitations with Design
None.
UNIT TEST CONSIDERATION
Clear local buffer in the below path of the model has not been implemented, because it’s not required. Path : ES224A_HwTq9Meas/HwTq9Meas/HwTq9MeasPer1/Raw Data Processing/Clear Local Buffer
Abbreviations and Acronyms
| Abbreviation or Acronym | Description |
|---|---|
| MDD | Module Design Document |
| DFD | Data Flow Diagram |
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
References
| Ref. # | Title | Version |
|---|---|---|
| 1 | AUTOSAR Specification of Memory Mapping | v1.3.0 R4.0 Rev 2 |
| 2 | MDD Guideline | EA4 01.00.01 |
| 3 | EA4 Software Naming Conventions | 01.01.00 |
| 4 | Software Design and Coding Standards | 2.1 |
| 5 | FDD – ES224A_HwTq9Meas_Design | See Synergy sub project version |
3 - HwTq9Meas_PeerReview
Overview
Summary SheetSynergy Project
Davinci Files
Source Code
MDD
PolySpace
Integration Manual
Sheet 1: Summary Sheet
Sheet 2: Synergy Project
| Rev 2.00 | 29-Nov-17 | |||||||||||||||||||||||
| Peer Review Meeting Log (Component Synergy Project Review) | ||||||||||||||||||||||||
| Quality Check Items: | ||||||||||||||||||||||||
| Rationale is required for all answers of No | ||||||||||||||||||||||||
| New baseline version name from Summary Sheet follows | Yes | Comments: | ||||||||||||||||||||||
| naming convention | ||||||||||||||||||||||||
| Project contains necessary subprojects | Yes | Comments: | ||||||||||||||||||||||
| Project contains the correct version of subprojects | Yes | Comments: | ||||||||||||||||||||||
| Design subproject is correct version | Yes | Comments: | ||||||||||||||||||||||
| .gpj file in tools folder matches .gpj generated by TL109 script | Yes | Comments: | ||||||||||||||||||||||
| File/folder structure is correct per documentation in | Yes | Comments: | ||||||||||||||||||||||
| TL109A_SwcSuprt | ||||||||||||||||||||||||
| General Notes / Comments: | ||||||||||||||||||||||||
| Review Board: | ||||||||||||||||||||||||
| Change Owner: | Krishna Anne | Review Date : | 01/12/18 | |||||||||||||||||||||
| Lead Peer Reviewer: | Matt Leser | Approved by Reviewer(s): | Yes | |||||||||||||||||||||
| Other Reviewer(s): | Pratik Jadhav | |||||||||||||||||||||||
| Rationale/justification for items marked "No" approved by: | ||||||||||||||||||||||||
Sheet 3: Davinci Files
Sheet 4: Source Code
Sheet 5: MDD
| Rev 2.00 | 29-Nov-17 | |||||||||||||||||||||||
| Nexteer SWC Implementation Peer Review Meeting Log (MDD Review) | ||||||||||||||||||||||||
| MDD Name: | HwTq9Meas_MDD | MDD Revision: | 1 | |||||||||||||||||||||
| Source File Name: | HwTq9Meas | Source File Revision: | 1 | |||||||||||||||||||||
| Source File Name: | Source File Revision: | |||||||||||||||||||||||
| Source File Name: | Source File Revision: | |||||||||||||||||||||||
| Quality Check Items: | ||||||||||||||||||||||||
| Rationale is required for all answers of No | ||||||||||||||||||||||||
| Synergy version matches document | Yes | Comments: | ||||||||||||||||||||||
| Change log contains detailed description of changes | Yes | Comments: | ||||||||||||||||||||||
| Changes Highlighted (for Unit Tester) | N/A | Comments: | ||||||||||||||||||||||
| Initial version | ||||||||||||||||||||||||
| Diagrams have been included per MDD Guideline | Yes | Comments: | ||||||||||||||||||||||
| and reviewed | ||||||||||||||||||||||||
| All Design Exceptions and Limitations are listed | Yes | Comments: | ||||||||||||||||||||||
| Design rationale given for all global | Yes | Comments: | ||||||||||||||||||||||
| data not communicated through RTE ports, per | ||||||||||||||||||||||||
| Design and Coding Standards rules [N9] and [N10]. | ||||||||||||||||||||||||
| All implementation details that differ from the SWC | Yes | Comments: | ||||||||||||||||||||||
| Design are noted and explained in Design Rationale | ||||||||||||||||||||||||
| All Unit Test Considerations have been described | Yes | Comments: | ||||||||||||||||||||||
| General Notes / Comments: | ||||||||||||||||||||||||
| Review Board: | ||||||||||||||||||||||||
| Change Owner: | Krishna Anne | Review Date : | 01/12/18 | |||||||||||||||||||||
| Lead Peer Reviewer: | Matt Leser | Approved by Reviewer(s): | Yes | |||||||||||||||||||||
| Other Reviewer(s): | Pratik Jadhav | |||||||||||||||||||||||
| Rationale/justification for items marked "No" approved by: | ||||||||||||||||||||||||
Sheet 6: PolySpace
Sheet 7: Integration Manual
4 - Polyspace_Macros
| Reports can be generated from all Polyspace txt file format results. These are generated by the Polyspace Verifier during a code verification, the export option in the Polyspace verification environment, or from the command line using the "gen-excel-files" command. | |||||||
![]() | |||||||
![]() | |||||||
| Version 5.3.3 | Copyright 1999-2012, The MathWorks, Inc. | ||||||

