ImcArbn_IntegrationManual

Integration Manual

For

Imc Arbitration

VERSION: 1.0

DATE: 02-Feb-2017

Prepared By:

Software Group,

Nexteer Automotive,

Saginaw, MI, USA

Revision History

Sl. No.DescriptionAuthorVersionDate
1Initial versionAkilan Rathakrishnan1.017-Jan-2017
2Added note about potential compilation issue in case of no signal group configuredAkilan Rathakrishnan2.002-Feb-2017

Table of Contents

1 Abbrevations And Acronyms 4

2 References 5

3 Dependencies 6

3.1 SWCs 6

3.2 Global Functions(Non RTE) to be provided to Integration Project 6

4 Configuration REQUIREMeNTS 7

4.1 Build Time Config 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 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

6 Runnable Scheduling 10

7 Memory Map REQUIREMENTS 12

7.1 Mapping 12

7.2 Usage 12

7.3 Non RTE NvM Blocks 12

7.4 RTE NvM Blocks 12

8 Compiler Settings 13

8.1 Preprocessor MACRO 13

8.2 Optimization Settings 13

9 Appendix 14

Abbrevations And Acronyms

AbbreviationDescription
DFDDesign functional diagram
MDDModule 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.TitleVersion
<1><FDD - <AR350A_ImcArbn_Design>Refer Synergy subproject version

Dependencies

SWCs

ModuleRequired Feature
NoneN/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

None

Configuration REQUIREMeNTS

Build Time Config

ModulesNotes
None

Configuration Files to be provided by Integration Project

ImcArbn_Private_Cfg.c

ImcArbn_Private_Cfg.h

ImcArbn_ Cfg.h

Note 1: Include “ImcArbn_Private_Cfg.h” in the “Rte_UserTypes.h” file as user defined typedefs are generated in this file.

Note 2: Configuration files “ImcArbn_Private_Cfg.c”, “ImcArbn_Private_Cfg.h” and “ImcArbn_ Cfg.h”

shall be regenerated whenever there is a change in text template files ImcArbn_Private_Cfg.c.tt, ImcArbn_Private_Cfg.h.tt and ImcArbn_Cfg.c.tt.

Note 3: If there is no IMC Signal Group / IMC Signals are configured, configuration scripts of this component will end-up in generating zero-size array typedefs, which will cause compilation issues. It is a design limitation and underlying assumption is that if no Signal Group configured, then the component shall be removed from the project altogether.

Da Vinci DEVELOPER NOTES

Davinci Developer project for this component is just base. Integrator need to import the developer project into the integration project and add all required IMC Signals in order to access the signal using S/R Ports. Also, for every of the signal, based on the Rate Group provided by higher level Architectural and Requirement documents, port access shall be provided to corresponding Transmit periodics (ImcArbnPer1= 2ms, ImcArbnPer2= 10ms and ImcArbnPer3= 100ms). All IMC Signals RTE reads shall be direct reads.

Da Vinci Parameter Configuration Changes

Following configurations shall be made in DaVinci configurator for the component. Configuration data for this component shall be provided by higher level Architectural and Requirement documents.

DaVinci Interrupt Configuration Changes

ISR NameVIM #Priority DependencyNotes
N/A

Manual Configuration Changes

ConstantNotesSWC
N/A

Exclusive Areas

ConstantNotesSWC
ExclsvAr1DrvrTxRxBuf

Exclusive area needs to protect access to Transmit and Receive buffers from asynchronous updates by server runnables and periodic updates by tasks.

Integrator needs to verify if client calls to server runnables can inteerupt periodics and set up exclusive area to properly protect access. If exclusive area is needed, at minimum it must disable OS Task scheduling (It is assumed that all clients call occurs in OS Tasks).

ExclsvAr2SigDataBuf

Exclusive area needs to protect access to Signal data buffers from asynchronous read by server runnables and periodic updates by tasks.

Integrator needs to verify if client calls to server runnables can inteerupt periodics and set up exclusive area to properly protect access. If exclusive area is needed, at minimum it must disable OS Task scheduling (It is assumed that all clients call occurs in OS Tasks).

Integration DATAFLOW REQUIREMENTS

Required Global Data Inputs

Refer AR350A_ImcArbn_DataDict.m file

Required Global Data Outputs

Refer AR350A_ImcArbn_DataDict.m file

Specific Include Path present

Yes

Runnable Scheduling

This section specifies the required runnable scheduling.

InitScheduling RequirementsTrigger
ImcArbnInit1Invoked by RTE during InitRTE
RunnableScheduling RequirementsTrigger
ImcArbnPer1Refer Notes listed below the tableRTE 2ms Task
ImcArbnPer2Refer Notes listed below the tableRTE 10ms Taks
ImcArbnPer3Refer Notes listed below the tableRTE 100ms Task
ImcArbnPer4Refer Notes listed below the tableRTE 2ms Task
ImcArbnPer5Refer Notes listed below the tableRTE 10ms Task
ImcArbnPer6Refer Notes listed below the tableRTE 100ms Task
GetSigImcDataExtdSts_f32_OperServer RunnableClient call
GetSigImcDataExtdSts_u32_OperServer RunnableClient call
GetSigImcDataExtdSts_s32_OperServer RunnableClient call
GetSigImcDataExtdSts_u16_OperServer RunnableClient call
GetSigImcDataExtdSts_s16_OperServer RunnableClient call
GetSigImcDataExtdSts_u08_OperServer RunnableClient call
GetSigImcDataExtdSts_s08_OperServer RunnableClient call
GetSigImcDataExtdSts_logl_OperServer RunnableClient call
GetSigImcData_f32_OperServer RunnableClient call
GetSigImcData_u32_OperServer RunnableClient call
GetSigImcData_s32_OperServer RunnableClient call
GetSigImcData_u16_OperServer RunnableClient call
GetSigImcData_s16_OperServer RunnableClient call
GetSigImcData_u08_OperServer RunnableClient call
GetSigImcData_s08_OperServer RunnableClient call
GetSigImcData_logl_OperServer RunnableClient call
GetTxRateGroup_OperServer RunnableClient call
GetTxSigGroup_OperServer RunnableClient call
SetRxSigGroup_OperServer RunnableClient call

Notes:

  1. ImcArbnPer1, ImcArbnPer2 and ImcArbnPer3 periodic functions shall be called prior to calling respective primary and secondary signal source transmit layer functions.

  2. ImcArbnPer4, ImcArbnPer5 and ImcArbnPer6 periodic functions shall be called after calling respective primary and secondary signal source receive layer functions.

  3. ImcArbn Receive periodic functions (ImcArbnPer4, ImcArbnPer5 and ImcArbnPer6) shall run prior to the ImcArbn Transmit periodics (ImcArbnPer1, ImcArbnPer2 and ImcArbnPer3) functions.

Memory Map REQUIREMENTS

Mapping

Memory SectionContentsNotes
None

* Each …START_SEC… constant is terminated by a …STOP_SEC… constant as specified in the AUTOSAR Memory Mapping requirements.

Usage

FeatureRAMROM
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>

Last modified October 12, 2025: Initial commit (1fadfc4)