Document Title: Acceptance Test Specification of Communication Via Bus
Document Title: Acceptance Test Specification of Communication Via Bus
Document Title: Acceptance Test Specification of Communication Via Bus
bus
AUTOSAR TC Release 1.2.0
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.
Any such exemplary items are contained in the specifications for illustration purposes
only, and they themselves are not part of the AUTOSAR Standard. Neither their
presence in such specifications, nor any later documentation of AUTOSAR
conformance of products actually implementing such exemplary items, imply that
intellectual property rights covering such exemplary items are licensed under the
same rules as applicable to the AUTOSAR Standard
Table of Contents
Abbreviation / Description:
Acronym:
AT Acceptance Test
CAN Controller Area Network
ECU Electronic Control Unit
LT Lower Tester
NM Network Management
PCO Point of Control and Observation
PDU Protocol Data Unit
RfC Request for Change
Rx Reception
SUT System Under Test
SWC Software Component
TCP Test Coordination Procedures
Tx Transmission
UT Upper Tester
LdCom Large Data COM
2 Scope
The following test cases are used to verify the correct behavior of all the
communication features which are independent from the bus (i.e. bus can be CAN,
LIN, FlexRay or Ethernet).
Each test case documents for which releases of the AUTOSAR software
specification it can be used:
When test cases are known to be applicable for a release, this is mentioned in
the “AUTOSAR Releases” field of the test case specifications.
You can find a summary of the applicability of all test cases to the software
specification releases in the “AUTOSAR_TR_ATSReleaseApplicability”
document.
When test cases are known to require adaptations (in their configuration
requirements or test sequences), this is mentioned in the “Needed Adaptation
to other Releases” field of the test case specifications.
The tests use a test bench environment and Embedded Software Components that
use the feature.
This test case document has been established to cover the following features:
This specification gives the description of required tests environments (test bench,
uses case, arxml files) and detailed tests cases for executing tests.
For this use case, the aim is to test the Timeout Handling feature.
The test system architecture consists of Test Bench that executes only test
sequencer and gives actions request through Test coordination Procedures to
embedded SWC.
CAN Bus
- FlexRay Bus:
Test System SUT
SWC
Lower (Upper
TCP (Test Coordination Procedures)
Tester Test)
PCO
Runtime Environment (RTE)
Test Bench Com ComM or BswM
PduR
Basic Software (BSW)
FrIf
Fr
PCO Microcontroller
FlexRay Bus
LIN Bus
Some of the test cases requires specific signal transfer properties and unique IPDU
structure to fulfil the test requirements. These are listed here.
AT_738_IPDU_Structure:
B7
B6
B5 Sn_83
B4 Sg84_2
B3
B2 Sn_84
B1 Sg84_1
B0
D7 D6 D5 D4 D3 D2 D1 D0
14 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
ComSignal(ISignalToPduMapping): AT_100_Ipdu_1->AT_100_Sg1
- ComUpdateBitPosition(updateIndicationBitPosition)
- ComTimeout(ReceiverComSpec.aliveTimeout) = 600ms
ComSignal(ISignalToPduMapping): AT_100_Ipdu_1->AT_100_Sg2
- ComUpdateBitPosition(updateIndicationBitPosition)
- ComTimeout(ReceiverComSpec.aliveTimeout) = 300ms
ComSignal(ISignalToPduMapping): AT_100_Ipdu_2->AT_100_Sg3
- No ComUpdateBitPosition(updateIndicationBitPosition)
- ComTimeout(ReceiverComSpec.aliveTimeout) = 1s
ComSignal(ISignalToPduMapping): AT_100_Ipdu_2->AT_100_Sg4
- No ComUpdateBitPosition(updateIndicationBitPosition)
- ComTimeout(ReceiverComSpec.aliveTimeout) = 4s
Awaiting result for first use case with IPdu 1 (Ignoring IPDU base timeout handling if
all signals are configured with update-bit):
Awaiting result for first use case with IPdu 2 (Smallest configured timeout for signals
without update bits):
Deadline timeout occurs is the same for the Signal 3 and Signal 4 (Smallest
configured timeout). The SUT must notify Deadline timeout to the SWC.
The value of the Signal 3 and Signal 4 must be the same as the last valid
received value.
Needed None
Adaptation to
other Releases
Pre-conditions The SUT is started.
The frames containing Rx AT_100_Ipdu_1, AT_100_Ipdu_2 are sent periodically
Signals values different from Init value
ComSignalGroup(ISignalToPduMapping):
- ComUpdateBitPosition(updateIndicationBitPosition) is configured
- ComTimeout(ReceiverComSpec.aliveTimeout) is configured
- ComTimeoutNotification(no upstream template parameter) is configured
- ComRxDataTimeoutAction (NonqueuedReceiverComSpec.handleTimeoutType) =
REPLACE
Summary The SUT is started. The Rx IPdu 2 is sent periodically on the bus, with the update-
bit of the Signal Group 1 set to 1. After a while, the update-bit of the Signal Group 1
is set to 0.
Hint: To perform this test, the COM Bsw should be configured with
ComTimeOutNotification on SignalGroup level (not exist at ICC1 level).
Needed None
Adaptation to
other Releases
Pre-conditions The SUT is started.
The frame containing Rx IPdu 2 is sent periodically
Signal value different from Init value
Main Test Execution
ComSignal(ISignalToPduMapping):
19 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
- ComTimeout(ReceiverComSpec.aliveTimeout) is configured
- ComTimeoutNotification(no upstream template parameter) is configured
- DataSendCompletedEvent mapped on signal transmission (ComNotification is
configured)
Summary The SUT is started. The Tx IPdu 1 is sent periodically on the bus. After a while, the
sending of Tx IPdu 1 is blocked.
Expected result: The SUT must notify the SWC that the deadline timeout occurs for
the Tx IPdu 1.
Needed None
Adaptation to
other Releases
Pre-conditions The SUT is started.
The frame containing Tx IPdu 1 is sent periodically.
Main Test Execution
Test Steps Pass Criteria
Step 1 [LT]
Send application frames to the SUT
Step 2 [LT] [LT]
Check Tx IPdu_1 is received on the bus The Tx IPdu_1 is sent periodically by
SUT on the bus
Step 3 [LT]
Make correct transmission impossible
(e.g. stop acknowledging can frames,
overload, destroy frames, ...)
avoiding bus off handling by CanSM
Step 4 [SWC]
Update value of TxIPdu_1 -> TxSignal_1
(Rte_Write)
Step 5 [CP] [SWC]
Wait for <deadlinetimeout - safetymargin> Return Value of Rte_Feedback is
NOT RTE_E_TIMEOUT (The SUT
has NOT notified the SWC)
DataSendCompletedEvent NOT
called
Step 6 [SWC] [SWC]
Waiting for 2 x <safetymargin> Return Value of Rte_Feedback is
RTE_E_TIMEOUT (The SUT has
notified the SWC)
DataSendCompletedEvent NOT
called
Post- None
conditions
ComSignal(ISignalToPduMapping):
- ComUpdateBitPosition(updateIndicationBitPosition) is configured
- ComTimeout(ReceiverComSpec.aliveTimeout) is configured
- ComTimeoutNotification(no upstream template parameter) is configured
- ComRxDataTimeoutAction (NonqueuedReceiverComSpec.handleTimeoutType) =
NONE
Summary The SUT is started. The Rx Deadline monitoring is disabled.
Awaiting result :
The SUT must NOT notify the SWC that the deadline timeout occurs for the
Signal 1.
The SWC enables the Rx Deadline monitoring. The Rx IPdu 1 is sent periodically
on the bus, with the update-bit of the Signal 1 set to 1. After a while, the update-bit
of the Signal 1 is set to 0.
Awaiting result :
The SUT must notify the SWC that the deadline timeout occurs for the
Signal 1.
Needed None
Adaptation to
other Releases
Pre-conditions The SUT is started.
The frame containing Rx IPdu 1 is sent periodically
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC]
Disable Rx Deadline Monitoring (request
DeadlineMonitoringControl action to BswM)
ComSignal(ISignalToPduMapping):
- ComUpdateBitPosition(updateIndicationBitPosition) is NOT configured
- ComTimeout(ReceiverComSpec.aliveTimeout) is configured
- ComTimeoutNotification(no upstream template parameter) is not present
- ComRxDataTimeoutAction (NonqueuedReceiverComSpec.handleTimeoutType) =
REPLACE
Awaiting result :
The SUT must NOT notify the SWC that the deadline timeout occurs for Rx
IPdu 3.
The value of the Signal 2 must be replaced by its Init value.
Needed None
Adaptation to
other Releases
Pre-conditions The SUT is started.
The frame containing Rx IPdu 3 is sent periodically
Main Test Execution
Test Steps Pass Criteria
Step 1 [LT] [LT]
Send periodically Rx IPdu_3 on the bus with The Rx IPdu_3 is sent periodically on
Signal_2 Value equal Value_1 the bus with Value_1
Step 2 [SWC] [SWC]
Read value of Signal_2 (Rte_Read) Signal_2 value is Value_1
Step 3 [LT] [LT]
Stop sending Rx IPdu_3 on the bus The Rx IPdu_3 is not sent on bus
Step 4 [CP]
Waiting for <deadline_timeout>
Step 5 [SWC] [SWC]
Read value of Signal_2 (Rte_Read) The SUT must NOT notify the SWC
(Return Value of Rte_Read is NOT
RTE_E_MAX_AGE_EXCEEDED)
Signal_2 Value is the Init Value
Post- None
conditions
ComSignalGroup(ISignalToPduMapping):
- ComUpdateBitPosition(updateIndicationBitPosition) is configured
- ComTimeout(ReceiverComSpec.aliveTimeout) is configured
- ComTimeoutNotification(no upstream template parameter) is configured
- ComRxDataTimeoutAction (NonqueuedReceiverComSpec.handleTimeoutType) =
NONE
Summary The SUT is started. The Rx IPdu 4 is sent periodically on the bus, with the update-
bit of the Signal Group 2 set to 1. After a while, the update-bit of the Signal Group 2
is set to 0.
Awaiting result :
The SUT must notify the SWC that the deadline timeout occurs for the
Signal Group 2.
The value of the Signal Group 2 must be the same as the last valid received
value.
Needed None
Adaptation to
other Releases
Pre-conditions The SUT is started.
The frame containing Rx IPdu 4 is sent periodically
Main Test Execution
Test Steps Pass Criteria
Step 1 [LT] [LT]
Send Rx IPdu_4 on the bus with The Rx IPdu_4 should be sent
SignalGroup_2 value different from init value periodically on the bus
Step 2 [LT]
Set update-bit of SignalGroup_2 with value 1
Step 3 [SWC] [SWC]
Check the update-bit of SignalGroup_2 (call Return Value of Rte_IsUpdated for
to Rte_IsUpdated) SignalGroup_2 is TRUE
Step 4 [LT]
The tests use a test bench environment and Embedded Software Components that
use the feature.
This test case document has been established to cover the following features:
This specification gives the description of required tests environments (test bench,
uses case, arxml files) and detailed tests cases for executing tests.
For this use case, the aim is to test the Initial Values features.
The test system architecture consists of Test Bench that executes only test
sequencer and gives actions request through Test coordination Procedures to
embedded SWC.
The test architecture depends on the bus chosen for the test:
- CAN Bus:
Test System SUT
SWC
Lower (Upper
TCP (Test Coordination Procedures)
Tester Test)
PCO
Runtime Environment (RTE)
Test Bench Com ComM or BswM
PduR
Basic Software (BSW)
CanIf
Can
PCO Microcontroller
CAN Bus
- FlexRay Bus:
Test System SUT
SWC
Lower (Upper
TCP (Test Coordination Procedures)
Tester Test)
PCO
Runtime Environment (RTE)
Test Bench Com ComM or BswM
PduR
Basic Software (BSW)
FrIf
Fr
PCO Microcontroller
FlexRay Bus
- LIN Bus:
28 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
LIN Bus
Some of the test cases requires specific signal transfer properties and unique IPDU
structure to fulfil the test requirements. These are listed here.
AT_721_PDU structure:
B7 Sn_01 Sg2_2
B6 Sg3_3 Sn_04
B5 Sg5_4 Sg4_2
B4 Sg3_2 Sg3_1
B3 Sn_05 Sg4_1 Sg1_3
B2 Sg2_1 Sn_03
B1 Sg5_2 Sg5_3 Sn_02
B0 Sg5_1 Sg1_2 Sg1_1
D7 D6 D5 D4 D3 D2 D1 D0
AT_722: ComNotification
Fibex::FibexCore::CoreCommunication::ISignalToPduMapping Com Notification
Sn_06 Rte_ComCbk_Sn_06
Sn_07 Rte_ComCbk_Sn_07
Sn_08 Rte_ComCbk_Sn_08
Sn_09 Rte_ComCbk_Sn_09
Sn_10 Rte_ComCbk_Sn_10
Sg6 Rte_ComCbk_Sg6
Sg7 Rte_ComCbk_Sg7
Sg8 Rte_ComCbk_Sg8
Sg9 Rte_ComCbk_Sg9
Sg10 Rte_ComCbk_Sg10
AT_722_IPDU_Structure
B7 Sg8_2 Sg9_4
B6 Sg7_3 Sn_10
B5 Sn_09
B4 Sg9_1 Sg7_2 Sg9_3
B3 Sn_08 Sg6_3 Sg10_2
B2 Sg10_1 Sn_07
B1 Sg9_2 Sg8_1 Sn_06
B0 Sg7_1 Sg6_2 Sg6_1
D7 D6 D5 D4 D3 D2 D1 D0
ComSignal or ComGroupSignal(ISignalToPduMapping):
- ComSignalType(ISignal.networkRepresentationProps.swBaseType) = UINT8
- ComSignalInitValue (ISignal.initValue) is configured (different from 0)
Summary The SUT is started. The Rx IPdu 1 is never sent to the SUT. One SWC gets the
value of the Signal 1.1.
ComSignal or ComSignalGroup(ISignalToPduMapping):
- ComTimeout(ReceiverComSpec.aliveTimeout) is configured
- ComRxDataTimeoutAction (NonqueuedReceiverComSpec.handleTimeoutType) =
REPLACE
ComSignal or ComGroupSignal(ISignalToPduMapping):
- ComSignalType(ISignal.networkRepresentationProps.swBaseType) = UINT8
- ComSignalInitValue (ISignal.initValue) is configured (different from 0)
Summary The SUT is started. The Rx IPdu 1 is sent periodically to the SUT. After a while, the
Rx IPdu 1 is stopped to be sent to the SUT. One SWC gets the value of the Signal
1.1.
ComSignal or ComGroupSignal(ISignalToPduMapping):
- ComSignalType(ISignal.networkRepresentationProps.swBaseType) = UINT16
- ComSignalInitValue (ISignal.initValue) is configured (different from 0)
Summary The SUT is started. The Rx IPdu 1 is never sent to the SUT. One SWC gets the
value of the Signal 1.2.
ComSignal or ComSignalGroup(ISignalToPduMapping):
- ComTimeout(ReceiverComSpec.aliveTimeout) is configured
- ComRxDataTimeoutAction (NonqueuedReceiverComSpec.handleTimeoutType) =
REPLACE
ComSignal or ComGroupSignal(ISignalToPduMapping):
- ComSignalType(ISignal.networkRepresentationProps.swBaseType) = UINT16
- ComSignalInitValue (ISignal.initValue) is configured (different from 0)
Summary The SUT is started. The Rx IPdu 1 is sent periodically to the SUT. After a while, the
Rx IPdu 1 is stopped to be sent to the SUT. One SWC gets the value of the Signal
1.2.
ComSignal or ComGroupSignal(ISignalToPduMapping):
- ComSignalType(ISignal.networkRepresentationProps.swBaseType) = UINT32
- ComSignalInitValue (ISignal.initValue) is configured (different from 0)
Summary The SUT is started. The Rx IPdu 1 is never sent to the SUT. One SWC gets the
value of the Signal 1.3.
ComSignal or ComSignalGroup(ISignalToPduMapping):
- ComTimeout(ReceiverComSpec.aliveTimeout) is configured
- ComRxDataTimeoutAction (NonqueuedReceiverComSpec.handleTimeoutType) =
REPLACE
ComSignal or ComGroupSignal(ISignalToPduMapping):
- ComSignalType(ISignal.networkRepresentationProps.swBaseType) = UINT32
- ComSignalInitValue (ISignal.initValue) is configured (different from 0)
Summary The SUT is started. The Rx IPdu 1 is sent periodically to the SUT. After a while, the
Rx IPdu 1 is stopped to be sent to the SUT. One SWC gets the value of the Signal
1.3.
ComSignal or ComGroupSignal(ISignalToPduMapping):
- ComSignalType(ISignal.networkRepresentationProps.swBaseType) = SINT8
- ComSignalInitValue (ISignal.initValue) is configured (different from 0)
Summary The SUT is started. The Rx IPdu 1 is never sent to the SUT. One SWC gets the
value of the Signal 1.4.
ComSignal or ComSignalGroup(ISignalToPduMapping):
- ComTimeout(ReceiverComSpec.aliveTimeout) is configured
- ComRxDataTimeoutAction (NonqueuedReceiverComSpec.handleTimeoutType) =
REPLACE
ComSignal or ComGroupSignal(ISignalToPduMapping):
- ComSignalType(ISignal.networkRepresentationProps.swBaseType) = SINT8
- ComSignalInitValue (ISignal.initValue) is configured (different from 0)
Summary The SUT is started. The Rx IPdu 1 is sent periodically to the SUT. After a while, the
Rx IPdu 1 is stopped to be sent to the SUT. One SWC gets the value of the Signal
1.4.
ComSignal or ComGroupSignal(ISignalToPduMapping):
- ComSignalType(ISignal.networkRepresentationProps.swBaseType) = SINT16
- ComSignalInitValue (ISignal.initValue) is configured (different from 0)
Summary The SUT is started. The Rx IPdu 2 is never sent to the SUT. One SWC gets the
value of the Signal 2.1.
ComSignal or ComSignalGroup(ISignalToPduMapping):
- ComTimeout(ReceiverComSpec.aliveTimeout) is configured
- ComRxDataTimeoutAction (NonqueuedReceiverComSpec.handleTimeoutType) =
REPLACE
ComSignal or ComGroupSignal(ISignalToPduMapping):
- ComSignalType(ISignal.networkRepresentationProps.swBaseType) = SINT16
- ComSignalInitValue (ISignal.initValue) is configured (different from 0)
Summary The SUT is started. The Rx IPdu 2 is sent periodically to the SUT. After a while, the
Rx IPdu 2 is stopped to be sent to the SUT. One SWC gets the value of the Signal
2.1.
ComSignal or ComGroupSignal(ISignalToPduMapping):
- ComSignalType(ISignal.networkRepresentationProps.swBaseType) = SINT32
- ComSignalInitValue (ISignal.initValue) is configured (different from 0)
Summary The SUT is started. The Rx IPdu 2 is never sent to the SUT. One SWC gets the
value of the Signal 2.2.
ComSignal or ComSignalGroup(ISignalToPduMapping):
- ComTimeout(ReceiverComSpec.aliveTimeout) is configured
- ComRxDataTimeoutAction (NonqueuedReceiverComSpec.handleTimeoutType) =
REPLACE
ComSignal or ComGroupSignal(ISignalToPduMapping):
- ComSignalType(ISignal.networkRepresentationProps.swBaseType) = SINT32
- ComSignalInitValue (ISignal.initValue) is configured (different from 0)
Summary The SUT is started. The Rx IPdu 2 is sent periodically to the SUT. After a while, the
Rx IPdu 2 is stopped to be sent to the SUT. One SWC gets the value of the Signal
2.2.
ComSignal or ComGroupSignal(ISignalToPduMapping):
- ComSignalType(ISignal.networkRepresentationProps.swBaseType) = BOOLEAN
- ComSignalInitValue (ISignal.initValue) is configured (different from 0)
Summary The SUT is started. The Rx IPdu 2 is never sent to the SUT. One SWC gets the
value of the Signal 2.3.
ComSignal or ComSignalGroup(ISignalToPduMapping):
- ComTimeout(ReceiverComSpec.aliveTimeout) is configured
- ComRxDataTimeoutAction (NonqueuedReceiverComSpec.handleTimeoutType) =
REPLACE
ComSignal or ComGroupSignal(ISignalToPduMapping):
- ComSignalType(ISignal.networkRepresentationProps.swBaseType) = BOOLEAN
- ComSignalInitValue (ISignal.initValue) is configured (different from 0)
Summary The SUT is started. The Rx IPdu 2 is sent periodically to the SUT. After a while, the
Rx IPdu 2 is stopped to be sent to the SUT. One SWC gets the value of the Signal
2.3.
ComSignal or ComGroupSignal(ISignalToPduMapping):
- ComSignalType(ISignal.networkRepresentationProps.swBaseType) = FLOAT32
- ComSignalInitValue (ISignal.initValue) is configured (different from 0)
Summary The SUT is started. The Rx IPdu 3 is never sent to the SUT. One SWC gets the
value of the Signal 3.1.
ComSignal or ComSignalGroup(ISignalToPduMapping):
- ComTimeout(ReceiverComSpec.aliveTimeout) is configured
- ComRxDataTimeoutAction (NonqueuedReceiverComSpec.handleTimeoutType) =
REPLACE
ComSignal or ComGroupSignal(ISignalToPduMapping):
- ComSignalType(ISignal.networkRepresentationProps.swBaseType) = FLOAT32
- ComSignalInitValue (ISignal.initValue) is configured (different from 0)
Summary The SUT is started. The Rx IPdu 3 is sent periodically to the SUT. After a while, the
Rx IPdu 3 is stopped to be sent to the SUT. One SWC gets the value of the Signal
3.1.
ComSignal or ComGroupSignal(ISignalToPduMapping):
- ComSignalType(ISignal.networkRepresentationProps.swBaseType) = UINT8_N
- ComSignalInitValue (ISignal.initValue) is configured (different from 0)
Summary The SUT is started. The Rx IPdu 3 is never sent to the SUT. One SWC gets the
value of the Signal 3.2.
ComSignal or ComSignalGroup(ISignalToPduMapping):
- ComTimeout(ReceiverComSpec.aliveTimeout) is configured
- ComRxDataTimeoutAction (NonqueuedReceiverComSpec.handleTimeoutType) =
REPLACE
ComSignal or ComGroupSignal(ISignalToPduMapping):
- ComSignalType(ISignal.networkRepresentationProps.swBaseType) = UINT8_N
- ComSignalInitValue (ISignal.initValue) is configured (different from 0)
Summary The SUT is started. The Rx IPdu 3 is sent periodically to the SUT. After a while, the
Rx IPdu 3 is stopped to be sent to the SUT. One SWC gets the value of the Signal
3.2.
ComSignal or ComGroupSignal(ISignalToPduMapping):
- ComSignalType(ISignal.networkRepresentationProps.swBaseType) = FLOAT64
- ComSignalInitValue (ISignal.initValue) is configured (different from 0)
Summary The SUT is started. The Rx IPdu 4 is never sent to the SUT. One SWC gets the
value of the Signal 4.1.
ComSignal or ComSignalGroup(ISignalToPduMapping):
- ComTimeout(ReceiverComSpec.aliveTimeout) is configured
- ComRxDataTimeoutAction (NonqueuedReceiverComSpec.handleTimeoutType) =
REPLACE
ComSignal or ComGroupSignal(ISignalToPduMapping):
- ComSignalType(ISignal.networkRepresentationProps.swBaseType) = FLOAT64
- ComSignalInitValue (ISignal.initValue) is configured (different from 0)
Summary The SUT is started. The Rx IPdu 4 is sent periodically to the SUT. After a while, the
Rx IPdu 4 is stopped to be sent to the SUT. One SWC gets the value of the Signal
4.1.
ComIpdu(SignalIPdu): TxIPdu_1
- ComIPduDirection(CommConnectorPort.communicationDirection) = SEND
- ComTxIPduUnusedAreasDefault (unusedBitPattern) is configured
- ComTxModeTrue
(IPduTiming.TransmissionModeDeclaration.transmissionModeTrueTiming)
-- ComTxModeMode (TransmissionModeTiming) = PERIODIC (CyclicTiming)
Awaiting result : The initial value (TxInitValue) must be sent in the Tx IPdu 1
Needed None
Adaptation to
other Releases
Pre-conditions The SUT is started.
No frame is sent to the SUT
The Tx IPdu 1 is sent periodically by SUT
Main Test Execution
Test Steps Pass Criteria
Step 1 [LT]
No Frame is sent to the SUT
54 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
Step 2 [LT] [LT]
Check Rx IPdu_5 The Rx IPdu_5 is never sent to the
SUT
Step 3 [CP]
Wait for 2 seconds
Step 4 [LT] [LT]
Check Signal_6_1 value of Tx IPdu_1 Signal_6_1 Initial value should be
sent by the SUT
Post- None
conditions
ComIpdu(SignalIPdu): TxIPdu_1
- ComIPduDirection(CommConnectorPort.communicationDirection) = SEND
- ComTxIPduUnusedAreasDefault (unusedBitPattern) is configured
- ComTxModeTrue
(IPduTiming.TransmissionModeDeclaration.transmissionModeTrueTiming)
-- ComTxModeMode (TransmissionModeTiming) = PERIODIC (CyclicTiming)
Awaiting result : The initial value (RxInitValue) must be sent in the Tx IPdu 1
Needed None
Adaptation to
other Releases
Pre-conditions The SUT is started.
The Rx IPdu 5 is sent periodically to the SUT
The Tx IPdu 1 is sent periodically by SUT
Main Test Execution
Test Steps Pass Criteria
Step 1 [LT] [LT]
Send Rx IPdu_5 with Signal_5_1 Value_1 The Rx IPdu_5 is sent periodically to
(different from Signal_5_1 InitValue) the SUT
Step 2 [LT] [LT]
Check Tx IPdu_1 period The Tx IPdu_1 is sent periodically by
the SUT
Step 3 [LT] [LT]
Check Signal_6_1 value of Tx IPdu_1 Signal_6_1 Value is different from
InitValue
Tx Signal_6_1 = Rx Signal_5_1
Value_1
Step 4 [LT]
Stop sending Rx IPdu_5 to SUT.
Step 5 [LT] [LT]
Check Rx IPdu_5 The Rx IPdu_5 is stopped to be sent
to the SUT
Step 6 [CP]
Wait for <deadline_timeout>
Step 7 [LT] [LT]
Check Signal_6_1 value of Tx IPdu_1 Signal_6_1 Initial value should be
sent by the SUT
Post- None
conditions
Fibex::FibexCore::CoreCommunication::TransmissionModeTiming = DIRECT
Fibex::FibexCore::CoreCommunication.EventControlledTiming.numberOfRepetitions=
2
Fibex::FibexCore::CoreCommunication::EventControlledTiming.repetitionPeriod =
300 ms
Summary The transmission of assigned I-PDU shall be verified using Com transmission
confirmation of the respective signals and signal groups along with data observed on
the trace log.
Needed
Adaptation to
other
Releases
Pre- DUT shall be in full communication
conditions
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [SWC]
Call Rte_Write for Signal_01 Signal_02 E_OK shall be returned for the
Signal_Group_1 and with valid data requests
Step 2 - [LT]
Frame shall be observed on the bus by
the DUT twice for every Com
Transmission Mode Repetition Period
Step 3 - [SWC]
Com transmission confirmation for the
configured signals and signal groups
shall be invoked
Step 4 [SWC] [SWC]
Call Rte_Write for Signal_03 Signal_Group_4 E_OK shall be returned for the request
and Signal_Group_5 with valid data
Step 5 - [LT]
Frame shall be observed on the bus by
the DUT twice for every Com
Transmission Mode Repetition Period
Step 6 - [SWC]
Com transmission confirmation for the
configured signals and signal groups
shall be invoked
Post- None
conditions
The tests use a test bench environment and Embedded Software Components that
use the feature.
This test case document has been established to cover the following features:
This specification gives the description of required tests environments (test bench,
uses case, arxml files) and detailed tests cases for executing tests.
For this use case, the aim is to test the Data Consistency features.
The test system architecture consists of Test Bench that executes only test
sequencer and gives actions request through Test coordination Procedures to
embedded SWC.
CAN Bus
- FlexRay Bus:
Test System SUT
SWC
Lower (Upper
TCP (Test Coordination Procedures)
Tester Test)
PCO
Runtime Environment (RTE)
Test Bench Com ComM or BswM
PduR
Basic Software (BSW)
FrIf
Fr
PCO Microcontroller
FlexRay Bus
LIN Bus
ComSignalGroup(ISignalToPduMapping): SgGr1
- ComGroupSignal(ISignalToPduMapping): GrSg1
-- ComSignalDataInvalidValue (SwDataDefProps.invalidValue) is configured
- ComGroupSignal(ISignalToPduMapping): GrSg2
-- ComSignalDataInvalidValue (SwDataDefProps.invalidValue) is configured
Summary The SUT is started. A SignalGroup is sent periodically by the SUT. The SWC
invalidates The SignalGroup.
Awaiting result : The SUT must invalidate each GroupSignal of the SignalGroup.
Needed None
Adaptation to
other Releases
Pre-conditions The SUT is started.
The Tx IPdu 1 is sent periodically on the bus
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [LT]
Update Tx IPdu_1 SgGr1 (Rte_Write()) with The Tx IPdu_1 is sent periodically on
value different from Invalid_Value the bus
SgGr1 is updated
Group signal GrSg1 value is different
from GrSg1_Invalid_Value
Group signal GrSg2 value is different
from GrSg2_Invalid_Value
Step 2 [SWC] [LT]
Invalidate the SignalGroup SgGr1 SgGr1 is updated
(Rte_Invalidate()) Group signal GrSg1 value is
GrSg1_Invalid_Value
Group signal GrSg2 value is
GrSg2_Invalid_Value
(The SUT has invalidated each
GroupSignal of the SignalGroup)
Post- None
conditions
ComSignal(ISignalToPduMapping): Sg1
- ComSignalDataInvalidValue (SwDataDefProps.invalidValue) is configured
- ComInvalidNotification (no upstream template parameter) is configured
- ComDataInvalidAction (PortInterface.InvalidationPolicy) = NOTIFY
ComIpdu(SignalIPdu): RxIPdu_2
- ComIPduDirection(CommConnectorPort.communicationDirection) = RECEIVE
ComSignalGroup(ISignalToPduMapping): SgGr1
- ComDataInvalidAction (PortInterface.InvalidationPolicy) = NOTIFY
- ComGroupSignal(ISignalToPduMapping): GrSg1/GrSg2
-- ComSignalDataInvalidValue (SwDataDefProps.invalidValue) is configured
-- ComInvalidNotification (no upstream template parameter) is configured
Summary This test case validates notification to SWC when receiving a signal in a frame with
InvalidValue, and when receiving a groupsignal with invalid value inside a
signalgroup.
Needed None
Adaptation to
other Releases
Pre-conditions The SUT is started
Main Test Execution
Test Steps Pass Criteria
Step 1 [LT] [LT]
Send periodically Rx IPdu_1 with Sg1 The Rx IPdu_1 is sent periodically to
Value_1 (different from Sg1 InitValue) the SUT
Step 2 [SWC] [SWC]
Check value of Sg1 (Rte_Read()) Return value of Rte_Read is
RTE_E_OK
Sg1 Value is different from InitValue
(value from BUS is received)
Step 3 [LT]
Send periodically Rx IPdu_1 with Sg1
INVALID value
Step 4 [SWC] [SWC]
65 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
Check value of Sg1 (Rte_Read()) Return value of Rte_Read is
RTE_E_INVALID
Sg1 Value is the last valid value
Step 5 [LT] [LT]
Send periodically Rx IPdu_2 with: The Rx IPdu_2 is sent periodically to
GrSg1 value = GrSg1_Value1 the SUT
GrSg2 value = GrSg2_Value1 (different from
SgGr1 InitValue)
Step 6 [SWC] [SWC]
Check value of SgGr1 (Rte_Read()) Return value of Rte_Read is
RTE_E_OK
Group signal GrSg1 value is
GrSg1_Value1
Group signal GrSg2 value is
GrSg2_Value1
Step 7 [LT]
Send periodically Rx IPdu_2 with:
GrSg1 value = GrSg1_InvalidValue
GrSg2 value = GrSg2_Value1
(only 1 GroupSignal INVALID)
Step 8 [SWC] [SWC]
Check value of SgGr1 (Rte_Read()) Return value of Rte_Read is
RTE_E_INVALID
Group signal GrSg1 value is
GrSg1_Value1
Group signal GrSg2 value is
GrSg2_Value1
Post- None
conditions
ComSignal(ISignalToPduMapping): Sg1
- ComSignalDataInvalidValue (SwDataDefProps.invalidValue) is configured
Summary The SUT is started. A signal is sent periodically by the SUT. The SWC invalidates
this signal.
ComSignalGroup(ISignalToPduMapping): SgGr1
- ComDataInvalidAction (PortInterface.InvalidationPolicy) = REPLACE
- ComGroupSignal(ISignalToPduMapping): GrSg1/GrSg2
67 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
-- ComSignalDataInvalidValue (SwDataDefProps.invalidValue) is configured
-- ComInvalidNotification (no upstream template parameter) is configured
Summary The SUT is started. The Rx IPdu 1 is sent periodically to the SUT. Inside this
Frame, there is one signal group.
Awaiting result : The SUT shall replace the values of all group signals by their init
values.
Needed None
Adaptation to
other Releases
Pre-conditions The SUT is started
The Rx IPdu 1 is sent periodically to the SUT
Main Test Execution
Test Steps Pass Criteria
Step 1 [LT] [LT]
Send periodically Rx IPdu_1 with: The Rx IPdu_1 is sent periodically to
GrSg1 value = GrSg1_Value1 the SUT
GrSg2 value = GrSg2_Value1
(different from SgGr1 InitValue)
Step 2 [SWC] [SWC]
Check value of SgGr1 (Rte_Read()) Return value of Rte_Read is
RTE_E_OK
Group signal GrSg1 value is
GrSg1_Value1
Group signal GrSg2 value is
GrSg2_Value1
Step 3 [LT]
Send periodically Rx IPdu_1 with:
GrSg1 value = GrSg1_InvalidValue
GrSg2 value = GrSg2_Value1
(only 1 GroupSignal INVALID)
Step 4 [SWC] [SWC]
Check value of SgGr1 (Rte_Read()) Return value of Rte_Read is
RTE_E_OK
Group signal GrSg1 value is
GrSg1_Value_Init
Group signal GrSg2 value is
GrSg2_Value_Init
(The SUT has replaced the values of
whole Group signals by their init
values)
Post- None
conditions
The tests use a Test Bench environment and Embedded Software Components that
uses the feature.
This test case document has been established to cover the following features:
Figure 1: Mindmap of features covered and not covered in the test cases
This specification gives the description of required test environment (Test Bench,
Use cases, arxml files) and detailed test case for executing tests.
The Test System architecture consists of Test Bench that executes only test
sequences and gives action request through test coordination procedures to
embedded SWC.
6.1.1.1.1 Use case 06.01: Data Transfer of Array Signal of Size lesser than or
equal to<BUS> Capability
For this use case, the aim is to test data transfer features of LdCom, for array signal
of length lesser than or equal to underlying bus capability.
6.1.1.1.2 Use case 06.02: Data Transfer of Array Signal of size more than
<BUS> Capability
For this use case, the aim is to test data transfer features of LdCom, for array signal
of length greater than underlying bus capability.
From Software Component point of view, for each test case, the communication
interfaces are defined as follows:
Therefore ports and signals names change according to Test Case number, but the
building rule is the same.
6.1.2.1.1 Use Case 06.01: Data Transfer of Array Signal of Size lesser than or
equal to<BUS> Capability
The communication database is depicted below:
71 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
6.1.2.1.2 Use case 06.02: Data Transfer of Array Signal of size more than
<BUS> Capability
The communication database is depicted below:
LdComSignal(ISignalToPduMapping): Sg1
-SignalLength(baseTypeSize) < Size of <BUS> capability
-SystemSignal.networkRepresentationProps.swBaseType = UINT8_N
-DataSendCompletedEvent mapped on TxConfirmation
PduRRoutingPath:
-Routing path for LdComIPdu with PduRSrcBswModuleRef = BswMod_LdCom
-PduRDestPdu with PduRDestBswModuleRef = BswMod_<Bus>If
Summary - To check that application layer can initiate a LdCom transmission via IF-API. As
this is indirect testing for transmission confirmation, notification is given to software
component of Upper Tester about transmission of signal.
Needed n/a
Adaptation to
other Releases
Pre-conditions Com stack is initialized
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [SWC]
Call Rte_Write() for Port AT_1470_Sg1 with Rte_Write() shall return RTE_E_OK.
Signal value AT_1470_Sg1_Value_1.
Step 2 [LT] [LT]
Monitor and validate the frame on bus. Frame shall be observed on bus with
data transmitted by SUT.
Step 3 - [SWC]
Rte_LdComCbkTxConfirmation API
for the signal is invoked for the signal.
DataSendCompleted Event
73 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
is activated for the same.
Post- Not Applicable
conditions
LdComSignal(ISignalToPduMapping): Sg1
-SignalLength(baseTypeSize) < Size of <BUS> capability
-SystemSignal.networkRepresentationProps.swBaseType = UINT8_N
-DataReceivedEvent mapped on RxIndication
PduRRoutingPath:
-Routing path for LdComIpdu with PduRSrcBswModuleRef = BswMod_<Bus>If
-PduRDestPdu with PduRDestBswModuleRef = BswMod_LdCom
Summary -To check application can receive LdCom data via IF-API.
Needed n/a
Adaptation to
other Releases
Pre-conditions Com stack is initialized.
Main Test Execution
Test Steps Pass Criteria
Step 1 [LT] [SWC]
AT_1471_Sg1_value is
74 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
AT_1471_Sg1_Value_1.
Post- Not Applicable
conditions
ComSignal(ISignalToPduMapping): Sg1
-SignalLength(baseTypeSize) > Size of <BUS> capability
-SystemSignal.networkRepresentationProps.swBaseType = UINT8_N
-DataSendCompletedEvent mapped on signal transmission
PduRRoutingPath:
-Routing path for LdComIpdu with PduRSrcBswModuleRef = BswMod_LdCom
-PduRDestPdu with PduRDestBswModuleRef = BswMod_<Bus>TP
Summary -To check LdCom transmission through TP for a signal of length greater than or
equal to maximum transmission unit of underlying bus. As this is indirect testing for
transmission confirmation, notification is given to software component of Upper
Tester about transmission of the signal.
Needed n/a
Adaptation to
other Releases
Pre-conditions Com stack is initialized.
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [SWC]
Call Rte_Write() for port AT_1472_Sg1 with Rte_Write() shall return RTE_E_OK.
value AT_1472_Sg1_Value_1.
Step 2 [LT] [LT]
Consecutive frames are sent by SWC until all Consecutive Frames shall
the data has been transmitted on reception be observed with data transmitted by
of Flow Control frame. SUT.
Step 4 - [LT]
Rte_LdComCbkTpTxConfirmation API
is invoked for the signal.
DataSendCompleted event is
activated for the same.
Post- Not Applicable
conditions
ComSignal(ISignalToPduMapping): Sg1
-SignalLength(baseTypeSize) > Size of <BUS> capability
-SystemSignal.networkRepresentationProps.swBaseType = UINT8_N
-DataReceivedEvent mapped on RxIndication
PduRRoutingPath:
-Routing path for LdComIpdu with PduRSrcBswModuleRef = BswMod_<Bus>Tp
-PduRDestPdu with PduRDestBswModuleRef = BswMod_LdCom
Summary - To check LdCom reception through TP for signal length greater than transmission
unit of underlying bus.
AT_1473_Sg1_value is
AT_1473_Sg1_Value_1.
Post- Not Applicable
conditions
ComSignal(ISignalToPduMapping): Sg1
-SignalLength(baseTypeSize) > Size of <BUS> capability
-SystemSignal.networkRepresentationProps.swBaseType = UINT8_N
-DataSendCompletedEvent mapped on TxConfirmation
Summary - To transmit large signal data from software component of Upper Tester to Lower
Tester. The second frame is introduced deliberately when already initiated
transmission is in progress.
Needed n/a
Adaptation to
other
Releases
Pre-conditions Com stack is initialized.
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [SWC]
Monitor the bus for First Frame and First frame shall be observed on bus
validate the same. with data transmitted by SUT.
Step 3 [LT] [SWC]
Send Flow Control frame with Flow Status Flow Control frame is received.
ClearToSend.
Step 4 [SWC] [SWC]
Consecutive frames are sent by SWC until Consecutive frames shall be observed
all the data has been transmitted for data on bus with data
transmission initiated in Step1 AT_1476_Sg1_Value1 transmitted by
SUT.
Step 6 - [SWC]
Rte_LdComCbkTpTxConfirmation API is
invoked for the signal and
DataSendCompletedEvent is activated
for the same.
Post- NONE
conditions
ComSignal(ISignalToPduMapping): Sg1
-SignalLength(baseTypeSize) > Size of <BUS> capability
-SystemSignal.networkRepresentationProps.swBaseType = UINT8_N
-DataReceivedEvent mapped on RxIndication
Summary - To check LdCom behavior for a PDU reception when already initiated reception for
the same PDU is in progress.
Needed n/a
Adaptation to
other Releases
Pre-conditions Com stack is initialized.
Main Test Execution
Test Steps Pass Criteria
Step 1 [LT] [SWC]
Send the Signal AT_1478_Sg1 with Flow Control with Flow Status
AT_1478_Sg1_Value_1. ClearToSend is sent from SUT on
reception of First Frame.
Step 2 [LT] [SWC]
AT_1478_Sg1_value is
AT_1478_Sg1_Value_2
Post- NONE
conditions
ComSignal(ISignalToPduMapping): Sg1
-SignalLength(baseTypeSize) > Size of <BUS> capability
-SystemSignal.networkRepresentationProps.swBaseType = UINT8_N
-DataSendCompletedEvent mapped on TxConfirmation
Summary To check the unlocking of signal buffer by RTE when the Transmit Confirmation has
been invoked for the PDU. A Second frame is transmitted from Application after
Transmit confirmation was received for the ongoing tramsmission for same PDU.
Needed
Adaptation to
other Releases
Pre-conditions Com stack is initialized.
Main Test Execution
80 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
Test Steps Pass Criteria
Step 1 [SWC] [SWC]
Monitor the bus for First Frame and validate First frame shall be observed on bus
the same. with data transmitted by SUT.
Step 3 [LT] [SWC]
Send Flow Control frame with Flow Status Flow Control frame is received.
ClearToSend.
Step 4 [SWC] [LT]
Consecutive frames are sent by SWC until all Consecutive frames shall be
the data has been transmitted. observed on bus with data
AT_1047_Sg1_Value1 transmitted by
SUT.
Step 5 - [SWC]
Rte_LdComCbkTpTxConfirmation
API is invoked for the signal.
DataSendCompletedEvent is
activated.
Step 6 [SWC] [LT]
Monitor the bus for first frame and validate First frame shall be observed on bus
the same. with data transmitted by SUT.
Step 8 [LT] [SWC]
Send Flow Control frame with Flow Status Flow Control frame is received.
ClearToSend.
Step 9 [SWC] [LT]
Consecutive frames are sent by SWC until all Consecutive frames shall be
the data has been transmitted. observed with data
AT_1047_Sg1_Value2 transmitted by
SUT.
Step 10 - [SWC]
Rte_LdComCbkTpTxConfirmation
API is invoke for the signal and
DataSendCompletedEvent is
activated for the same.
Post- NONE
conditions
The tests use a test bench environment and Embedded Software Components that
use the feature.
This test case document has been established to cover the following features:
This specification gives the description of required tests environments (test bench,
uses case, arxml files) and detailed tests cases for executing tests.
For this use case, the aim is to test the general Com module data transfer features
independently of the Bus.
The test system architecture consists of Test Bench that executes only test
sequencer and gives actions request through Test coordination Procedures to
embedded SWC.
The Bus used (CAN or FlexRay or Lin) is independent for this use case.
For the Software Component point of view, for each test case, the communication
interfaces are defined as follow:
Therefore ports and signals names change according to Test Case number, but the
building rule is the same.
Some of the test cases requires specific signal transfer properties and unique IPDU
structure to fulfil the test requirements. These are listed here.
AT_724_IPDU_Structure:
B7
B6 Sn_14
B5 Sn_15
B4
B3 Sg14_3 Sg14_2 Sg14_1
B2
B1 Sg13_4 Sg13_3 Sg13_2 Sg13_1
B0 Sn_16
D7 D6 D5 D4 D3 D2 D1 D0
AT_725_IPDU_Structure:
88 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
B7 Sn_19
B6
B5 Sn_18
B4
B3 Sg16_5 Sg16_4 Sg16_3 Sg16_2 Sg16_1
B2
B1 Sg15_4 Sg15_3 Sg15_2 Sg15_1
B0 Sn_17
D7 D6 D5 D4 D3 D2 D1 D0
AT_726_IPDU_Structure:
B7 Sn_67
B6
B5 Sn_66
B4
B3 Sg17_5 Sg17_4 Sg17_3 Sg17_2 Sg17_1
B2
B1 Sg18_4 Sg18_3 Sg18_2 Sg18_1
B0 Sn_65
D7 D6 D5 D4 D3 D2 D1 D0
TRIGGERED_ON_CHANGE_WITHOU
Sn_90 Rte_ComCbkTAck_Sn_90
T_REPETITION
Sn_91 PENDING Rte_ComCbkTAck_Sn_91
TRIGGERED_ON_CHANGE_WITHOU
Sg91 Rte_ComCbkTAck_Sg91
T_REPETITION
Sg92 PENDING Rte_ComCbkTAck_Sg92
Sg93 PENDING Rte_ComCbkTAck_Sg93
AT_727_IPDU_Structure:
89 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
B7 Sn_90
B6
B5 Sn_91
B4 Sg91_5 Sg91_4 Sg91_3 Sg91_2 Sg91_1
B3 Sg92_5 Sg92_4 Sg92_3 Sg92_2 Sg92_1
B2
B1 Sg93_4 Sg93_3 Sg93_2 Sg93_1
B0
D7 D6 D5 D4 D3 D2 D1 D0
AT_728_IPDU_Structure:
B7
B6 Sn_95
B5 Sn_96
B4
B3 Sg96_3 Sg96_2 Sg96_1
B2
B1 Sg97_4 Sg97_3 Sg97_2 Sg97_1
B0 Sn_97
D7 D6 D5 D4 D3 D2 D1 D0
Sn_74 TRIGGERED
Sn_75 PENDING
Sn_76 PENDING
Sg74 PENDING
Sg75 PENDING
AT_729_IPDU_Structure:
B7
B6 Sn_74
90 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
B5 Sn_75
B4
B3 Sg74_3 Sg74_2 Sg74_1
B2
B1 Sg75_4 Sg75_3 Sg75_2 Sg75_1
B0 Sn_76
D7 D6 D5 D4 D3 D2 D1 D0
AT_730_IPDU_Structure:
B7
B6 Sn_80
B5 Sn_78
B4
B3 Sg78_3 Sg78_2 Sg78_1
B2
B1 Sg77_4 Sg77_3 Sg77_2 Sg77_1
B0 Sn_77
D7 D6 D5 D4 D3 D2 D1 D0
AT_731_IPDU_Structure:
B7 USg43 USn44 USn43
B6
B5 Sn_44
B4
B3
B2 Sn_43
B1 Sg43_1 Sg43_2
B0
91 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
D7 D6 D5 D4 D3 D2 D1 D0
AT_732_IPDU_Structure:
B7 USg45 USn46 USn45
B6
B5 Sn_46
B4
B3
B2 Sn_45
B1 Sg45_1 Sg45_2
B0
D7 D6 D5 D4 D3 D2 D1 D0
AT_733_IPDU_Structure:
B7 USg47 USn48 USn47
B6
B5 Sn_48
B4
B3
B2 Sn_47
B1 Sg47_1 Sg47_2
B0
D7 D6 D5 D4 D3 D2 D1 D0
AT_734_Rx_IPDU_SR STRUCTURE
B7 USg49 USn60 USn49
B6
B5 Sn_60
B4
92 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
B3
B2 Sn_49
B1 Sg49_1 Sg49_2
B0
D7 D6 D5 D4 D3 D2 D1 D0
AT_734_Tx_IPDU_SR STRUCTURE
B7 USg49 USn60 USn49
B6
B5 Sn_60
B4 Sn_66
B3
B2 Sn_49
B1 Sg49_1 Sg49_2
B0
D7 D6 D5 D4 D3 D2 D1 D0
AT_735_Rx_IPDU_SR STRUCTURE
B7 USg41 USn42 USn41
B6
B5 Sn_42
B4
B3
B2
B1 Sg41_1 Sg41_2
B0 Sn_41
D7 D6 D5 D4 D3 D2 D1 D0
AT_735_Tx_IPDU_SR STRUCTURE:
:B7
B6
B5 Sn_42
B4 Sn_70
B3
B2
B1 Sg41_1 Sg41_2
B0 Sn_41
D7 D6 D5 D4 D3 D2 D1 D0
AT_736_Rx_IPDU_SR STRUCTURE
B7 USg61 USn62 USn61
B6
B5 Sn_62
B4
B3
B2 Sn_61
B1 Sg61_1 Sg61_2
B0
D7 D6 D5 D4 D3 D2 D1 D0
AT_736_Tx_IPDU_SR STRUCTURE:
B7
B6
B5 Sn_62
B4
B3
B2 Sn_61
B1 Sg61_1 Sg61_2
B0
D7 D6 D5 D4 D3 D2 D1 D0
ComSignal(ISignalToPduMapping): AT_200_Sg1/AT_200_Sg2
- ComUpdateBitPosition (updateIndicationBitPosition) is configured
- ComSignalInitValue (ISignal.initValue) = Sg1_Value_init/Sg2_Value_init
ComSignalGroup(ISignalToPduMapping): AT_200_SgGr1
- ComUpdateBitPosition (updateIndicationBitPosition) is configured
- ComGroupSignal(ISignalToPduMapping): AT_200_GrSg1/AT_200_GrSg2
-- ComSignalInitValue (ISignal.initValue) = GrSg1_Value_init/GrSg2_Value_init
Summary Aim:
- No signal and no group signal filter, so only One TxMode (ComTxModeTrue)
[SWS_Com_00677]
1) Check that update signal and group signal values on stopped ipdu (ipdu never
started) has no effect
2) Check that starting an ipdu group on first time, initilializes signal values, respects
Offset and Period times, fulfills unused byte of the Ipdu
[SWS_Com_00740][SWS_Com_00787][SWS_Com_00222][SWS_Com_00217]
3) Check that stopping an ipdu group, stop send of time based frames
4) Check that signal and group signal values are updated even if the ipdu is
stopped [SWS_Com_00334]
5) Check that starting an ipdu group (with initialize = FALSE), uses last signal values
and doesn't restart Offset time [SWS_Com_00787][SWS_Com_00228]
Needed None
Adaptation
to other
Releases
95 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
Pre- Com stack is initialized, but ipdu groups are not running
conditions
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [SWC]
Send signal AT_200_Sg1 (call Rte_Write() for Sender Rte_Write shall return
Port AT_200_Sg1) with value AT_200_Sg1_Value_1 "RTE_E_COM_STOPPED"
AT_200_SgGr1.AT_200_GrSg1=AT_200_GrSg1_Val
ue_1
AT_200_SgGr1.AT_200_GrSg2=AT_200_GrSg2_Val
ue_1
Send signal group AT_200_SgGr1 (call Rte_Write()
for Sender Port AT_200_GrSg1)
(Rte will send group signal AT_200_GrSg1 with value
AT_200_GrSg1_Value_1, send group signal
AT_200_GrSg2 with value AT_200_GrSg2_Value_1,
send signal group AT_200_SgGr1)
Step 2 - [LT]
AT_200_Ipdu is not sent out.
Step 3 [SWC] [LT]
Request ModeSwitch (call to BswMModeRequest First AT_200_Ipdu is sent out
port) to IPDU_ACTIVATED (start Ipdu group after Offset time value.
AT_200_IpduGroup with INITIALIZE = FALSE) Other AT_200_Ipdu occurences
are sent out every Period time
value.
AT_200_Sg1 value shall be
AT_200_Sg1_Value_Init
AT_200_Sg2 value shall be
AT_200_Sg2_Value_Init
AT_200_GrSg1 value shall be
AT_200_GrSg1_Value_1
AT_200_GrSg2 value shall be
AT_200_GrSg2_Value_1
AT_200_Sg1, AT_200_Sg2
UpdateBits are cleared (0) for all
AT_200_Ipdu occurrences
Update bit of “AT_200_SgGr1”
set(1) for the first Transmission
and cleared (0) for subsequent
transmissions
Unused areas in
AT_200_Ipdu are filled with
configured UnusedBitPattern
Step 4 [SWC] [LT]
Request ModeSwitch (call to BswMModeRequest AT_200_Ipdu is not sent out
port) to IPDU_DEACTIVATED (stop Ipdu group
AT_200_IpduGroup)
Step 5 [SWC] [SWC]
Send signal AT_200_Sg2 (call Rte_Write() for Sender Rte_Write shall return
Port AT_200_Sg2) with value AT_200_Sg2_Value_1 "RTE_E_COM_STOPPED"
AT_200_SgGr1.AT_200_GrSg1 =
AT_200_GrSg1_Value_Init
AT_200_SgGr1.AT_200_GrSg2 =
AT_200_GrSg2_Value_1
Send signal group AT_200_GrSg1 (call Rte_Write()
for Sender Port AT_200_GrSg1)
( Rte will send group signal AT_200_GrSg2 with value
96 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
AT_200_GrSg2_Value_1, send signal group
AT_200_SgGr1 )
Step 6 - [LT]
AT_200_Ipdu is not sent out.
Step 7 [SWC] [LT]
Request ModeSwitch (call to BswMModeRequest First AT_200_Ipdu is sent out
port) to IPDU_ACTIVATED (start Ipdu group after at last Period time value
AT_200_IpduGroup with INITIALIZE = FALSE) (not offset time).
Other AT_200_Ipdu occurences
are sent out every Period time
value
AT_200_Sg2 value shall be
AT_200_Sg2_Value_1
AT_200_GrSg2 value shall be
AT_200_GrSg2_Value_1
AT_200_Sg1 value shall be
AT_200_Sg1_Value_Init
AT_200_GrSg1 value shall be
AT_200_GrSg1_Value_Init
AT_200_Sg1, AT_200_Sg2,
AT_200_SgGr1 UpdateBits are
cleared (0) for all AT_200_Ipdu
occurences
Unused areas in
AT_200_Ipdu are filled with
configured UnusedBitPattern
Post- Not Applicable
conditions
ComIpdu(SignalIPdu): AT_205_Ipdu
- ComTxIPduUnusedAreasDefault (unusedBitPattern) is configured
- ComIPduDirection(CommConnectorPort.communicationDirection) = SEND
97 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
- ComMinimumDelayTime (IPduTiming.minimumDelay) = y ms
- ComTxModeTrue
(IPduTiming.TransmissionModeDeclaration.transmissionModeTrueTiming)
-- ComTxModeMode (TransmissionModeTiming) = DIRECT
(EventControlledTiming)
--- ComTxModeRepetitionPeriod(RepetitionPeriod) = x ms
--- ComTxModeNumberOfRepetitions(numberOfRepetitions) = 3
==> Constraint: y << x
ComSignal(ISignalToPduMapping): AT_205_Sg1
- ComTransferProperty (transferProperty) = TRIGGERED
- ComUpdateBitPosition (updateIndicationBitPosition) is not configured
- DataSendCompletedEvent mapped on signal transmission (ComNotification is
configured)
Summary Aim:
- Check that ipdu group stops the Minimum Delay Time (MDT) [SWS_Com_00787]
- Check that a send triggered signal (related to DIRECT Ipdu) respects the
Repetition Period [SWS_Com_00812][SWS_Com_00330][SWS_Com_00305]
ComIpdu(SignalIPdu): AT_259_Ipdu
- ComTxIPduUnusedAreasDefault (unusedBitPattern) is configured
- ComIPduDirection(CommConnectorPort.communicationDirection) = SEND
- ComMinimumDelayTime (IPduTiming.minimumDelay) = y ms
- ComTxModeTrue
(IPduTiming.TransmissionModeDeclaration.transmissionModeTrueTiming)
-- ComTxModeMode (TransmissionModeTiming) = DIRECT
(EventControlledTiming)
--- ComTxModeNumberOfRepetitions(numberOfRepetitions) = 1
ComSignal(ISignalToPduMapping): AT_259_Sg1
- ComTransferProperty (transferProperty) = TRIGGERED
- ComUpdateBitPosition (updateIndicationBitPosition) is configured
- DataSendCompletedEvent mapped on signal transmission (ComNotification is
configured)
Summary Aim:
- Check that a send triggered signal (related to DIRECT Ipdu) respects the MDT
[SWS_Com_00812][SWS_Com_00698]
Needed None
99 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
Adaptation to
other Releases
Pre-conditions Com stack is initialized, but ipdu groups are not running
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC]
Request ModeSwitch (call to
BswMModeRequest port) to
IPDU_ACTIVATED (start Ipdu group
AT_259_IpduGroup)
Step 2 [SWC] [LT]
Send triggered signal AT_259_Sg1 (call to AT_259_Ipdu sent out shall occur
Rte_Write() API for Port AT_259_Sg1) with only one time
AT_259_Sg1_Value_1 AT_259_Sg1 value shall be
AT_259_Sg1_Value_1
Step 3 [CP] -
Wait DataSendCompletedEvent occurence
on SWC Sender side.
Step 4 [SWC] [LT]
When DataSendCompletedEvent occurs, AT_259_Ipdu sent out shall occur
send triggered signal AT_259_Sg1 (call to after MinimumDelayTime
Rte_Write() API for Port AT_259_Sg1) with AT_259_Sg1 value shall be
AT_259_Sg1_Value_2 AT_259_Sg1_Value_2
Post- Not Applicable
conditions
ComIpdu(SignalIPdu): AT_260_Ipdu
- ComTxIPduUnusedAreasDefault (unusedBitPattern) is configured
- ComIPduDirection(CommConnectorPort.communicationDirection) = SEND
- ComTxModeTrue
(IPduTiming.TransmissionModeDeclaration.transmissionModeTrueTiming)
100 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
-- ComTxModeMode (TransmissionModeTiming) = DIRECT
(EventControlledTiming)
--- ComTxModeNumberOfRepetitions(numberOfRepetitions) = 4
ComSignal(ISignalToPduMapping): AT_260_Sg1
- ComTransferProperty (transferProperty) = TRIGGERED
- ComUpdateBitPosition (updateIndicationBitPosition) is configured
- DataSendCompletedEvent mapped on signal transmission (ComNotification is
configured)
Summary Aim:
- Check that multiple send triggered signal (related to DIRECT Ipdu) does not cause
triggers accumulation
ComIpdu(SignalIPdu): AT_212_Ipdu
- ComTxIPduUnusedAreasDefault (unusedBitPattern) is configured
- ComIPduDirection(CommConnectorPort.communicationDirection) = SEND
- ComTxModeTrue
(IPduTiming.TransmissionModeDeclaration.transmissionModeTrueTiming)
-- ComTxModeMode (TransmissionModeTiming) = DIRECT
(EventControlledTiming)
--- ComTxModeNumberOfRepetitions(numberOfRepetitions) = 1
- No ComTxModeFalse (transmissionModeFalseTiming)
ComSignal(ISignalToPduMapping): Sg1
- ComTransferProperty (transferProperty) = PENDING
ComSignalGroup(ISignalToPduMapping): SgGr1
- ComTransferProperty (transferProperty) = PENDING
ComSignal(ISignalToPduMapping): Sg2
- ComTransferProperty (transferProperty) = TRIGGERED
for Sg1/SgGr1/Sg2:
- ComUpdateBitPosition (updateIndicationBitPosition) is not configured
- DataSendCompletedEvent mapped on signal transmissio
Summary Aim:
- Test PENDING signal and signal group
- Test Signal and Signal Group Tx notifications
- Tests Signal and Signal Group Error notification on ipdu group control stop
[SWS_Com_00479]
Needed None
Adaptation to
other Releases
Pre-conditions Com stack is initialized, but ipdu groups are not running
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC]
Request ModeSwitch (call to
BswMModeRequest port) to
IPDU_ACTIVATED (start Ipdu group
AT_212_IpduGroup)
Step 2 [SWC] [LT]
Send pending signal AT_212_Sg1 (call AT_212_Ipdu shall not be sent out
Rte_Write() on Port AT_212_Sig1) with
AT_212_Sg1_Value_1
102 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
Step 3 [SWC] [LT]
AT_212_SgGr1.AT_212_GrSg1 = AT_212_Ipdu shall not be sent out
AT_212_GrSg1_Value_1
AT_212_SgGr1.AT_212_GrSg2 =
AT_212_GrSg2_Value_1
AT_212_SgGr1.AT_212_GrSg3 =
AT_212_GrSg3_Value_1\
Send pending signal group AT_212_SgGr1
call (Rte_Write() for Port AT_212_SgGr1)
Step 4 [SWC] [LT]
Send triggered signal AT_212_Sg2 (call AT_212_Ipdu shall be sent 1 time
Rte_Write() for Port AT_212_Sg2) with AT_212_Sg1 value shall
AT_212_Sg2_Value_1 be AT_212_Sg1_Value_1
AT_212_Sg2 value shall
be AT_212_Sg2_Value_1
AT_212_GrSg1 value shall
be AT_212_GrSg1_Value_1
AT_212_GrSg2 value shall
be AT_212_GrSg2_Value_1
AT_212_GrSg3 value shall
be AT_212_GrSg3_Value_1
DataSendCompletedEvent (Tx
notification functions callback)
associated to signal AT_212_Sg1,
signal group AT_212_SgGr1 and
signal AT_212_Sg2 shall be called
Step 5 [SWC]
Send triggered signal AT_212_Sg2 (call
Rte_Write() API for Port AT_212_Sg2) and
stop Ipdu group AT_212_IpduGroup (call to
BswMModeRequest to IPU_DEACTIVATED)
before Tx Irq Confirmation.
Step 6 [CP]
WAIT 200ms
Step 7 [SWC] [SWC]
Call Rte_feedback() API for AT_212_Sg2 Rte_feedback() should return
RTE_E_COM_STOPPED
Post- Not Applicable
conditions
ComSignal(ISignalToPduMapping): Sg1
- No ComFilter
ComSignal(ISignalToPduMapping): Sg2
- ComFilter(DataFilter)
-- dataFilterType = ONE_EVERY_N
-- period/offset configured => TMC = FALSE
- ComSignalInitValue
ComSignalGroup(ISignalToPduMapping): SgGr1
- ComGroupSignal(ISignalToPduMapping): GrSg1
-- No ComFilter
- ComGroupSignal(ISignalToPduMapping): GrSg2
-- ComFilter(DataFilter)
--- dataFilterType = MASK
Summary Aim:
- Check that updating Signal and Group Signal that have no filter does not impact the
TMS [SWS_Com_00676][SWS_Com_00236]
- Check that updating Signal and Group Signal that have filter impacts the TMS
[SWS_Com_00676][SWS_Com_00236]
- Check that if one of TMCs is True, TxModeTrue is used [SWS_Com00032]
- Check that if all TMCs are False, TxModeFalse is used [SWS_Com00799]
- Test MASKED_NEW_EQUALS_X filter
- Test ONE_EVERY_N filter [SWS_Com_00231]
- Test that a TMS does an immediate sent (respecting TimeOffset) [SWS_Com_00495]
Needed None
Adaptation
to other
Releases
Pre- Com stack is initialized, but ipdu groups are not running
conditions
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [LT]
Request ModeSwitch (call to BswMModeRequest port) 1st AT_220_Ipdu sent out shall
104 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
to IPDU_ACTIVATED (start Ipdu group be done after TxModeTrue
AT_220_IpduGroup) Period
Others AT_220_Ipdu sent out
shall be done every
TxModeTrue Period
AT_220_Sg1 value is
AT_220_Sg1_Value_Init
AT_220_Sg2 value is
AT_220_Sg2_Value_Init
AT_220_GrSg1 value is
AT_220_GrSg1_Value_Init
AT_220_GrSg2 value is
AT_220_GrSg2_Value_Init
Step 2 [SWC] [LT]
Send signal AT_220_Sg1 (call to Rte_Write() for Port Tx mode is not changed
AT_220_Sg1) with value AT_220_Sg1_Value_1 (TxModeTrue Period is
AT_220_SgGr1.AT_220_GrSg1=AT_220_GrSg1_Value respected)
_1 AT_220_Sg1 value is
AT_220_SgGr1.AT_220_GrSg2=AT_220_GrSg2_Value AT_220_Sg1_Value_1
_Init AT_220_Sg2 value is
Call Rte_Write() for Port AT_220_SgGr1 AT_220_Sg2_Value_Init
AT_220_GrSg1 value is
AT_220_GrSg1_Value_1
AT_220_GrSg2 value is
AT_220_GrSg2_Value_Init
Step 3 [SWC] [LT]
AT_220_SgGr1.AT_220_GrSg1=AT_220_GrSg1_Value 1st AT_220_Ipdu sent out shall
_1 be done after TxModeFalse
AT_220_SgGr1.AT_220_GrSg2=AT_220_GrSg2_Value Offset
_1 (This value changes the signal TMC to FALSE) Others AT_220_Ipdu sent out
Call Rte_Write() for Port AT_220_SgGr1 shall be done every
TxModeFalse Period
AT_220_Sg1 value is
AT_220_Sg1_Value_1
AT_220_Sg2 value is
AT_220_Sg2_Value_Init
AT_220_GrSg1 value is
AT_220_GrSg1_Value_1
AT_220_GrSg2 value is
AT_220_GrSg2_Value_1
Step 4 [SWC] [LT]
Do several Send signal AT_220_Sg2 (call to 1st AT_220_Ipdu sent out
Rte_Write() for Port AT_220_Sg2) with value immediatly
AT_220_Sg2_Value_1 (The last sent change the group Others AT_220_Ipdu sent out
signal TMC to TRUE) shall be done every
Send signal group AT_220_SgGr1 (call to Rte_Write() TxModeTrue Period
for Port AT_220_SgGr1) AT_220_Sg1 value is
AT_220_Sg1_Value_1
AT_220_Sg2 value is
AT_220_Sg2_Value_1
AT_220_GrSg1 value is
AT_220_GrSg1_Value_1
AT_220_GrSg2 value is
AT_220_GrSg2_Value_1
Step 5 [SWC] [LT]
AT_220_SgGr1.AT_220_GrSg2=AT_220_GrSg2_Value Tx mode is not changed
_2 (This value changes the signal TMC to TRUE) (TxModeTrue Period is
Call Rte_Write() for Port AT_220_SgGr1 respected)
AT_220_Sg1 value is
105 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
AT_220_Sg1_Value_1
AT_220_Sg2 value is
AT_220_Sg2_Value_1
AT_220_GrSg1 value is
AT_220_GrSg1_Value_1
AT_220_GrSg2 value is
AT_220_GrSg2_Value_2
Post- Not Applicable
conditions
ComIpdu(SignalIPdu): AT_221_Ipdu
- ComIPduDirection(CommConnectorPort.communicationDirection) = SEND
- ComTxModeTrue
(IPduTiming.TransmissionModeDeclaration.transmissionModeTrueTiming)
-- DIRECT (EventControlledTiming)
--- NumberOfRepetitions = 2
--- RepetitionPeriod = x
- ComTxModeFalse(transmissionModeFalseTiming)
-- MIXED (EventControlledTiming and CyclicTiming)
--- NumberOfRepetitions = 3
--- RepetitionPeriod = y
--- timeOffset != timePeriod (timePeriod >3 * y)
ComSignal(ISignalToPduMapping): Sg1
- ComTransferProperty (transferProperty) = TRIGGERED
- No ComFilter
- DataSendCompletedEvent mapped on signal transmission (ComNotification is
configured)
ComSignal(ISignalToPduMapping): Sg2
- ComTransferProperty (transferProperty) = PENDING
- ComFilter(DataFilter)
-- dataFilterType = MASKED_NEW_DIFFERS_X
-- period/offset configured =
Summary Aim:
- Check that Time Offset for MIXED ipdu is started on TMS change
[SWS_Com_00495]
- Check that the direct (event) frame in the MIXED ipdu does not perturb the
periodic frames
- Test MASKED_NEW_DIFFERS_X filter
- Test that updating a pending signal does not generate a DIRECT sent but can
generate a TMS switch
Needed None
Adaptation to
other Releases
Pre-conditions Com stack is initialized, but ipdu groups are not running
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [LT]
Request ModeSwitch (call to Tx Mode True is used (AT_221_Ipdu
BswMModeRequest port) to is not sent out)
IPDU_ACTIVATED (start Ipdu group Start AT_221_Ipdu frame monitoring
AT_221_IpduGroup)
Step 2 [SWC]
Send signal AT_221_Sg1 (call Rte_Write()
for Port AT_221_Sg1)
with AT_221_Sg1_Value_1
Step 3 [CP] [LT]
Wait <x + SafetyMargin> (x = Stop frame monitoring, analyse
RepetitionPeriod of AT_221_Ipdu) frames received during monitoring:
- AT_221_Ipdu is sent out 2 times
- First send is immediate after
previous step action Rte_Write()
- Second send is done after <x>
RepetitionPeriod (ModeTrue)
- AT_221_Sg1 value
is AT_221_Sg1_Value_1
- AT_221_Sg2 value
is AT_221_Sg2_Value_1_Init
Step 4 - [SWC]
AT_221_Sg1 notification
(DataSendCompletedEvent) is called
only one time
Step 5 [SWC] [LT]
Send signal AT_220_Sg2 (Call Rte_Write() AT_221_Ipdu is not sent out
for Port AT_221_Sg2)with value Start AT_221_Ipdu frame monitoring
AT_220_Sg2_Value_1 (This value does not
change the signal TMC to FALSE)
Step 6 [SWC]
Send signal AT_220_Sg2 (call Rte_Write()
for Port AT_221_Sg2) with value
AT_220_Sg2_Value_2 (This value changes
the signal TMC to FALSE)
Step 7 [CP] [LT]
Wait <10 * timePeriod> Stop frame monitoring, analyse
frames received during monitoring:
ComSignal(ISignalToPduMapping): Sg1
- ComTransferProperty (transferProperty) =
TRIGGERED_ON_CHANGE_WITHOUT_REPETITION
- No ComFilter
- ComSignalInitValue(ISignal.initValue)
ComSignalGroup(ISignalToPduMapping): SgGr1
- ComTransferProperty (transferProperty) =
TRIGGERED_ON_CHANGE_WITHOUT_REPETITION
- ComGroupSignal(ISignalToPduMapping): GrSg1/GrSg2
-- No ComFilter
-- ComSignalInitValue(ISignal.initValue)
ComSignalGroup(ISignalToPduMapping): SgGr2
- ComTransferProperty (transferProperty) = TRIGGERED
- ComGroupSignal(ISignalToPduMapping): GrSg3/GrSg4
Summary Aim:
ComSignalGroup(ISignalToPduMapping): SgGr1
- No updateIndicationBitPosition
- ComTransferProperty (transferProperty) = TRIGGERED
- DataSendCompletedEvent mapped on signal transmission (ComNotification is
configured)
- ComGroupSignal(ISignalToPduMapping): GrSg1
-- No ComFilter
- ComGroupSignal(ISignalToPduMapping): GrSg2
-- ComFilter(DataFilter)
--- dataFilterType = NEW_IS_OUTSIDE
-- ComSignalInit
Summary Aim:
- Check that Minimum Delay Time (MDT) is checked on TMS change
[SWS_Com_00582]
- Check that Minimum Delay Time (MDT) is started on pdur transmission request
[SWS_Com_00698]
- Test NEW_IS_OUTSIDE filter
Needed None
Adaptation
to other
Releases
Pre- Com stack is initialized, but ipdu groups are not running
conditions
Main Test Execution
ComSignal(ISignalToPduMapping): Sg1
- ComTransferProperty (transferProperty) = TRIGGERED
- ComSignalInitValue(ISignal.initValue) => TMC = TRUE
- ComFilter(DataFilter)
-- dataFilterType = MASKED_NEW_DIFFERS_MASKED_OLD
ComSignalGroup(ISignalToPduMapping): SgGr1
- ComTransferProperty (transferProperty) = TRIGGERED
- ComGroupSignal(ISignalToPduMapping): GrSg1
-- ComSignalInitValue(ISignal.initValue) => TMC = FALSE
-- ComFilter(DataFilter)
--- dataFilterType = MASKED_NEW_DIFFERS_MAS
Summary Aim:
- Test MASKED_NEW_DIFFERS_MASKED_OLD filter
[SWS_Com_00604][SWS_Com_00603][SWS_Com_00302][SWS_Com_00303]
Needed None
Adaptation
to other
Releases
Pre- Com stack is initialized, but ipdu groups are not running
conditions
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [LT]
Request ModeSwitch (call to BswMModeRequest port) AT_224_Ipdu is sent out after
to IPDU_ACTIVATED (start Ipdu group Period and after each Period
AT_224_IpduGroup) (TxMode True)
AT_224_Sg1 value
is AT_224_Sg1_Value_Init
AT_224_GrSg1 value
is AT_224_GrSg1_Value_Init
AT_224_GrSg2 value
is AT_224_GrSg2_Value_Init
Step 2 [SWC] [LT]
Send signal AT_224_Sg1 (call Rte_Write() API for Port AT_224_Ipdu is sent out every
AT_224_Sg1) with AT_224_Sg1_Value_1 (this value Period (TxMode True)
113 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
does not change the signal TMC: TRUE) AT_224_Sg1 value
is AT_224_Sg1_Value_1
AT_224_GrSg1 value
is AT_224_GrSg1_Value_Init
AT_224_GrSg2 value
is AT_224_GrSg2_Value_Init
Step 3 [SWC] [LT]
Send signal AT_224_Sg1 (call Rte_Write() API for Port AT_224_Ipdu is sent out
AT_224_Sg1) with AT_224_Sg1_Value_2 (this value immediately and only 1 time
changes the signal TMC: FALSE) (TxMode False)
AT_224_Sg1 value
is AT_224_Sg1_Value_2
AT_224_GrSg1 value
is AT_224_GrSg1_Value_Init
AT_224_GrSg2 value
is AT_224_GrSg2_Value_Init
Step 4 [SWC] [LT]
AT_224_SgGr1.AT_224_GrSg1=AT_224_GrSg1_Valu AT_224_Ipdu is sent out
e_1 (this value changes the group signal TMC: TRUE) immediately and after each
AT_224_SgGr1.AT_224_GrSg2=AT_224_GrSg2_Valu Period (TxMode True)
e_Init AT_224_Sg1 value
call Rte_Write() for Port AT_224_SgGr1 is AT_224_Sg1_Value_2
AT_224_GrSg1 value
is AT_224_GrSg1_Value_1
AT_224_GrSg2 value
is AT_224_GrSg2_Value_Init
ComIpdu(SignalIPdu): AT_225_Ipdu
- ComIPduDirection(CommConnectorPort.communicationDirection) = SEND
- ComTxModeTrue
(IPduTiming.TransmissionModeDeclaration.transmissionModeTrueTiming)
-- PERIODIC (CyclicTiming)
--- timeOffset != timePeriod
- ComTxModeFalse(transmissionModeFalseTiming)
-- PERIODIC (CyclicTiming)
--- timeOffset != timePeriod (different value from ModeTrue)
ComSignal(ISignalToPduMapping): Sg1
- ComTransferProperty (transferProperty) = TRIGGERED
- ComSignalInitValue(ISignal.initValue) => TMC = FALSE
- ComFilter(DataFilter)
-- dataFilterType = NEW_IS_WITHIN
Summary Aim:
- Check that Ipdu group determines the correct Transmission Mode
[SWS_Com_00228][SWS_Com_00223] => TxModeFalse
- Check that SwitchIpduTxMode (FALSE) does not change the Tx mode
[SWS_Com_00784] => TxModeFalse
- Check that SwitchIpduTxMode (TRUE) changes the
mode [SWS_Com_00784][SWS_Com_00495] => TxModeTrue
- Check that a send signal changes the Tx Mode => TxModeFalse and even if TMC
is false signal is not filter out [SWS_Com_00602]
- Check that upate a signal (change TMC) and restart the IpduGroup determines the
new Transmission Mode [SWS_Com_00223][SWS_Com_00229] => TxModeTrue
- Test NEW_IS_WITHIN filter
Needed
Adaptation to In BswM R3.2.x, SwitchIPduMode action is
other Releases Configuration: [yes] not available. UserCallout action must be
used in this case.
Test Steps: [n/a]
Pre-conditions Com stack is initialized, but ipdu groups are not running
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [LT]
Request ModeSwitch (call to AT_225_Ipdu is sent out after
BswMModeRequest port) to OffsetFalse and after each
IPDU_ACTIVATED (start Ipdu group PeriodFalse
AT_225_IpduGroup) AT_225_Sg1 value is
AT_225_Sg1_Value_Init
ComSignal(ISignalToPduMapping): Sg1
- ComTransferProperty (transferProperty) = TRIGGERED
- DataSendCompletedEvent mapped on signal transmission (ComNotification is
configured)
Summary Aim:
- Check that Trigger Ipdu Send takes into account the MDT
- Check that Trigger Ipdu Send does not take into account the number of repetitions
Needed
Adaptation to In BswM R3.2.x, TriggerIpduSend action is
other Releases Configuration: [yes] not available. UserCallout action must be
used in this case.
Test Steps: [n/a]
Pre-conditions Com stack is initialized, but ipdu groups are not running
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [LT]
Request ModeSwitch (call Rte_Switch AT_223_Ipdu is not sent out
associated to BswMMode port) to
IPDU_ACTIVATED (start Ipdu group
AT_223_IpduGroup)
Step 2 [SWC] [LT]
Send triggered signal AT_223_Sg1 (call The AT_223_Ipdu is sent two times
Rte_Write() API for Port AT_223_Sg1) with (number of repetitions and repetition
AT_223_Sg1_Value_1 period are respected)
AT_223_Sg1 value is
AT_223_Sg1_Value_1
Step 3 [SWC] [LT]
Wait DataSendCompletedEvent during DataSendCompletedEvent occurs
<TransmissionAckTimeout> before <TransmissionAckTimeout>
Step 4 [SWC] [SWC]
In Runnable activated by Return Value of Rte_Feedback is
DataSendCompletedEvent, Get RTE_E_TRANSMIT_ACK
Transmission Feedback of signal
AT_223_Sg1 (call Rte_Feedback)
Step 5 [SWC] [LT]
In Runnable activated by AT_223_Ipdu is sent out only 1 time
DataSendCompletedEvent, Request after MDT elapsed (MDT is respected,
ModeSwitch (call Rte_Switch associated to number of repetitions is ignored)
BswMMode port) to TRIG_IPDU_SEND AT_223_Sg1 value is
(action call TriggerIpduSend for AT_223_Sg1_Value_1
Ipdu_AT_223)
Step 6 [SWC] [SWC]
ComSignal(ISignalToPduMapping): Sg1
- ComTransferProperty (transferProperty) = TRIGGERED
ComIpdu(SignalIPdu): AT_226_Ipdu2
- ComIPduDirection(CommConnectorPort.communicationDirection) = SEND
- No ComTxModeFalse
- ComTxModeTrue
(IPduTiming.TransmissionModeDeclaration.transmissionModeTrueTiming)
-- NONE (no timing assigned)
- ComIPduTriggerTransmitCallout is configured
ComSignal(ISignalToPduMapping): Sg2
Hint: For Ipdu2 Trigger Transmit mechanism is needed. Therefore LIN, FlexRay or
CanNM Pdu should be used for Ipdu2.
Summary Aim:
1) Ipdu Callout [SWS_Com_00346][SWS_Com_00492]
118 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
- Check that if return value of the callout is False, ipdu is not sent out
- Check that if return value of the callout is True, ipdu is sent out (and Ipdu value can
be modified by the callout)
- Check that trigger IpduSend call also the callout
2) Trigger Transmit Callout [SWS_Com_00346]
- Check that the return value of the Trigger Transmit Callout has no effect (Ipdu is
sent out even if the return value is false)
- Check if Trigger Transmit Callout modifies ipdu value, new value is taken into
account
Needed
Adaptation to
other
Releases
Pre- Com stack is initialized, but ipdu groups are running
conditions
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [SWC]
Update signal AT_226_Sg1 (call Rte_Write() AT_226_Ipdu1_Callout is called
API for Port AT_226_Sg1) with
AT_226_Sg1_Value_1
Step 2 [SWC] [LT]
In AT_226_Ipdu1_Callout, set return value to AT_226_IPdu1 is not sent out
FALSE
Step 3 [SWC] [SWC]
Update signal AT_226_Sg1 (call Rte_Write() AT_226_Ipdu1_Callout is called
API for Port AT_226_Sg1) with
AT_226_Sg1_Value_1
Step 4 [SWC] [LT]
In AT_226_Ipdu1_Callout, modify ipdu data AT_226_IPdu1 is sent out one time
(set AT_226_Sg1 value to AT_226_Sg1 value is
AT_226_Sg1_Value_2) AT_226_Sg1_Value_2
Set AT_226_Ipdu1_Callout return value to
TRUE
Step 5 [SWC] [SWC]
Call trigger ipdu send for AT_226_Ipdu1 by AT_226_Ipdu1_Callout is called
Requesting ModeSwitch (call Rte_Switch
associated to BswMMode port) to
TRIG_IPDU_SEND (action call
TriggerIpduSend for Ipdu_AT_226)
Step 6 [SWC] [LT]
In AT_226_Ipdu1_Callout, set return value to AT_226_IPdu1 is sent out one time
TRUE AT_226_Sg1 value is
AT_226_Sg1_Value_2
Step 7 [SWC] [LT]
Wait call of AT_226_IPdu2 is sent out one time
AT_226_Ipdu2_TriggerTransmitCallout AT_226_Sg2 value is
Set AT_226_Sg2_Value_Init
AT_226_Ipdu2_TriggerTransmitCallout return
value to FALSE
Step 8 [SWC] [LT]
Wait call of AT_226_IPdu2 is sent out one time
AT_226_Ipdu2_TriggerTransmitCallout AT_226_Sg2 value is
In AT_226_Ipdu2_TriggerTransmitCallout, AT_226_Sg2_Value_1
modify ipdu data (set AT_226_Sg2 value to
AT_226_Sg2_Value_1 different from init)
119 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
Set
AT_226_Ipdu2_TriggerTransmitCallout return
value to TRUE
Step 9
[SWC]
Call Com_IpduGroupControl using [SWC]
generic BswM Request from The
Application SWC to stop the I-PDU ComIPduTriggerTransmitCallout
groups shall not be called
Post- Not Applicable
conditions
Fibex::FibexCore::CoreCommunication::TransmissionModeTiming = DIRECT
Fibex::FibexCore::CoreCommunication.EventControlledTiming.numberOfRepetitions=
3
Fibex::FibexCore::CoreCommunication::EventControlledTiming.repetitionPeriod =
300 ms
Summary The transmission of assigned I-PDU shall be verified using Com transmission
confirmation of the respective I-PDU and data observed on the bus log.
Needed
Adaptation to
other
Releases
Pre- DUT shall be in Full communication state
conditions
Main Test Execution
120 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
Test Steps Pass Criteria
Step 1 [SWC] [SWC]
Trigger Rte_Write for Signal_13 and E_OK shall be returned for the request
Signal_12 with valid data
Step 2 - [LT]
Frame shall be observed on the bus by
the DUT twice for every Com
Transmission Mode Repetition Period
Step 3 - [SWC]
Com transmission confirmation for the
configured signals should be invoked
Step 4 [SWC] [SWC]
Trigger Rte_Write for Signal_12 with same E_OK shall be returned for the request
data as before
Step 5 - [LT]
Corresponding frame is not transmitted
by the DUT
Step 6 [SWC] [SWC]
Trigger Rte_Write for Signal_11 E_OK shall be returned for the request
Signal_Group_11 and Signal_Group_12 with
valid data
Step 7 - [LT]
Frame shall be observed on the bus by
the DUT thrice for every Com
Transmission Mode Repetition Period
Step 8 - [SWC]
Com transmission confirmation for the
configured signals should be invoked
Step 9 [SWC] [SWC]
Trigger Rte_Write for Signal_Group_12 with E_OK shall be returned for the request
same data as before
Step 10 - [LT]
Corresponding frame is not transmitted
by the DUT
Post- None
conditions
Fibex::FibexCore::CoreCommunication::TransmissionModeTiming = MIXED
Fibex::FibexCore::CoreCommunication.EventControlledTiming.numberOfRepetitions=
2
Fibex::FibexCore::CoreCommunication::EventControlledTiming.repetitionPeriod =
100 ms
Fibex::FibexCore::CoreCommunication::CyclicTiming.timePeriod = 500ms
Summary The transmission of assigned I-Pdu shall be verified using COM transmission
confirmation of the respective I-Pdu and data observed on the trace log.
Needed
Adaptation to
other
Releases
Pre- DUT shall be in Full communication state
conditions
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [SWC]
Trigger Rte_Write for Signal_16 and E_OK shall be returned for the request
Signal_14 with valid data
Step 2 - [LT]
Frame shall be observed on the bus by
the DUT twice for every Com
Transmission Mode RepetitionPeriod
Step 3 - [SWC]
Com transmission confirmation for the
configured signals should be invoked
Step 4 [SWC] [SWC]
Trigger Rte_Write for Signal_14 with same E_OK shall be returned for the request
data as before
Step 5 - [LT]
Corresponding frame is not transmitted
by the DUT
Step 6 [SWC] [SWC]
Trigger Rte_Write for SignalGroup_14 and E_OK shall be returned for the request
SignalGroup_13 with valid data
Step 7 - [LT]
Frame shall be observed on the bus by
the DUT twice in a period of Com
Transmission Mode Repetition Period
and periodically for every Cycle time
Step 8 - [SWC]
Com transmission confirmation for the
configured signals should be invoked
Step 9 [SWC] [SWC]
Trigger Rte_Write for SignalGroup_13 with E_OK shall be returned for the request
same data as before
Step 10 - [LT]
122 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
Immediate transmission of frame is not
observed and only regular periodic
instances of the frame are observed
Post- None
conditions
Fibex::FibexCore::CoreCommunication::TransmissionModeTiming = DIRECT
Fibex::FibexCore::CoreCommunication.EventControlledTiming.numberOfRepetitions=
3
Fibex::FibexCore::CoreCommunication::EventControlledTiming.repetitionPeriod =
100 ms
Summary The transmission of assigned I-PDU shall be verified using Com transmission
confirmation of the respective I-PDU and data observed on the trace log.
Needed
Adaptation to
other
Releases
Pre- DUT shall be in Full communication mode
conditions
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [SWC]
Trigger Rte_Write for Signal_18 and E_OK shall be returned for the request
Signal_17 with valid data
Step 2 - [LT]
Frame shall be transmitted once by the
DUT
Step 3 - [SWC]
123 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
Com transmission confirmation for the
configured signals should be invoked
Step 4 [SWC] [SWC]
Trigger Rte_Write for Signal_19 E_OK shall be returned for the request
Signal_Group_15 and Signal_Group_16 with
valid data
Step 5 - [LT]
Frame shall be transmitted once by the
DUT
Step 6 - [SWC]
Com transmission confirmation for the
configured signals should be invoked
Post- None
conditions
Fibex::FibexCore::CoreCommunication::TransmissionModeTiming = MIXED
Fibex::FibexCore::CoreCommunication.EventControlledTiming.numberOfRepetitions=
3
Fibex::FibexCore::CoreCommunication::EventControlledTiming.repetitionPeriod =
100 ms
Fibex::FibexCore::CoreCommunication::CyclicTiming.timePeriod = 200 ms
Summary The transmission of assigned I-PDU shall be verified using Com transmission
confirmation of the respective I-PDU and data observed on the trace log.
Needed
Adaptation to
other
Releases
Pre- DUT shall be in Full communication state
Fibex::FibexCore::CoreCommunication::TransmissionModeTiming = MIXED
Fibex::FibexCore::CoreCommunication.EventControlledTiming.numberOfRepetitions=
3
Fibex::FibexCore::CoreCommunication::EventControlledTiming.repetitionPeriod =
100 ms
Fibex::FibexCore::CoreCommunication::CyclicTiming.timePeriod = 200 ms
Summary The transmission of assigned I-Pdu shall be verified using Com transmission
confirmation of the respective I-PDU and data observed on the trace log.
Needed
Adaptation to
other
Releases
Pre- DUT shall be in Full communication state
conditions
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [SWC]
Trigger Rte_Write for Signal_91 and E_OK shall be returned for the request
Signal_90 with valid data
Step 2 - [LT]
Frame shall be observed on the bus
immediately and periodically for every
Com Transmission Mode Time
Periodtime
Step 3 - [SWC]
Com transmission confirmation for the
configured signals should be invoked
Step 4 [SWC] [SWC]
Trigger Rte_Write for Signal_90 with same E_OK shall be returned for the request
data as before
Step 5 - [LT]
Corresponding frame is not transmitted
by the DUT
Step 6 [SWC] [SWC]
Trigger Rte_Write for Signal_Group_93 E_OK shall be returned for the request
Signal_Group_92 and Signal_Group_91 with
valid data
Step 7 - [LT]
Frame shall be observed on the bus
immediately and periodically for every
Com Transmission Mode Time
Periodtime
Step 8 - [SWC]
Com transmission confirmation for the
configured signals should be invoked
Step 9 [SWC] [SWC]
Trigger Rte_Write for Signal_Group_91 with E_OK shall be returned for the request
same data as before
Step 10 - [LT]
Immediate transmission of frame is not
observed and only regular periodic
instances of the frame are observed
Post- None
conditions
Fibex::FibexCore::CoreCommunication::TransmissionModeTiming = MIXED
Fibex::FibexCore::CoreCommunication::CyclicTiming.timePeriod = 500 ms
CoreCommunication::IPduTiming.minimumDelay = 300 ms
Fibex::FibexCore::CoreCommunication::EventControlledTiming.repetitionPeriod =
250 ms
Fibex::FibexCore::CoreCommunication.EventControlledTiming.numberOfRepetitions=
2
Summary By using the Com_MinimumDelayTime we shall observe whether the immediate
transmission of the assigned I-Pdu is occurring or not.
Needed
Adaptation to
other
Releases
Pre- DUT shall be in Full communication state
conditions
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [SWC]
Call Rte_Write for Signal_95 Signal_97 and E_OK shall be returned for the request
SignalGroup_96 with valid data
Step 2 - [LT]
Frames should be observed with the
value on bus by the DUT twice in a
period of 250ms and periodically for
every Com Transmission Mode
Repetition Period
Step 3 - [SWC]
Com transmission confirmation for the
configured signals and signal groups
should be invoked accordingly
127 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
Step 4 [SWC] [SWC]
Call Rte_Write for SignalGroup_97 with valid E_OK shall be returned for the request
data before expiry of Minimum Delay Timer
Step 5 - [LT]
Corresponding Frame should not be
observed immediately on bus by the
DUT
Step 6 [SWC] [SWC]
Call Rte_Write for SignalGroup_97 with valid E_OK shall be returned for the request
data after expiry of Minimum Delay Timer
Step 7 - [LT]
Frames should be observed with the
value on bus by the DUT after Com
Minimum Delay Time twice in a period
of Com Transmission Mode Repetition
Period and periodically for every Com
Transmission Mode Time Period
Step 8 - [LT]
Com transmission confirmation for the
configured signals and signal groups
should be invoked accordingly
Post- None
conditions
Fibex::FibexCore::CoreCommunication::TransmissionModeTiming = PERIODIC
Fibex::FibexCore::CoreCommunication::CyclicTiming.timePeriod = 200 ms
Fibex::FibexCore::CoreTopology::CommConnectorPort.communicationDirection =
SEND
ComIPduCallout = App_Com_Tx_IPdu_Request_Sn_74
Summary The invocation of I-Pdu callout shall be verified by configuring Com transmission I-
Pdu callout.
Needed
128 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
Adaptation to
other Releases
Pre-conditions DUT shall be in Full communication state
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [SWC]
Call Rte_Write for Signal_75 Signal_76 E_OK shall be returned for the
SignalGroup_74 and SignalGroup_75 with request
valid data
Step 2 [SWC] [SWC]
Call Rte_Write for Signal_74 with valid data E_OK shall be returned for the
request
Step 3 - [SWC]
Com transmission I-Pdu callout with
Data should be invoked periodically
for every Com Transmission Mode
Time Period
Post- None
conditions
Fibex::FibexCore::CoreCommunication::TransmissionModeTiming = MIXED
Fibex::FibexCore::CoreCommunication::CyclicTiming.timePeriod = 500 ms
Fibex::FibexCore::CoreCommunication.EventControlledTiming.numberOfRepetitions
=1
Fibex::FibexCore::CoreTopology::CommConnectorPort.communicationDirection =
SEND
ComIPduCallout = App_Com_Tx_IPdu_Request_Sn_80
Summary The invocation of I-Pdu callout shall be verified by configuring Com transmission I-
Pdu callout.
Needed
Adaptation to
other Releases
Fibex::FibexCore::CoreCommunication::TransmissionModeTiming = DIRECT
Summary The update bit should be set in data observed on the trace log.
Needed
Adaptation to
other Releases
Pre-conditions DUT shall be in Full communication state
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [SWC]
Trigger Explicit Rte_Write for E_OK shall be returned for the
SignalGroup_43 Signal_43 and Signal_44 request
130 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
with valid data
Step 2 - [LT]
Frame shall be transmitted on the bus
by the DUT and check if the updated
bits are updated for each signal
Step 3 - [SWC]
Com transmission confirmation for the
configured signals and signal groups
should be invoked
Step 4 [SWC] [SWC]
Trigger Explicit Rte_Write for Signal_44 with E_OK shall be returned for the
valid data request
Step 5 - [LT]
Frame shall be transmitted on the bus
by the DUT and check that the
updated bit is updated only for
Signal_44 and not for other two.
Step 6 - [SWC]
Com transmission confirmation for the
configured Signal_44 should be
invoked
Post- None
conditions
Fibex::FibexCore::CoreCommunication::TransmissionModeTiming = PERIODIC
Fibex::FibexCore::CoreCommunication::CyclicTiming.timePeriod = 200 ms
Summary The update bit should be set in data observed on the trace log.
Needed
Adaptation to
Fibex::FibexCore::CoreCommunication::TransmissionModeTiming = MIXED
Fibex::FibexCore::CoreCommunication::CyclicTiming.timePeriod = 200 ms
Fibex::FibexCore::CoreCommunication.EventControlledTiming.numberOfRepetitions=
2
Fibex::FibexCore::CoreCommunication::EventControlledTiming.repetitionPeriod =
100 ms
Summary The update bit should be set in data observed on the trace log.
Needed
Adaptation to
other
Releases
Pre- DUT shall be in Full communication state
conditions
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [SWC]
Trigger Explicit Rte_Write for Signal_47 E_OK shall be returned for the request
SignalGroup_47 and Signal_48 with valid data
Step 2 - [LT]
Frames shall be transmitted by the
DUT and check if the updated bits are
updated for each signal on the
immediate transmission and no update
bits are set for the subsequent periodic
transmissions
Step 3 - [SWC]
Com transmission confirmation for the
configured signals and signal groups
should be invoked
Step 4 [SWC] [SWC]
Trigger Explicit Rte_Write for Signal_48 with a E_OK shall be returned for the request
different valid data
Step 5 - [LT]
Frames shall be transmitted by the
DUT and check if the updated bits are
updated for only Signal_48 on the
immediate transmission and no update
bits are set for the subsequent periodic
transmissions
Step 6 - [SWC]
Com transmission confirmation for the
configured signals and signal groups
should be invoked
Post- None
conditions
Fibex::FibexCore::CoreCommunication::ISignalToIPduMapping.transferProperty =
TRIGGERED(For all the signals and signal groups configured)
Fibex::FibexCore::CoreCommunication::TransmissionModeTiming = DIRECT
Summary The routing of signal shall be verified observing data on the trace log.
Needed
Adaptation to
other Releases
Pre-conditions DUT shall be in Full communication state
Main Test Execution
Test Steps Pass Criteria
Step 1 [LT] [LT]
Send the frame Rx_IPDU_SR from Tester to Frame Tx_IPDU_SR is not
the DUT without setting any of the update transmitted by the DUT
bits configured
Step 2 [SWC] [SWC]
Trigger Rte_Write for Signal_66 with a valid E_OK shall be returned for the
data request
Step 3 - [LT]
Frame TX_IPDU_SR is transmitted
with just the updated value for
Signal_66 and no other signal has
updated values
Step 4 [LT] [LT]
Send the frame Rx_IPDU_SR from Tester to DUT transmits Frame TX_IPDU_SR
the DUT with all the signals with a different with the updated values and their
values and update bits set corresponding update bits se (except
Signal_66)t
Post- None
conditions
134 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
Fibex::FibexCore::CoreCommunication::ISignalToIPduMapping.transferProperty =
TRIGGERED(For all the signals and signal groups configured)
Fibex::FibexCore::CoreCommunication::TransmissionModeTiming = DIRECT
Summary The routing of signal shall be verified observing data on the trace log.
Needed
Adaptation to
other Releases
Pre-conditions DUT shall be in Full communication state
Main Test Execution
Test Steps Pass Criteria
Step 1 [LT] [LT]
Send the frame Rx_IPDU_SR from Tester to Frame Tx_IPDU_SR is not
the DUT without setting any of the update transmitted by the DUT
bits configured
Step 2 [SWC] [SWC]
Trigger Rte_Write for Signal_70 with a valid E_OK shall be returned for the
data request
Step 3 - [LT]
Frame TX_IPDU_SR is transmitted
with updated value for just Signal_70
and the routed signals without any
change in value.
Post- None
conditions
Fibex::FibexCore::CoreCommunication::ISignalToIPduMapping.transferProperty =
TRIGGERED(For all the signals and signal groups configured)
Fibex::FibexCore::CoreCommunication::TransmissionModeTiming = DIRECT
Summary The routing of signal shall be verified by data observed on the trace log.
Needed
Adaptation to
other Releases
Pre-conditions DUT shall be in Full communication state
Main Test Execution
Test Steps Pass Criteria
Step 1 [LT] [LT]
Send the frame Rx_IPDU_SR from Tester to Frame TX_IPDU_SR is not
the DUT without setting any of the update transmitted
bits configured
Step 2 [LT] [LT]
Send the frame Rx_IPDU_SR from Tester to Frame TX_IPDU_SR is transmitted
the DUT with all updated signals and their with all updated values
corresponding update bits set
Post- None
conditions
The tests use a test bench environment and Embedded Software Components that
use the feature.
This test case document has been established to cover the following features:
This specification gives the description of required tests environments (test bench,
uses case, arxml files) and detailed tests cases for executing tests.
For this use case, the aim is to test general large data type transfer features
independently of the Bus.
The test system architecture consists of Test Bench that executes only test
sequencer and gives actions request through Test coordination Procedures to
embedded SWC.
The Bus used (CAN or FlexRay or Lin) is independent for this use case.
For the Software Component point of view, for each test case, the communication
interfaces are defined as follow:
Therefore ports and signals names change according to Test Case number, but the
building rule is the same.
ComSignal(ISignalToPduMapping): Sg1
- ComSignalLength(baseTypeSize) > Size of <BUS> capability
ComSignalGroup(ISignalToPduMapping): SgGr1
- Signal is queued
- ComTransferProperty (transferProperty) = TRIGGERED
- DataSendCompletedEvent mapped on signal transmission (ComNotification is
configured)
- ComGroupSignal(ISignalToPduMapping): GrSg1/GrSg2
-- ComSignalInitValue
Summary Aim:
- Check that on User Request (triggered event) a TP transmission is executed by Com
module
- Check that TP transmission can be done only if ipdu group is started
- Test Tx notification
Sequence:
1) Action: Do a send Send signal
- Result: TP transmission is not done
2) Start ipdu group
- Result: TP transmission is not done
3) Action: Send a triggered signal
- Result: TP transmission is done
- Result: Group Signal values are initial value
- Result: Signal value is changed
- Result: Signal and SignalGroup Tx notifications are called when the last segmented
frame is sent out
4) Action: Send a triggered signal group (after updating group signal)
- Result: TP transmission is done
- Result: Group Signal values are changed
- Result: Signal value is not changed
- Result: Signal and SignalGroup Tx notifications are called when the last segmented
frame is sent out
Needed
Adaptation Configuration: [n/a] Large data types and TP for regular COM is
to other not possible in R3.x.
Releases Test Steps: [n/a]
This test case shall be removed
Pre- Com stack is initialized, but ipdu groups are not running
conditions
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [LT]
Call Rte_Send() for Port AT_233_Sg1 TP transmission is not done
(Rte will perform a send signal AT_233_Sg1)
Step 2 [SWC] [LT]
Request ModeSwitch (call to BswMModeRequest port) TP transmission is not done
to IPDU_ACTIVATED (start Ipdu group
AT_233_IpduGroup)
Step 3 [SWC] [LT]
Call Rte_Send() for Port AT_233_Sg1 with TP transmission is done
AT_233_Sg1_Value_1 AT_233_Sg1 value
Step 6 - [SWC]
AT_233_Sg1 and
AT_233_SgGr1 notifications
(DataSendCompletedEvent)
are called when the last
segmented frame is sent out
Post- Not Applicable
conditions
ComSignal(ISignalToPduMapping): Sg1
- ComSignalLength(baseTypeSize) > Size of <BUS> capability
- Signal is queued
- ComTransferProperty (transferProperty) = PENDING
- DataSendCompletedEvent mapped on signal transmission (ComNotification is
configured)
- ComSignalInitValue
Summary Aim:
- Check that a periodic TP transmission is executed by Com module
Sequence:
1) Start ipdu group
- Result: first TP transmission is done after OffsetTime
- Result: other TP transmissions are started every PeriodTime
- Signal value is the initial value
2) Action: Update a pending signal
- Result: Periodic sent are not disturbed
- Result: Signal value is changed
Needed
Adaptation to Configuration: [n/a] Large data types and TP for regular COM is
other Releases not possible in R3.x.
Test Steps: [n/a]
This test case shall be removed
Pre-conditions Com stack is initialized, but ipdu groups are not running
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [LT]
Request ModeSwitch (call to First TP transmission is done after
BswMModeRequest port) to OffsetTime, other TP transmissions
IPDU_ACTIVATED (start Ipdu group are started every PeriodTime
AT_234_IpduGroup) AT_234_Sg1 value
is AT_234_Sg1_Value_Init
Step 2 [SWC] [LT]
Call Rte_Send() for AT_234_Sg1 with Periodic sent are not disturbed
AT_234_Sg1_Value_1 AT_234_Sg1 value is now
(Update a pending signal AT_234_Sg1 AT_234_Sg1_Value_1
with AT_234_Sg1_Value_1)
Post- Not Applicable
conditions
ComSignal(ISignalToPduMapping): Sg1
- ComSignalLength(baseTypeSize) > Size of <BUS> capability
- Signal is queued
- ComTransferProperty (transferProperty) = TRIGGERED
- DataSendCompletedEvent mapped on signal transmission (ComNotification is
configured)
- ComSignalInitValue
Summary Aim:
- Check that a periodic TP transmission is executed by Com module
- Check that on User Request (triggered event) a TP transmission is executed by
Com module
Sequence:
1) Start ipdu group
- Result: TP transmission is done periodically
2) Action: Send a triggered signal
- Result: one event TP transmission is inserted between two periodic TP
transmissions
Needed
Adaptation to Configuration: [n/a] Large data types and TP for regular COM is
other Releases Test Steps: [n/a] not possible in R3.x.
This test case shall be removed
Pre-conditions Com stack is initialized, but ipdu groups are not running
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [LT]
Request ModeSwitch (call to TP transmission is done periodically
BswMModeRequest port) to AT_235_Sg1 value
IPDU_ACTIVATED (start Ipdu group is AT_235_Sg1_Value_Init
AT_235_IpduGroup)
Step 2 [SWC] [LT]
Call Rte_Send() for Port AT_235_Sg1 with One event TP transmission is inserted
AT_235_Sg1_Value_1 ( Rte will send a between two periodic TP
triggered signal AT_235_Sg1 with transmissions
AT_235_Sg1_Value_1 ) AT_235_Sg1 value is now
AT_235_Sg1_Value_1
Post- Not Applicable
conditions
147 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
ComSignal(ISignalToPduMapping): Sg1
- ComSignalType(networkRepresentationProps.swBaseType) != UINT8_DYN
- ComBitSize(ISignal.length) = 8 bits
- ComTransferProperty (transferProperty) = PENDING
ComSignal(ISignalToPduMapping): Sg2
- ComSignalType(swBaseType + SystemSignal.dynamicLength) = UINT8_DYN(No
BaseTypeEncoding/BaseTypeSize=maxBaseTypeSize + dynamicLength=true)
- ComSignalLength(baseTypeSize) = 254 bytes
- ComTransferProperty (transferProperty) = TRIGGERED
for Sg1/Sg2:
- Signal is queued
- DataSendCompletedEvent mapped on signal transmission (ComNotification is
configured)
Summary Aim:
- Check that dynamic send is taken into account for the TP transmission
Sequence:
1) Start ipdu group
- Result: TP transmission is not done
2) Action: update pending signal (Sg1)
- Result: TP transmission is not done
3) Action: Send a triggered dynamic signal (Sg2) (ipdu length lower than a SF)
- Result: TP transmission is done
- Result: TP IPDU length is adjusted (only Single frame is sent)
- Result: Sg1 and Sg2 values are different from initial values
148 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
4) Action: Send a triggered dynamic signal (Sg2) (ipdu length greater than a SF)
- Result: TP transmission is done
- Result: TP IPDU length is adjusted (complete TP exchange is done, FF, CF and FC
(except for Lin))
- Result: Sg1 and Sg2 values are different from initial values
Needed
Adaptation Configuration: [n/a] Transmission of dynamic messages is not
to other Test Steps: [n/a] possible in R3.x.
Releases This test case shall be removed
Pre- Com stack is initialized, but ipdu groups are not running
conditions
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [LT]
Request ModeSwitch (call to No frame sent out
BswMModeRequest port) to
IPDU_ACTIVATED (start Ipdu group
AT_236_IpduGroup)
Step 2 [SWC] [LT]
Call Rte_Send() for Port AT_236_Sg1 with No frame sent out
AT_236_Sg1_Value_1
(Rte will send the pending signal
(AT_236_Sg1) with AT_236_Sg1_Value_1)
Step 3 [SWC] [LT]
Call Rte_Send(<data>, <length = 5>) for Port Only 1 Single frame (FlexRay = STF
AT_236_Sg2 with value Start Frame) is sent.
AT_236_Sg2_Value_1(Rte will send a AT_236_Sg1 (1 byte) value is
triggered dynamic signal (AT_236_Sg2) (length AT_236_Sg1_Value_1 (Static Length)
is 5) with AT_236_Sg2_Value_1) AT_236_Sg2 (5 bytes) value is
AT_236_Sg2_Value_1 (Dynamic
Length)
Data bytes Length (SF_DL / STF_ML)
is 6 bytes
Step 4 [SWC] [LT]
Call Rte_Send(<data>, <length = 254>) for TP transmission is started: First frame
Port AT_236_Sg2 with AT_236_Sg2_Value_2 (FlexRay = STF Start Frame) is sent.
( Rte will send a triggered dynamic signal Data bytes Length (FF_DL / STF_ML)
(AT_236_Sg2 ) (length is 254) with is 255 bytes
AT_236_Sg2_Value_2) complete TP exchanges are done
(CF...)
AT_236_Sg1 (1 byte) value is
AT_236_Sg1_Value_1 (Static Length)
AT_236_Sg2 (254 bytes) value is
AT_236_Sg2_Value_2 (Dynamic
Length)
Post- Not Applicable
conditions
ComSignal(ISignalToPduMapping): Sg1
- Signal is queued
- DataSendCompletedEvent mapped on signal transmission (ComNotification is
configured)
- ComErrorNotification is configured
- ComTransferProperty (transferProperty) = TRIGGERED
Summary Aim:
- Check that stop an ipdu group cancel the ongoing TP transmission
Sequence:
1) Start ipdu group
- Result: TP transmission is not done
2) Action: Send a triggered signal
- Result: TP transmission is started
3) Action: Stop ipdu group before all consecutives frames are sent out
- Result: TP transmission is stopped
- Result: SIgnal error notification is called
Needed
Adaptation to Configuration: [n/a] Transmission of dynamic messages is not
other Releases possible in R3.x.
Test Steps: [n/a]
This test case shall be removed
Pre-conditions Com stack is initialized, but ipdu groups are not running
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [LT]
Request ModeSwitch (call to TP transmission is not done
BswMModeRequest port) to
IPDU_ACTIVATED (start Ipdu group
AT_238_IpduGroup)
ComSignal(ISignalToPduMapping): Sg1
- Signal is queued
- DataReceivedEvent mapped on signal reception (ComNotification is configured)
151 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
Summary Aim:
- Check that stop an ipdu group cancel the ongoing TP reception
Sequence:
1) Start ipdu group
2) Action: Lower Tester Send FF of TP frame
- Result: TP reception is started
3) Action: Stop ipdu group before all consecutives frames are sent out
- Result: TP reception is stopped
- Result: partly received Data is not provided to SWC
Needed
Adaptation to Configuration: [n/a] Transmission of dynamic messages is not
other Releases possible in R3.x.
Test Steps: [n/a]
This test case shall be removed
Pre-conditions Com stack is initialized, but ipdu groups are not running
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC]
Request ModeSwitch (call to
BswMModeRequest port) to
IPDU_ACTIVATED (start Ipdu group
AT_275_IpduGroup)
Step 2 [LT] [LT]
Send AT_275_Sg1 with TP transmission is started (First
AT_275_Sg1_Value1 (First Frame of TP Frame is sent out)
Frame is sent)
Step 3 [LT] [LT]
Wait Flow Control frame from SUT (except Flow Control frame is received
for LIN bus where Flow Control is not
needed)
Step 4 [SWC]
Request ModeSwitch (call to
BswMModeRequest port) to
IPDU_DEACTIVATED (stop Ipdu group
AT_275_IpduGroup)
Step 5 [LT]
Consecutive Frame shall not be sent
9 Miscellaneous features
9.1 General Test Objective and Approach
This test suite provides additional test cases for miscellaneous features of the Bus
Independent features, when they do not require a complete test suite on their own.
This specification gives the description of required tests environments (test bench,
uses case, arxml files) and detailed tests cases for executing tests.
For this use case, the aim is to test general large data type transfer features
independently of the Bus.
The test system architecture consists of Test Bench that executes only test
sequencer and gives actions request through Test coordination Procedures to
embedded SWC.
The Bus used (CAN or FlexRay or Lin) is independent for this use case.
Frame Configuration:
Fibex::FibexCore::CoreCommunication::TransmissionModeTiming = DIRECT
Fibex::FibexCore::CoreCommunication::Timing.EventControlledTiming.numberOfRepe
ats = Ex: 2 (user configurable)
Fibex::FibexCore::CoreCommunication::EventControlledTiming.repetitionPeriod = Ex:
100 ms (user configurable)
Summary The functionality of PduR_EnableRouting and PduR_DisableRouting shall be achieved
by using the BswM module’s functionality BswMPduRouterControl action where a
configured user callout shall be invoked in ComM current state notification which will in
turn switch the BswM mode.
Needed
Adaptation to
other
Releases
Pre- DUT shall be in Full Communication
159 of 165 Document ID 666: AUTOSAR_ATS_CommunicationViaBus
- AUTOSAR Confidential -
Acceptance Test Specification of Communication via
bus
AUTOSAR TC Release 1.2.0
conditions
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [SWC]
Invoke Rte_Write for sending the data. Rte_Write shall return RTE_E_OK.
Step 2 - [LT]
The respective frame is not transmitted
on the bus.
Step 3 [SWC] [SWC]
SendBswM_RequestMode for changing BswM Callout function
mode to disable the routing. App_PduR_User_RDSBL shall be
invoked indicating the call of
PduR_DisableRouting
Step 4 [SWC] [SWC]
Invoke Rte_Write for sending the data. Rte_Write shall return RTE_E_OK.
Step 5 [SWC] [SWC]
SendBswM_RequestMode for changing BswM Callout function
mode to enable the routing. App_PduR_User_RENBL shall be
invoked indicating the call of
PduR_EnableRouting
Step 6 [SWC] [LT]
Invoke Rte_Write for sending the data. Tester shall observe for expected
frames on bus.
Post- None
conditions
Frame Configuration:
Fibex::FibexCore::CoreCommunication::TransmissionModeTiming = DIRECT
Fibex::FibexCore::CoreCommunication::Timing.EventControlledTiming.numberOfRepe
ats = Ex: 2 (user configurable)
Fibex::FibexCore::CoreCommunication::EventControlledTiming.repetitionPeriod = Ex:
100 ms (user configurable)
Signal = Signal_TC2Tx
Summary The required functionality shall be tested indirectly through Rte confirmation for the
configured signal and the data observed on the trace log.
Needed
Adaptation to
other
Releases
Pre- DUT should be in full communication
conditions
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [SWC]
Invoke Rte_Write for sending the data with Rte_Write shall return RTE_E_OK.
Signal_TC2Tx.
Step 2 - [LT]
Tester shall observe for expected
frames on bus.
Step 3 - [SWC]
Com notification
App_Com_CbkTxAck_TC_002 shall be
invoked
Post- None
conditions
Frame Configuration:
Fibex::FibexCore::CoreCommunication::TransmissionModeTiming = DIRECT
Fibex::FibexCore::CoreCommunication::Timing.EventControlledTiming.numberOfRepe
ats = Ex: 2 (user configurable)
Fibex::FibexCore::CoreCommunication::EventControlledTiming.repetitionPeriod = Ex:
100 ms (user configurable)
Signal = Signal_TC3Tx
Summary The required functionality shall be achieved by invoking Rte_Write and observing the
data on the trace log. It’s an indirect testing.
Needed
Adaptation to
other
Releases
Pre- DUT shall be in full communication
conditions Lin and FlexRay schedule table shall be started
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [SWC]
Invoke Rte_Write for sending the data with Rte_Write shall return RTE_E_OK.
Signal_TC3Tx.
Step 2 - [LT]
Tester shall observe for expected CAN
LIN & FlexRay frames on bus.
Post- None
conditions
Frame Configuration:
Fibex::FibexCore::CoreCommunication::TransmissionModeTiming = DIRECT
Fibex::FibexCore::CoreCommunication::Timing.EventControlledTiming.numberOfRepe
ats = Ex: 2 (user configurable)
Fibex::FibexCore::CoreCommunication::EventControlledTiming.repetitionPeriod = Ex:
100 ms (user configurable)
Summary The required functionality shall be achieved by sending the data from tester and the
frame is replicated in other buses. This can be confirmed by observing it on the trace
log for the corresponding gateway frames.
Needed
Adaptation to
other
Releases
Pre- DUT shall be in full communication
conditions
Main Test Execution
Test Steps Pass Criteria
Step 1 [LT] [SWC]
Transmit the source CAN frame from the tester Com notification for the corresponding
signal shall be invoked
Step 2 - [LT]
Tester shall observe for expected
frames in CANLIN and FlexRay buses.
Post- None
conditions
Frame Configuration:
Fibex::FibexCore::CoreCommunication::TransmissionModeTiming = DIRECT
Fibex::FibexCore::CoreCommunication::Timing.EventControlledTiming.numberOfRepe
ats = Ex: 2 (user configurable)
Fibex::FibexCore::CoreCommunication::EventControlledTiming.repetitionPeriod = Ex:
100 ms (user configurable)
Signal = Signal_TC9Tx
Summary The required functionality shall be tested indirectly through Rte confirmation for the
configured signal and the data observed on the trace log.
Needed
Adaptation to
other
Releases
Pre- DUT shall be in full communication
conditions
Main Test Execution
Test Steps Pass Criteria
Step 1 [SWC] [SWC]
Invoke Rte_Write for Signal_TC9Tx with data. Rte_Write shall return RTE_E_OK.
Step 2 - [LT]
Corresponding frame is transmitted on
the bus.
Step 3 - [SWC]
Com transmission confirmation
App_Com_CbkTxAck_TC_009 shall be
invoked.
Post- None
conditions
Frame Configuration:
Fibex::FibexCore::CoreCommunication::TransmissionModeTiming = DIRECT
Fibex::FibexCore::CoreCommunication::Timing.EventControlledTiming.numberOfRepe
ats = Ex: 2 (user configurable)
Fibex::FibexCore::CoreCommunication::EventControlledTiming.repetitionPeriod = Ex:
100 ms (user configurable)
Summary The required functionality shall be achieved by sending the data from tester and finally
observing it on the trace log for the corresponding gateway signal.
Needed
Adaptation to
other
Releases
Pre- DUT shall be in full communication
conditions
Main Test Execution
Test Steps Pass Criteria
Step 1 [LT] [SWC]
Transmit the configured TP frame to the DUT. Com notification
App_Com_CbkRxAck_TC_013 for the
configured signal shall be invoked after
the complete reception of the frame
Step 2 - [LT]
Same frame shall be observed also on
the other buses also.
Post- None
conditions