This is the multi-page printable view of this section. Click here to print.
Component Implementation
1 - ClkCfgAndMon_IntegrationManual
Integration Manual
For
ClkCfgAndMon
VERSION: 1.0
DATE: 20-NOV-2017
Prepared By:
Shruthi Raghavan,
Nexteer Automotive,
Saginaw, MI, USA
Location: The official version of this document is stored in the Nexteer Configuration Management System.
Revision History
| # | Description | Author | Version | Date | 
| 1 | Initial version | Shruthi Raghavan | 1.0 | 20-Nov-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 | 
References
This section lists the title & version of all the documents that are referred for development of this document
| # | Title | Version | 
| 1 | EA4 Software Naming Conventions | See Process 04.04.02 | 
| 2 | Software Design and Coding standards | See Process 04.04.02 | 
| 3 | Functional Design Document: CM109B_ClkCfgAndMon_Design | See Synergy SubProject Version | 
Dependencies
SWCs
| Module | Required Feature | 
| Os.h | SuspendAllInterrupts,ResumeAllInterrupts,SuspendOSInterrupts,ResumeOSInterrupts | 
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
ClkCfgAndMonInit0 : To be called prior to OS initialization.
See StartupSequence FDD for details.
Configuration REQUIREMeNTS
Build Time Config
| Modules | Notes | |
| None | 
Configuration Files to be provided by Integration Project
None.
Da Vinci Parameter Configuration Changes
Following parameters are part of Renesas/EcucDefs_Mcu/Mcu/McuGeneralConfiguration container
Note: Clm4 is not applicable to P1M-c devices.
| Parameter | Decription | Value | SWC | 
| McuClm0MonitoringClockAccuracy | This parameter specifies the monitoring clock accuracy of CLMA0 in percentage | 6 | Mcu | 
| McuClm0Operation | This parameter enables or disables operation of clock monitor fn for CLMA0. | TRUE | Mcu | 
| McuClm0SamplingClockAccuracy | This parameter specifies the sampling clock accuracy of CLMA0 in percentage. | 10 | Mcu | 
| McuClm1MonitoringClockAccuracy | This parameter specifies the monitoring clock accuracy of CLMA1 in percentage | 6 | Mcu | 
| McuClm1Operation | This parameter enables or disables operation of clock monitor fn for CLMA1. | TRUE | Mcu | 
| McuClm1SamplingClockAccuracy | This parameter specifies the sampling clock accuracy of CLMA1 in percentage. | 6 | Mcu | 
| McuClm2MonitoringClockAccuracy | This parameter specifies the monitoring clock accuracy of CLMA2 in percentage | 10 | Mcu | 
| McuClm2Operation | This parameter enables or disables operation of clock monitor fn for CLMA2. | TRUE | Mcu | 
| McuClm2SamplingClockAccuracy | This parameter specifies the sampling clock accuracy of CLMA2 in percentage. | 6 | Mcu | 
| McuClm3MonitoringClockAccuracy | This parameter specifies the monitoring clock accuracy of CLMA3 in percentage | 6 | Mcu | 
| McuClm3Operation | This parameter enables or disables operation of clock monitor fn for CLMA3. | TRUE | Mcu | 
| McuClm3SamplingClockAccuracy | This parameter specifies the sampling clock accuracy of CLMA3 in percentage. | 6 | Mcu | 
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 FDD.
Required Global Data Outputs
Refer FDD
Specific Include Path present
Yes
Runnable Scheduling
This section specifies the required runnable scheduling.
| Init | Scheduling Requirements | Trigger | 
| ClkCfgAndMonInit0 | Pre-OS | Non-RTE (Init) | 
| ClkCfgAndMonInit1 | None | RTE (Init) | 
| Runnable | Scheduling Requirements | Trigger | 
| - | - | - | 
Memory Map REQUIREMENTS
Mapping
| Memory Section | Contents | Notes | 
| CDD_ClkCfgAndMon_START_SEC_CODE | RTE & Non-RTE code | 
* Each …START_SEC… constant is terminated by a …STOP_SEC… constant as specified in the AUTOSAR Memory Mapping requirements.
Usage
| Feature | RAM | ROM | 
| - | 
Table 1: ARM Cortex R4 Memory Usage
NvM Blocks
None.
Compiler Settings
Preprocessor MACRO
None
Optimization Settings
None
Appendix
None
2 - ClkCfgAndMon_MDD
Module Design Document
For
ClkCfgAndMon
21-Nov-2017
Prepared By:
Shruthi Raghavan,
Nexteer Automotive,
Saginaw, MI, USA
Change History
| Description | Author | Version | Date | 
| Initial Version | Shruthi Raghavan | 1.0 | 21-Nov-2017 | 
Table of Contents
2 ClkCfgAndMon & High-Level Description 5
3 Design details of software module 6
3.1 Graphical representation of <Component Name> 6
4.1 Program (fixed) Constants 7
5 Software Component Implementation 8
5.1.1 Init: ClkCfgAndMonInit0 8
5.4 Module Internal (Local) Functions 8
5.5 GLOBAL Function/Macro Definitions 8
6 Known Limitations with Design 9
Appendix A Abbreviations and Acronyms 11
Introduction
Purpose
Module Design Document for CM109B (ClkCfgAndMon) Implementation. See design for details.
ClkCfgAndMon & High-Level Description
Refer FDD document.
Design details of software module
Graphical representation of <Component Name>
Data Flow Diagram
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 | 
|---|---|---|---|
| - | - | - | - | 
Software Component Implementation
Sub-Module Functions
Init: ClkCfgAndMonInit0
Design Rationale
Non-RTE Init implemented as per FDD document directions.
Init: ClkCfgAndMonInit1
Design Rationale
RTE Init for MemMap – Empty.
Periodic
None
Server Runables
None
Interrupt Functions
None
Module Internal (Local) Functions
| Function Name | - | Type | Min | Max | 
| Arguments Passed | - | - | - | - | 
GLOBAL Function/Macro Definitions
None
Known Limitations with Design
None.
UNIT TEST CONSIDERATION
Register file definitions are in the P1Xc/include folder of AR202A since this component is designed for P1X-c micro.
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
| # | Title | Version | 
|---|---|---|
| 1 | AUTOSAR Specification of Memory Mapping | See Process 04.04.02 | 
| 2 | MDD Guideline | See Process 04.04.02 | 
| 3 | Software Naming Conventions.doc | See Process 04.04.02 | 
| 4 | Software Design and Coding Standards.doc | See Process 04.04.02 | 
| 5 | FDD : CM109B_ClkCfgAndMon_Design | See Synergy Subproject Version | 
3 - ClkCfgAndMon_PeerReviewChecklist
Overview
Summary SheetSynergy Project
Source Code
PolySpace
Version History
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 | N/A | Comments: | ||||||||||||||||||||||
| Project contains the correct version of subprojects | N/A | Comments: | ||||||||||||||||||||||
| Design subproject is correct version | N/A | Comments: | ||||||||||||||||||||||
| .gpj file in tools folder matches .gpj generated by TL109 script | N/A | Comments: | ||||||||||||||||||||||
| File/folder structure is correct per documentation in | N/A | Comments: | ||||||||||||||||||||||
| TL109A_SwcSuprt | ||||||||||||||||||||||||
| General Notes / Comments: | ||||||||||||||||||||||||
| Review Board: | ||||||||||||||||||||||||
| Change Owner: | Shruthi Raghavan | Review Date : | 01/04/18 | |||||||||||||||||||||
| Lead Peer Reviewer: | Avinash James | Approved by Reviewer(s): | Yes | |||||||||||||||||||||
| Other Reviewer(s): | Xin Liu | |||||||||||||||||||||||
| Rationale/justification for items marked "No" approved by: | ||||||||||||||||||||||||
Sheet 3: Source Code
Sheet 4: PolySpace
Sheet 5: Version History
| File Version History | ||||||
| Version | Description | Author(s) | Revision Date | Approved By | Approved Date | Status | 
| Draft/ Released | ||||||
| Template Version History | ||||||
| Version | Description | Author(s) | Revision Date | Approved By | Approved Date | Status | 
| 1.0 | Initial Version | SW Engineering team | 24-May-15 | NA | NA | Released | 
| 1.01 | Changed name to be EA4 specific | SW Engineering team | 25-Jun-15 | NA | NA | Released | 
| 1.02 | Modified Summary Sheet General Guidelines, Clarified wording on first item in Synergy project sheet. | SW Engineering team | 30-Jul-15 | NA | NA | Released | 
| 1.02 | Made corrections and clarifications to Source Code check list. | SW Engineering team | 30-Jul-15 | NA | NA | Released | 
| 1.02 | updated Davinci, MDD, and Polyspace/QAC tabs | SW Engineering team | 30-Jul-15 | NA | NA | Released | 
| 1.03 | Aligned to portal version guidelines | Umesh Sambhari | 21-Nov-17 | NA | NA | Released | 
| 2.00 | Summary sheet template: Changed title to indicate Implementation Peer Review Corrected and/or clarified mouse hover comments, added instructions, renamed some fields. Changed the default setting to "No" on the items reviewed | SW Engineering team | 29-Nov-17 | Lonnie Newton, Steven Horwath, Kevin Smith, Lucas Wendling, Vinod Shankar | NA | Released | 
| Source code template: Removed hyperlink for naming conventions, corrected name of naming conventions document, added version field for naming conventions document. Changed item about requirements tags to reflect that they should be removed Added clarification that all combinations of conditionally compiled code must be checked Item about accurately implementing SWC Design is modified and a new item added, both to clarify where to look when determining needed changes. Added point for version of common naming conventions Reworded multiple items for clarity | SW Engineering team | 29-Nov-17 | ||||
| Synergy project template: added items for file/folder structure added point on .gpj file in tools folder | SW Engineering team | 29-Nov-17 | ||||
| Davinci files template: Clarified the StdDef item Added new item for OBSOLETE Clarified item on datadict.m comparison Removed the references to .m file helper tool Updated to reflect that all component should now use only implementation data types Added points on PIMs and NVMs | SW Engineering team | 29-Nov-17 | ||||
| All template tabs: Added/clarified/removed mouse hover comments. Updated Review Board section Removed the gridlines from all tabs Updated titles to say "Nexteer SWC Implementation Peer Review" Changed all occurences of "FDD" to "SWC Design" | SW Engineering team | 29-Nov-17 | ||||




