Professional Documents
Culture Documents
AUTOSAR_SWS_COMBasedTransformer
AUTOSAR_SWS_COMBasedTransformer
Disclaimer
This specification and the material contained in it, as released by AUTOSAR, is for the
purpose of information only. AUTOSAR and the companies that have contributed to it
shall not be liable for any use of the specification.
The material contained in this specification is protected by copyright and other types of
Intellectual Property Rights. The commercial exploitation of the material contained in
this specification requires a license to such Intellectual Property Rights.
This specification may be utilized or reproduced without any modification, in any form
or by any means, for informational purposes only.
For any other purpose, no part of the specification may be utilized or reproduced, in
any form or by any means, without permission in writing from the publisher.
The AUTOSAR specifications have been developed for automotive applications only.
They have neither been developed, nor tested for non-automotive applications.
The word AUTOSAR and the AUTOSAR logo are registered trademarks.
Table of Contents
1 Introduction and functional overview 5
3 Related documentation 7
3.1 Input documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.2 Related standards and norms . . . . . . . . . . . . . . . . . . . . . . . 8
3.3 Related specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4 Constraints and assumptions 9
4.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.2 Applicability to car domains . . . . . . . . . . . . . . . . . . . . . . . . 9
5 Dependencies to other modules 10
5.1 File structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
5.1.1 Code file structure . . . . . . . . . . . . . . . . . . . . . . . . 10
5.1.2 Header file structure . . . . . . . . . . . . . . . . . . . . . . . 10
6 Requirements Tracing 12
7 Functional specification 13
7.1 Specification of the COM Based Transformer . . . . . . . . . . . . . . 16
7.2 Development Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
7.3 Production Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
7.4 Extended Production Errors . . . . . . . . . . . . . . . . . . . . . . . . 19
7.5 Error Notification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
8 API specification 20
8.1 Imported types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
8.2 Type definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
8.3 Function definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
8.3.1 ComXf_<transformerId> . . . . . . . . . . . . . . . . . . . . . 20
8.3.2 ComXf_Inv_<transformerId> . . . . . . . . . . . . . . . . . . 22
8.3.3 ComXf_Init . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
8.3.4 ComXf_DeInit . . . . . . . . . . . . . . . . . . . . . . . . . . 23
8.3.5 ComXf_GetVersionInfo . . . . . . . . . . . . . . . . . . . . . 24
8.4 Callback notifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
8.5 Scheduled functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
8.6 Expected interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
9 Sequence diagrams 26
10 Configuration specification 27
3 Related documentation
[1] Glossary
AUTOSAR_TR_Glossary
[2] General Specification on Transformers
AUTOSAR_ASWS_TransformerGeneral
[3] Specification of RTE Software
AUTOSAR_SWS_RTE
[4] Specification of Communication
AUTOSAR_SWS_COM
[5] General Requirements on Basic Software Modules
AUTOSAR_SRS_BSWGeneral
[6] Requirements on AUTOSAR Features
AUTOSAR_RS_Features
[7] System Template
AUTOSAR_TPS_SystemTemplate
[8] General Specification of Basic Software Modules
AUTOSAR_SWS_BSWGeneral
4.1 Limitations
For the COM Based Transformer all general transformer limitations (see [2]) apply.
Additionally the following restrictions apply for the COM Based Transformer:
[SWS_ComXf_00017] d The COM Based Transformer does not support Client-Server
communication. c(SRS_Xfrm_00201)
[SWS_ComXf_00018] d The COM Based Transformer only supports composite data
types (i.e. Signal Groups from COM). c(SRS_Xfrm_00201)
[SWS_ComXf_00019] d The COM Based Transformer only supports fix sized data
types. c(SRS_Xfrm_00201)
[SWS_ComXf_00022] d The COM Based Transformer only supports signal groups
which are byte aligned. c(SRS_Xfrm_00201)
[SWS_ComXf_00023] d The COM Based Transformer only supports signal groups
where all group signals are mapped consecutively to the IPdu. c(SRS_Xfrm_00201)
The header file structure of the COM Based Transformer is shown in Figure 5.1.
Std_Types.h
«includes»
«includes» «includes»
ComXf[_<Ie>].h
[SWS_Rte_07594],
<vi> is the vendorId of the BSW module and
<ai> is the vendorApiInfix of the BSW module. c(SRS_BSW_00346)
The file TransformerTypes.h contains the general transformer data types.
6 Requirements Tracing
The following table references the features specified in [5] and [6] and links to the
fulfillments of these.
Feature Description Satisfied by
[SRS_BSW_00159] All modules of the [SWS_ComXf_00025]
AUTOSAR Basic Software
shall support a tool based
configuration
[SRS_BSW_00337] Classification of [SWS_ComXf_00028]
development errors
[SRS_BSW_00346] All AUTOSAR Basic [SWS_ComXf_00001]
Software Modules shall
provide at least a basic set
of module files
[SRS_BSW_00404] BSW Modules shall support [SWS_ComXf_00030]
post-build configuration
[SRS_BSW_00407] Each BSW module shall [SWS_ComXf_00024] [SWS_ComXf_00026]
provide a function to read [SWS_ComXf_00027]
out the version information
of a dedicated module
implementation
[SRS_BSW_00411] All AUTOSAR Basic [SWS_ComXf_00024] [SWS_ComXf_00026]
Software Modules shall [SWS_ComXf_00027]
apply a naming rule for
enabling/disabling the
existence of the API
[SRS_BSW_00441] Naming convention for type, [SWS_ComXf_00030]
macro and function
[SRS_Xfrm_00009] A fixed set of transformer [SWS_ComXf_00003]
classes shall exist
[SRS_Xfrm_00011] A transformer shall belong [SWS_ComXf_00003] [SWS_ComXf_00006]
to a specific transformer
class
[SRS_Xfrm_00201] The COM Based [SWS_ComXf_00004] [SWS_ComXf_00005]
Transformer shall define the [SWS_ComXf_00007] [SWS_ComXf_00008]
serialization of atomic and [SWS_ComXf_00009] [SWS_ComXf_00010]
structured data elements [SWS_ComXf_00011] [SWS_ComXf_00012]
into linear arrays based on [SWS_ComXf_00013] [SWS_ComXf_00014]
a fixed data mapping [SWS_ComXf_00015] [SWS_ComXf_00016]
[SWS_ComXf_00017] [SWS_ComXf_00018]
[SWS_ComXf_00019] [SWS_ComXf_00020]
[SWS_ComXf_00021] [SWS_ComXf_00022]
[SWS_ComXf_00023]
[SRS_Xfrm_00202] The COM Based [SWS_ComXf_00005] [SWS_ComXf_00014]
Transformer shall take its [SWS_ComXf_00020] [SWS_ComXf_00025]
configuration from the COM [SWS_ComXf_00031]
module
7 Functional specification
When a SWC initiates an inter-ECU communication which is configured to be trans-
formed, the SWC hands the data over to the RTE. The RTE executes the configured
transformer chain which contains - if the configuration demands this - the COM Based
Transformer.
Application SWC
1. Rte_Write_a {x,y,z}
3. Further Transformers
add information
4. one large
crc x y z hash byte array
RTE
5. One call to Com_SendSignalGroupArray()
Header length
D D D D Array representation
COM Data Offset handled by
1 2 3 4
COM Based Transformer
Figure 7.2: IPdu and signal layout
- AUTOSAR Confidential -
The handling of the data inside COM’s IPdu buffer and the transformer buffer is shown
in figure 7.2.
The ISignalIPdu is handled by the COM module as ComIPdu and may contain
several parts (signals and signal groups). A signal group in COM is represented by the
ComSignalGroup container.
In the System Template [7] it is possible to define that a signal group shall be handled by
the COM Based Transformer. The usage of the COM Based Transformer for a specific
transformer chain is defined by the reference comBasedSignalGroupTransforma-
tion from the ISignalGroup to DataTransformation (see figure 7.3).
FibexElement Identifiable
+dataTransformation
ISignal DataTransformation
1..* «atpVariation,atpSplitable»
+ dataTypePolicy :DataTypePolicyEnum 0..1
+ length :Integer
«atpVariation» FibexElement
SwDataDefProps ISignalGroup
+systemSignalGroup 1
ARElement +systemSignal ARElement
+systemSignal SystemSignal SystemSignalGroup
*
1 + dynamicLength :Boolean
+transformingSystemSignal
0..1
In the Ecu configuration of the COM module such ComSignalGroups have a Com-
SignalGroupArrayAccess=true parameter defined.
If the ComSignalGroupArrayAccess=true then it implicitly defines the length of
the signal group ([SWS_Com_00845] [4]) and the start position inside the ComIPdu
where the signal group starts ([SWS_Com_00844] [4]). Thus there can be several
signals and signal groups defined inside an ISignalIPdu (e.g. ’Signal A’ and ’Signal
B’ are part of the IPdu but are not considered by the COM Based Transformer for the
’Signal Group X’).
The Com APIs Com_SendSignalGroupArray and
Com_ReceiveSignalGroupArray handle the signal group as array represen-
tation based on length of the signal group and the start position inside the ComIPdu.
This array representation contains all signals that belong to the signal group,
regardless whether the application software has a data mapping defined or not.
As an example in figure 7.2 the ’Signal Group X’ consists of the signals ’CRC’, ’SC’,
’D1’, ’D2’, ’D3’, and ’D4’. Thus the RTE will interact with COM based on the whole
array representation of this signal group with length of the signal group.
When the RTE interacts with the COM Based Transformer also all the other poten-
tial transformers need to be considered in order to determine which part of the array
representation of the signal group actually is provided to each transformer since each
transformer may add data during sending (or remove data during reception).
E.g. the part of the array representation which holds the ’CRC’ and ’SC’ signals are
handled by the E2E transformer but will not be considered by the COM Based Trans-
former. The RTE will provide the data buffer from the ’Start of data with DataMapping
defined’ location to the COM Based Transformer.
The COM Configuration implicitly defines the length of the signal group
([SWS_Com_00845] [4]) and the start position inside the ComIPdu where the signal
group starts ([SWS_Com_00844] [4]). In order to place the transformed data element
into the data buffer provided by the RTE the COM Based Transformer needs to respect
the offset introduced by the position of the ComGroupSignal inside the ComIPdu (de-
fined by the start position inside the ComIPdu) and the additional offset introduced
by header data which is handled by other transformers called after the COM Based
Transformer.
[SWS_ComXf_00014] d The COM Based Transformer shall calculate the ’COM Data
Offset’ by collecting all other transformer’s headerLength information and add the
start position inside the ComIPdu. c(SRS_Xfrm_00201, SRS_Xfrm_00202)
[SWS_ComXf_00020] d The COM Based Transformer shall place the serialized data
element into the data buffer at the position:
ComBitPosition - (8 * ’COM Data Offset’)
where ComBitPosition is taken from the ComGroupSignal definition in COM
and ’COM Data Offset’ is defined by [SWS_ComXf_00014]. c(SRS_Xfrm_00201,
SRS_Xfrm_00202)
[SWS_ComXf_00013] d To allow migration, the deserialization shall be able to accept
larger array representations and ignore dataElements appended at the end of a previ-
ously known parameter list. c(SRS_Xfrm_00201)
This means: data elements that were not defined in the interface specification used to
generate or parameterize the deserialization code at the end of the serialized data will
be ignored by the deserialization.
Class TransformationTechnology
Package M2::AUTOSARTemplates::SystemTemplate::Transformer
Note A TransformationTechnology is a transformer inside a transformer chain.
Tags: xml.namePlural=TRANSFORMATION-TECHNOLOGIES
Base ARObject,Identifiable,MultilanguageReferrable,Referrable
Attribute Datatype Mul. Kind Note
bufferProp BufferProperties 1 aggr Aggregation of the mandatory BufferProperties.
erties
needsOrigi Boolean 0..1 attr Specifies whether this transformer gets access to
nalData the SWC’s original data.
protocol String 1 attr Specifies the protocol that is implemented by this
transformer.
transforma Transformation 0..1 aggr A transformer can be configured with transformer
tionDescrip Description specific parameters which are represented by the
tion TransformerDescription.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=PostBuild
transforme TransformerCla 1 attr Specifies to which transformer class this
rClass ssEnum transformer belongs.
version String 1 attr Version of the implemented protocol.
Class BufferProperties
Package M2::AUTOSARTemplates::SystemTemplate::Transformer
Note Configuration of the buffer properties the transformer needs to work.
Base ARObject
Attribute Datatype Mul. Kind Note
bufferCom CompuScale 0..1 aggr If the transformer changes the size of the data, the
putation CompuScale can be used to specify a rule to
derive the size of the output data based on the
size of the input data.
headerLen Integer 1 attr Defines the length of the header (in bits) this
gth transformer will add in front of the data.
inPlace Boolean 1 attr If set, the transformer uses the input buffer as
output buffer.
c(SRS_BSW_00337)
8 API specification
Name ComXf_ConfigType
Type Structure
Element: void implementation specific –
Description This is the type of the data structure containing the initialization data for
the transformer.
c(SRS_BSW_00404, SRS_BSW_00441)
8.3.1 ComXf_<transformerId>
[SWS_ComXf_00007] d
where
• type is data type of the data element
• transformerId is the name pattern for the transformer specified in
[SWS_Xfrm_00062] ([2]).
c(SRS_Xfrm_00201)
The function specified in [SWS_ComXf_00007] exists for each transformed Sender/Re-
ceiver communication which uses the COM Based Transformer.
[SWS_ComXf_00008] d The function specified in [SWS_ComXf_00007] shall exist for
the first reference in the list of ordered references transformer from a DataTrans-
formation to a TransformationTechnology if the DataTransformation is
referenced by an ISignalGroup in the role comBasedSignalGroupTransforma-
tion where the ISignalGroup references a SystemSignalGroup which is refer-
enced by SenderReceiverToSignalGroupMapping. c(SRS_Xfrm_00201)
[SWS_ComXf_00009] d The function specified in [SWS_ComXf_00007] shall serial-
ize complex data elements of Sender/Receiver communication into a linear byte array
representation using the COM Based Transformation. c(SRS_Xfrm_00201)
8.3.2 ComXf_Inv_<transformerId>
[SWS_ComXf_00010] d
where
• type is data type of the data element
• transformerId is the name pattern for the transformer specified in
[SWS_Xfrm_00062] ([2]).
c(SRS_Xfrm_00201)
The function specified in [SWS_ComXf_00010] exists for each transformed Sender/Re-
ceiver communication which uses the COM Based Transformation.
[SWS_ComXf_00011] d The function specified in [SWS_ComXf_00010] shall exist for
the first reference in the list of ordered references transformer from a DataTrans-
formation to a TransformationTechnology if the DataTransformation is
referenced by an ISignalGroup in the role comBasedSignalGroupTransforma-
tion where the ISignalGroup references a SystemSignalGroup which is refer-
enced by SenderReceiverToSignalGroupMapping. c(SRS_Xfrm_00201)
8.3.3 ComXf_Init
[SWS_ComXf_00026] d
c(SRS_BSW_00407, SRS_BSW_00411)
8.3.4 ComXf_DeInit
[SWS_ComXf_00027] d
Parameters None
(out):
Return value: None
Description: This service deinitializes the transformer.
c(SRS_BSW_00407, SRS_BSW_00411)
8.3.5 ComXf_GetVersionInfo
[SWS_ComXf_00024] d
c(SRS_BSW_00407, SRS_BSW_00411)
9 Sequence diagrams
There are no sequence diagrams applicable to COM Based Transformer.
10 Configuration specification
[SWS_ComXf_00031] d The COM Based Transformer is configured based on the
COM module configuration [4]. c(SRS_Xfrm_00202)
Still, there is an EcuC necessary to map the implementation of the transformer. The
EcuC defined in [2] shall be used.
[SWS_ComXf_00025] d The apiServicePrefix of the COM Based Transformer’s
EcuC shall be set to ComXf. c(SRS_BSW_00159, SRS_Xfrm_00202)
Class DataTransformation
Package M2::AUTOSARTemplates::SystemTemplate::Transformer
Note A DataTransformation represents a transformer chain. It is an ordered list of
transformers.
Base ARObject,Identifiable,MultilanguageReferrable,Referrable
Attribute Datatype Mul. Kind Note
executeDe Boolean 1 attr Specifies whether the transformer is executed
spiteDataU even if no input data are available.
navailabilit
y
transform Transformation 1..* ref
erChain Technology
(ordered)
Class EcucModuleDef
Package M2::AUTOSARTemplates::ECUCParameterDefTemplate
Note Used as the top-level element for configuration definition for Software Modules,
including BSW and RTE as well as ECU Infrastructure.
Tags: atp.recommendedPackage=EcucModuleDefs
Base ARElement,ARObject,AtpBlueprint,AtpBlueprintable,AtpDefinition,Collectable
Element,EcucDefinitionElement,Identifiable,MultilanguageReferrable,Packageable
Element,Referrable
Attribute Datatype Mul. Kind Note
apiService CIdentifier 0..1 ref For CDD modules this attribute holds the
Prefix apiServicePrefix.
Tags: xml.sequenceOffset=11
postBuildV Boolean 0..1 attr Indicates if a module supports different post-build
ariantSupp variants (previously known as post-build
ort selectable configuration sets). TRUE means yes,
FALSE means no.
Stereotypes: atpUriDef
supported EcucConfigurati * attr Specifies which ConfigurationVariants are
ConfigVari onVariantEnum supported by this software module. This attribute
ant is optional if the EcucModuleDef has the category
STANDARDIZED_MODULE_DEFINITION. If the
category attribute of the EcucModuleDef is set to
VENDOR_SPECIFIC_MODULE_DEFINITION
then this attribute is mandatory.
Class ISignalGroup
Package M2::AUTOSARTemplates::SystemTemplate::Fibex::FibexCore::CoreCommunication
Note SignalGroup of the Interaction Layer. The RTE supports a "signal fan-out" where the
same System Signal Group is sent in different SignalIPdus to multiple receivers.
Tags: atp.recommendedPackage=ISignalGroup
Base ARObject,CollectableElement,FibexElement,Identifiable,Multilanguage
Referrable,PackageableElement,Referrable
Attribute Datatype Mul. Kind Note
comBased DataTransforma 0..1 ref Optional reference to a DataTransformation which
SignalGrou tion represents the transformer chain that is used to
pTransfor transform the data that shall be placed inside this
mation ISignalGroup based on the
COMBasedTransformer approach.
Class ISignalIPdu
Package M2::AUTOSARTemplates::SystemTemplate::Fibex::FibexCore::CoreCommunication
Note Represents the IPdus handled by Com. The ISignalIPdu assembled and
disassembled in AUTOSAR COM consists of one or more signals. In case no
multiplexing is performed this IPdu is routed to/from the Interface Layer.
Tags: atp.recommendedPackage=Pdus
Base ARObject,CollectableElement,FibexElement,IPdu,Identifiable,Multilanguage
Referrable,PackageableElement,Pdu,Referrable
Attribute Datatype Mul. Kind Note
iPduTiming IPduTiming 0..1 aggr Timing specification for Com IPdus (Transmission
Specificati Modes). This information is mandatory for the
on sender in a System Extract. This information may
be omitted on receivers in a System Extract.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=postBuild
iSignalToP ISignalToIPduM * aggr Definition of SignalToIPduMappings included in
duMapping apping the SignalIPdu.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=postBuild
pduCounte SignalIPduCoun 0..1 aggr An included Pdu counter is used to ensure that a
r ter sequence of Pdus is maintained.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=preCompileTime
Stereotypes: atpVariation
Tags: vh.latestBindingTime=preCompileTime
unusedBit Integer 1 attr AUTOSAR COM and AUTOSAR IPDUM are filling
Pattern not used areas of an IPDU with this bit-pattern.
This attribute is mandatory to avoid undefined
behavior. This byte-pattern will be repeated
throughout the IPdu.
Class ISignalToIPduMapping
Package M2::AUTOSARTemplates::SystemTemplate::Fibex::FibexCore::CoreCommunication
Note An ISignalToIPduMapping describes the mapping of ISignals to ISignalIPdus and
defines the position of the ISignal within an ISignalIPdu.
Base ARObject,Identifiable,MultilanguageReferrable,Referrable
Attribute Datatype Mul. Kind Note
iSignal ISignal 0..1 ref Reference to a ISignal that is mapped into the
ISignalIPdu.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=codeGenerationTime
codeDescri Code 1..* aggr Specifies the provided implementation code.
ptor
compiler Compiler * aggr Specifies the compiler for which this
implementation has been released
generated DependencyOn * aggr Relates to an artifact that will be generated during
Artifact Artifact the integration of this Implementation by an
associated generator tool. Note that this is an
optional information since it might not always be in
the scope of a single module or component to
provide this information.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=preCompileTime
hwElement HwElement * ref The hardware elements (e.g. the processor)
required for this implementation.
linker Linker * aggr Specifies the linker for which this implementation
has been released.
mcSupport McSupportData 0..1 aggr The measurement & calibration support data
belonging to this implementation. The aggregtion
is «atpSplitable» because in case of an already
exisiting BSW Implementation model, this
description will be added later in the process,
namely at code generation time.
Stereotypes: atpSplitable
Tags: atp.Splitkey=mcSupport
programmi Programmingla 1 attr Programming language the implementation was
ngLanguag nguageEnum created in.
e
requiredArt DependencyOn * aggr Specifies that this Implementation depends on the
ifact Artifact existance of another artifact (e.g. a library). This
aggregation of DependencyOnArtifact is subject to
variability with the purpose to support variability in
the implementations. Different algorithms in the
implementation might cause different
dependencies, e.g. the number of used libraries.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=preCompileTime
Stereotypes: atpVariation
Tags: vh.latestBindingTime=preCompileTime
resourceC ResourceConsu 1 aggr All static and dynamic resources for each
onsumptio mption implementation are described within the
n ResourceConsumption class.
swVersion RevisionLabelSt 1 attr Software version of this implementation. The
ring numbering contains three levels (like major, minor,
patch), its values are vendor specific.
swcBswMa SwcBswMappin 0..1 ref This allows a mapping between an SWC and a
pping g BSW behavior to be attached to an
implementation description (for AUTOSAR
Service, ECU Abstraction and Complex Driver
Components). It is up to the methodology to
define whether this reference has to be set for the
Swc- or BswImplementtion or for both.
usedCode String 0..1 attr Optional: code generator used.
Generator
vendorId PositiveInteger 1 attr Vendor ID of this Implementation according to the
AUTOSAR vendor list
Class ImplementationDataType
Package M2::AUTOSARTemplates::CommonStructure::ImplementationDataTypes
Note Describes a reusable data type on the implementation level. This will typically
correspond to a typedef in C-code.
Tags: atp.recommendedPackage=ImplementationDataTypes
Base ARElement,ARObject,AtpBlueprint,AtpBlueprintable,AtpClassifier,AtpType,Autosar
DataType,CollectableElement,Identifiable,MultilanguageReferrable,Packageable
Element,Referrable
Attribute Datatype Mul. Kind Note
dynamicAr String 0..1 attr Specifies the profile which the array will follow in
raySizePro case this data type is a variable size array.
file
subElemen Implementation * aggr Specifies an element of an arrray, struct, or union
t (ordered) DataTypeEleme data type.
nt
The aggregation of
ImplementionDataTypeElement is subject to
variability with the purpose to support the
conditional existence of elements inside a
ImplementationDataType representing a structure.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=preCompileTime
Stereotypes: atpSplitable
Tags: atp.Splitkey=shortName
typeEmitte NameToken 0..1 attr This attribute is used to control which part of the
r AUTOSAR toolchain is supposed to trigger data
type definitions.
Class SenderReceiverInterface
Package M2::AUTOSARTemplates::SWComponentTemplate::PortInterface
Note A sender/receiver interface declares a number of data elements to be sent and
received.
Tags: atp.recommendedPackage=PortInterfaces
Base ARElement,ARObject,AtpBlueprint,AtpBlueprintable,AtpClassifier,Atp
Type,CollectableElement,DataInterface,Identifiable,Multilanguage
Referrable,PackageableElement,PortInterface,Referrable
Attribute Datatype Mul. Kind Note
dataEleme VariableDataPr 1..* aggr The data elements of this
nt ototype SenderReceiverInterface.
invalidation InvalidationPolic * aggr InvalidationPolicy for a particular dataElement
Policy y
Class SenderReceiverToSignalGroupMapping
Package M2::AUTOSARTemplates::SystemTemplate::DataMapping
Note Mapping of a sender receiver communication data element with a composite datatype
to a signal group.
Base ARObject,DataMapping
Attribute Datatype Mul. Kind Note
dataEleme VariableDataPr 1 iref Reference to a data element with a composite
nt ototype datatype which is mapped to a signal group.
signalGrou SystemSignalGr 1 ref Reference to the signal group, which contain all
p oup primitive datatypes of the composite type
typeMappi SenderRecCom 1 aggr The CompositeTypeMapping maps the the
ng positeTypeMap ApplicationArrayElements and
ping ApplicationRecordElements to Signals of the
SignalGroup.
Class SystemSignalGroup
Package M2::AUTOSARTemplates::SystemTemplate::Fibex::FibexCore::CoreCommunication
Note A signal group refers to a set of signals that must always be kept together. A signal
group is used to guarantee the atomic transfer of AUTOSAR composite data types.
The SystemSignalGroup defines a signal grouping on VFB level. On cluster level the
Signal grouping is described by the ISignalGroup element.
Tags: atp.recommendedPackage=SystemSignalGroups
Base ARElement,ARObject,CollectableElement,Identifiable,Multilanguage
Referrable,PackageableElement,Referrable
Attribute Datatype Mul. Kind Note
systemSig SystemSignal * ref Reference to a set of SystemSignals that must
nal always be kept together.
lowerMultiplicity = 0 lowerMultiplicity = 0
upperMultiplicity = *
upperMultiplicity = 1
ComHandleId :
EcucIntegerParamDef
min = 0
+parameter max = 65535
lowerMultiplicity = 0
upperMultiplicity = 1
symbolicNameValue = true
ComGroupSignal : ComBitPosition :
EcucParamConfContainerDef +parameter EcucIntegerParamDef
lowerMultiplicity = 0 min = 0
upperMultiplicity = * max = 4294967295 ComSignalLength :
EcucIntegerParamDef
+subContainer +parameter
max = 4294967295
min = 0
ComBitSize : lowerMultiplicity = 0
EcucIntegerParamDef upperMultiplicity = 1
+parameter
max = 64
min = 0
lowerMultiplicity = 0
upperMultiplicity = 1
ComSignalGroup
Regular Expression
Post-Build Variant false
Multiplicity
Post-Build Variant false
Value
Multiplicity Pre-compile time X VARIANT-PRE-COMPILE
Configuration Class
Link time X VARIANT-LINK-TIME,
VARIANT-POST-BUILD
Post-build time –
Value Configuration Pre-compile time X VARIANT-PRE-COMPILE
Class
Link time X VARIANT-LINK-TIME,
VARIANT-POST-BUILD
Post-build time –
Scope / Dependency scope: local
Range: 0..63 for CAN and LIN, 0..511 for CAN FD, 0..2031 for FlexRay,
4294967295 for TP.
Multiplicity 0..1
Type EcucIntegerParamDef
Range 0 .. 4294967295
Default Value
Post-Build Variant true
Multiplicity
Post-Build Variant true
Value
Multiplicity Pre-compile time X VARIANT-PRE-COMPILE
Configuration Class
Link time X VARIANT-LINK-TIME
Post-build time X VARIANT-POST-BUILD
Value Configuration Pre-compile time X VARIANT-PRE-COMPILE
Class
Link time X VARIANT-LINK-TIME
Post-build time X VARIANT-POST-BUILD
Scope / Dependency scope: local
Included Containers
Container Name Multiplicity Scope / Depedency
ComGroupSignal 0..* This container contains the configuration parameters of
group signals. I.e. signals that are included within a
signal group.
ComGroupSignal
Range: 0..8 for normal CAN/ LIN I-PDUs, 0..64 for CAN FD I-PDUs,
0..254 for normal FlexRay I-PDUs (all of ComIPduType NORMAL),
0..4294967295 for I-PDUs with ComIPduType TP.
Multiplicity 0..1
Type EcucIntegerParamDef
Range 0 .. 4294967295
Default Value
Post-Build Variant false
Multiplicity
Post-Build Variant false
Value
Multiplicity Pre-compile time X VARIANT-PRE-COMPILE
Configuration Class
Link time X VARIANT-LINK-TIME,
VARIANT-POST-BUILD
Post-build time –
Value Configuration Pre-compile time X VARIANT-PRE-COMPILE
Class
Link time X VARIANT-LINK-TIME,
VARIANT-POST-BUILD
Post-build time –
Scope / Dependency scope: local
Included Containers
Container Name Multiplicity Scope / Depedency
ComFilter 0..1 This container contains the configuration parameters of
the AUTOSAR COM module’s Filters.
ComIPdu
Included Containers
Container Name Multiplicity Scope / Depedency
ComIPduCounter 0..1 This optional container contains the configuration
parameters of PDU Counter.
ComIPduReplication 0..1 This optional container contains the information needed
for each I-PDU replicated.
ComTxIPdu 0..1 This container contains additional transmission related
configuration parameters of the AUTOSAR COM
module’s I-PDUs.