ECMA-362 2nd Edition December 2005
ECMA-362 2nd Edition December 2005
Ecma International Rue du Rhône 114 CH-1204 Geneva T/F: +41 22 849 6000/01 www.ecma-international.org
IW ECMA-362.doc 08/12/2005 15:08
.
Brief history
In 2002, Ecma International formed Task Group 19 of Technical Committee 32 to specify Near Field
Communication (NFC) signal interfaces and protocols. The NFC devices are wireless closely coupled
devices communicating at 13,56 MHz.
The General Assembly of December 2002 adopted Near Field Communication Interface and Protocol-1
(NFCIP-1) as Standard ECMA-340.
This Ecma standard specifies protocol tests for ECMA-340 and complements ECMA-356, which specifies
the RF interface tests for ECMA-340.
This 2 nd Edition is completely aligned with ISO/IEC 23917:2005.
This Ecma Standard has been adopted by the General Assembly of December 2005.
Table of contents
1 Scope 1
2 Conformance 1
3 References 1
4 N o t a t i o n a l c o n ve n t i o n s 1
6 A c r o n ym s a n d a b b r e vi a t i o n s 3
7 General description 4
-i -
8.4 Activation in Active communication Mode 7
8.4.1 RF Collision Avoidance 7
8.5 Logical operation of the Target Transport Protocol 8
8.5.1 Handling of ATR_REQ 8
8.5.2 Handling of PSL_REQ 9
8.5.3 Handling of DEP_REQ Information PDUs 10
8.5.4 Handling of DEP_REQ Information PDUs with the "more information" bit set
to ONE 12
8.5.5 Handling of DEP_REQ supervisory PDU's with timeout bit set to ONE 16
8.5.6 Handling of DEP_REQ supervisory PDUs with timeout bit set to ZERO 17
8.5.7 Handling of DSL_REQ 18
8.5.8 Handling of RLS_REQ 19
8.5.9 Handling of WUP_REQ (Active communication Mode Only) 20
9.1 A p p a r a t u s f o r t e s t i n g t h e I n i ti a t o r ( I n i t i a t o r - t e s t - a p p a r a t u s ) 23
9.1.1 Initiator test apparatus concept 23
9.1.2 Protocol activation procedure for Passive communication Mode at 106 kbps 23
9.1.3 Protocol activation procedures for Passive communication Mode at 212 and
424 kbps 23
9.1.4 Protocol activation procedures for Active communication Mode 24
9.2 List of protocol test methods for Initiators 24
9.3 Activation in Passive communication Mode at 212 and 424 kbps 25
9.3.1 Frame format 25
9.3.2 SDD at 212 and 424 kbps 25
9.4 Activation in Active communication Mode 26
9.4.1 Initial RF Collision Avoidance 26
9.4.2 Response RF Collision Avoidance with time jitter n=0 26
9.5 Logical operation of the Transport Protocol 26
9.5.1 Handling of ATR_RES 26
9.5.2 Handling of PSL_RES 27
9.5.3 Handling of DEP_RES Information PDUs 28
9.5.4 Handling of DEP_RES Information PDU's with more information bit set to
ONE 30
9.5.5 Handling of DEP_RES supervisory PDU's with timeout bit set to ONE 33
9.5.6 Handling of DEP_RES supervisory PDUs with timeout bit set to ZERO 35
9.5.7 Handling of DSL_RES 36
9.5.8 Handling of RLS_RES 37
A n n e x A ( n o r ma t i ve ) T e s t r e p o r t t e mp l a t e f o r T a r g e t t e s t s 39
A n n e x B ( n o r ma t i ve ) T e s t r e p o r t t e mp l a t e f o r I n i t i a t o r t e s t s 43
- ii -
1 Scope
This Standard specifies protocol test methods for ECMA-340 in addition to those specified in
ECMA-356.
2 Conformance
In addition to conforming to ECMA-356, implementations of ECMA-340 shall pass all normative tests
and requirements specified herein; test results shall be recorded using Annex A and Annex B of this
Standard.
3 References
The following are normative references for the purpose of this Standard:
ECMA-340 Near Field Communication - Interface and Protocol (NFCIP-1)
ECMA-356 NFCIP-1 - RF Interface Test Methods
ISO/IEC 10373-6 Identification cards -- Test methods -- Part 6: Proximity cards
4 Notational conventions
4.1 Representation of numbers
The following conventions and notations apply in this document unless otherwise stated.
• Letters and digits in parentheses represent numbers in hexadecimal notation.
• The setting of bits is denoted by ZERO or ONE.
• Numbers in binary notation and bit patterns are represented by strings of digits 0 and 1 shown
with the most significant bit to the left. Within such strings, X may be used to indicate that the
setting of a bit is not specified within the string.
4.2 Names
The names of basic elements, e.g. specific fields, are written with a capital initial letter.
-1-
5.4 Operating volume
A volume with a field strength of at least H min and not exceeding H max generated by a NFC device
at manufacturer specified positions.
5.7 Scenario
A scenario is a protocol and application specific sequence test operations. Scenario description
tables list all individual test operations.
A horizontal line in a scenario description table indicates that the device shall be reset to initial
conditions.
-2-
TEST_COMMAND3n xx This command is sent after TEST_COMMAND3B and before
TEST_COMMAND3E. The lower case n represents a number ranging
from 0 to 9. This command has the "More Information" bit set to ONE
and the PNI set to xx.
TEST_COMMAND3Exx This command marks the end of the chaining procedure and is a
DEP_REQ or DEP_RES frame, for an Initiator or Target respectively,
with the "More Information" bit set to ZERO and the PNI set to xx.
TEST_RESPONSE3 xx is the response to the chaining command. Shall be a DEP_REQ or
DEP_RES frame, for an Initiator or Target respectively, with the "More
Information" bit set to ZERO and the PNI set to xx.
TEST_COMMAND4xx Test command used for tests dealing with frame waiting time. The
Initiator sends this command and forces the Target to use a
Supervisory PDU with the timeout bit set to ONE and the PNI set to xx.
TEST_RESPONSE4 xx is the response to TEST_COMMAND4. It is a DEP_RES with the "More
Information" bit set to ZERO and the PNI set to xx. It may be the same
as TEST_RESPONSE1.
-3-
RFU Reserved for Future Use
RLS_REQ ReLease Request command as defined in ECMA-340
RLS_RES Response to the RLS_REQ
RTO PDU Response TimeOut extension as specified in ECMA-340 clause 12.6.1.3.3 and
12.6.2
SDD Single Device Detection as defined in ECMA-340
Td The delay between the end of the Request frame and the start of the first time
slot for SDD at 212 and 424 kbps (equals 512 × 64/fc)
Ts The period of one time slot (equals 256 × 64/fc)
TCM Test control message
UT Upper Tester, the master part of the Initiator-Test-apparatus
7 General description
7.1 Apparatus for Testing
NOTE
The test-apparatus may require information about the implemented protocol and functionality. These
parameters shall be recorded in the test report.
This clause is valid for Initiator and Target tests.
Although this Standard does not define dedicated test circuit for timing measurements and to
check the correctness of the framing, influence of such circuit shall be avoided.
7.1.1 Generating the I/O character timing in reception mode
The target-test-apparatus and the LT shall be able to generate the I/O bit stream according to
ECMA-340. All timing parameters (e.g. start bit length, guard time, bit width, request guard time,
start of frame width, end of frame width) shall be set to any value within the defined ranges of
ECMA-340. The limits shall be tested according ECMA-356.
7.1.2 Measuring and monitoring the RF I/O protocol
The targe-test-apparatus and the LT shall be able to measure the timing of the logical low and
high states of the incoming demodulated data.
7.1.3 Test scenario and report
Testing of the DUT as defined in this document and requires a test scenario to be executed.
This test scenario contains a protocol and application specific sequence.
The result of the test scenario shall be documented in a test report as defined in Annexes A and
B.
7.1.4 RFU bits
A test shall fail and the DUT declared non-compliant in case an RFU field is not set to its default
value.
7.1.5 General rules
The following rules apply:
An Initiator (Target test apparatus) always sends a request whereas a Target (LT) sends a
response.
A response must follow a request.
If the PNIs for the TEST_RESPONSEn and TEST_COMMANDn are the same, then
TEST_COMMANDn is correct.
-4-
8 Target test methods
The DUT shall answer as specified in the scenarios, optionally inserting one or more RTO PDUs
before responding with the PDU as specified in the scenarios.
To test Targets performing initialisation in Active communication Mode the test method in table 2
must be executed.
Table 2 — Activation in Active communication Mode
Test method Corresponding requirement
Clause Name Base standard Clause(s)
8.4.1 RF Collision Avoidance ECMA-340 11.1.2
To test Targets using the transport protocol the test methods listed in table 3 must be executed.
-5-
Table 3 — Logical operation of the Transport Protocol
Test method Corresponding requirement
Clause Name Base standard Clause(s)
8.5.1 Handling of ATR_REQ ECMA-340 12.5.1.3
8.5.2 Handling of PSL_REQ ECMA-340 12.5.3.3
8.5.3 Handling of DEP_REQ Information PDUs ECMA-340 12.6.1.2
8.5.4 Handling of DEP_REQ Information PDUs ECMA-340 12.6.1.3
with the "more information" bit set to ONE
8.5.5 Handling of DEP_REQ supervisory PDUs ECMA-340 12.6.1.3
with timeout bit set to ONE
8.5.6 Handling of DEP_REQ supervisory PDU's ECMA-340 12.6.1.3
with timeout bit set to ZERO
8.5.7 Handling of DSL_REQ ECMA-340 12.7.1.3
8.5.8 Handling of RLS_REQ ECMA-340 12.7.2.3
-6-
8.3.2.2 Test report
The test report shall indicate whether the DUT behaves correctly for both data rates and shall
include results for the following characteristics:
Characteristic Expected result
Preamble minimum 48 bits all
logical ZEROs
SYNC 1st byte is ´B2´
2nd byte is ´4D´
value of the length byte ´12´
CRC bytes according to ECMA-340,
Annex A
-7-
8.4.1.1 Procedure
Repeat steps a) to e) for the data rates of 106, 212 and 424 kbps.
a) Place the DUT into the operating volume.
b) Generate an RF-field between the limits Hmin and Hmax and verify that the field strength
does not influence the test results.
c) Send a valid ATR_REQ command frame at the selected data rate and switch off the RF
afterwards.
d) Measure the time between RF-off of the Target test-apparatus and RF-on of the DUT.
e) Repeat steps a) to d) until all randomly generated number of time periods are met and
count the number of retries necessary.
8.4.1.2 Test report
The test report shall indicate whether the DUT behaves correctly for all data rates.
Characteristic Expected result
TADT minimum 768/fc
maximum 2559/fc
TRFW n times 512/fc
-8-
Scenario T 1 — ATR_REQ
Target-test-apparatus DUT
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ Mute
ATR_REQ ⎯⎯⎯→
←⎯⎯⎯ ATR_RES
ATR_REQ ⎯⎯⎯→
←⎯⎯⎯ ATR_RES
ATR_REQ ⎯⎯⎯→
←⎯⎯⎯ ATR_RES
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
ATR_REQ ⎯⎯⎯→
←⎯⎯⎯ Mute
TEST_COMMAND101 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE101
-9-
f) Check the response from the DUT is according to scenario T 2.
Scenario T 2 — PSL_REQ
Target-test-apparatus DUT
PSL_REQ ⎯⎯⎯→
←⎯⎯⎯ PSL_RES
PSL_REQ ⎯⎯⎯→
←⎯⎯⎯ Mute
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
PSL_REQ ⎯⎯⎯→
←⎯⎯⎯ Mute
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
PSL_REQ ⎯⎯⎯→
←⎯⎯⎯ Mute
TEST_COMMAND101 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE101
Target-test-apparatus DUT
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
TEST_COMMAND101 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE101
TEST_COMMAND110 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE110
TEST_COMMAND111 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE111
- 11 -
Scenario T 4 — DEP_REQ information PDU, erroneous transaction
Target-test-apparatus DUT
TEST_COMMAND100 (~CRC) ⎯⎯⎯→
←⎯⎯⎯ Mute
S(A) ⎯⎯⎯→
←⎯⎯⎯ S(A)
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
TEST_COMMAND101 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE101
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
S(A) ⎯⎯⎯→
←⎯⎯⎯ S(A)
TEST_COMMAND101 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE101
- 12 -
e) Execute scenario T 5 followed scenario T 6.
f) Check if the response and the PNIs from the DUT are according to the test scenarios.
Scenario T 5 — DEP_REQ information PDU with more information bit set; correct transaction
Target-test-apparatus DUT
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
TEST_COMMAND3B01 ⎯⎯⎯→
←⎯⎯⎯ A(ACK)01
TEST_COMMAND3E10 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE310
TEST_COMMAND111 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE111
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
TEST_COMMAND3B01 ⎯⎯⎯→
←⎯⎯⎯ A(ACK)01
TEST_COMMAND3010 ⎯⎯⎯→
←⎯⎯⎯ A(ACK)10
TEST_COMMAND3111 ⎯⎯⎯→
←⎯⎯⎯ A(ACK)11
TEST_COMMAND3200 ⎯⎯⎯→
←⎯⎯⎯ A(ACK)00
TEST_COMMAND3301 ⎯⎯⎯→
←⎯⎯⎯ A(ACK)01
TEST_COMMAND3E10 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE310
TEST_COMMAND111 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE111
- 13 -
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
TEST_COMMAND201 ⎯⎯⎯→
←⎯⎯⎯ TEST_COMMAND3B01
A(ACK)10 ⎯⎯⎯→
←⎯⎯⎯ TEST_ COMMAND3E10
TEST_COMMAND111 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE111
The following test case depends on the behaviour of the DUT and is therefore optional.
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
TEST_COMMAND201 ⎯⎯⎯→
←⎯⎯⎯ TEST_COMMAND3B01
A(ACK)10 ⎯⎯⎯→
←⎯⎯⎯ TEST_ COMMAND3010
A(ACK)11 ⎯⎯⎯→
←⎯⎯⎯ TEST_ COMMAND3111
A(ACK)00 ⎯⎯⎯→
←⎯⎯⎯ TEST_ COMMAND3200
A(ACK)01 ⎯⎯⎯→
←⎯⎯⎯ TEST_ COMMAND3301
A(ACK)10 ⎯⎯⎯→
←⎯⎯⎯ TEST_ COMMAND3E10
TEST_COMMAND111
⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE111
- 14 -
Scenario T 6 — DEP_REQ information PDU with more information bit set, erroneous transaction
Target-test-apparatus DUT
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
TEST_COMMAND3B01 ⎯⎯⎯→
←⎯⎯⎯ A(ACK)01
S(A) ⎯⎯⎯→
←⎯⎯⎯ S(A)
TEST_COMMAND3010 ⎯⎯⎯→
←⎯⎯⎯ A(ACK)10
TEST_COMMAND3E11 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE311
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
TEST_COMMAND201 ⎯⎯⎯→
←⎯⎯⎯ TEST_COMMAND3B01
S(A) ⎯⎯⎯→
←⎯⎯⎯ S(A)
A(ACK)10 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE3E10
TEST_COMMAND111 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE111
- 15 -
8.5.4.2 Test report
The test report shall indicate whether the DUT behaves correctly for all data rates and
communication modes.
8.5.5 H a n d l i n g o f D E P _ R E Q s u p e r vi s o r y P D U ' s w it h t i m e o u t b i t s e t t o O N E
The purpose of this test is to determine the correct handling of the DEP_REQ with supervisory
PDU with timeout bit set to ONE (see ECMA-340 clause 12.6.1.3).
8.5.5.1 Procedure
Repeat steps a) to f) for the data rates of 106, 212 and 424 kbps and for both Active and
Passive communication Modes.
a) Place the DUT into the operating volume.
b) Turn on a field between the limits Hmin and Hmax and verify that the field strength does
not influence the test results.
c) Perform activation in the selected communication mode and data rate.
d) Send an ATR_REQ and receive the ATR_RES from the DUT.
e) Execute scenario T 7 followed by scenario T 8.
f) Check if the response and the PNIs from the DUT are according to scenarios.
Scenario T 7 — DEP_REQ supervisory PDU with timeout bit set to ONE; correct transaction
Target-test-apparatus DUT
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
TEST_COMMAND401 ⎯⎯⎯→
←⎯⎯⎯ S(TO)
S(TO) ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE401
TEST_COMMAND110 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE110
- 16 -
Scenario T 8 — DEP_REQ supervisory PDU, timeout bit set, erroneous transaction
Target-test-apparatus DUT
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
TEST_COMMAND401 ⎯⎯⎯→
←⎯⎯⎯ S(TO)
S(A) ⎯⎯⎯→
←⎯⎯⎯ S(A)
S(TO) ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE401
TEST_COMMAND110 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE110
- 17 -
Scenario T 9 — DEP_REQ supervisory PDU, timeout bit not set to ZERO, correct transaction
Target-test-apparatus DUT
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
S(A) ⎯⎯⎯→
←⎯⎯⎯ S(A)
TEST_COMMAND101 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE101
Scenario T 10 — DEP_REQ supervisory PDU, timeout bit not set to ZERO, erroneous transaction
Target-test-apparatus DUT
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
S(A) ⎯⎯⎯→
←⎯⎯⎯ S(A)
TEST_COMMAND101 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE101
- 18 -
f) Check if the response and the PNIs from the DUT are according to the scenarios.
Target-test-apparatus DUT
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
DSL_REQ ⎯⎯⎯→
←⎯⎯⎯ DSL_RES
DSL_REQ ⎯⎯⎯→
←⎯⎯⎯ Mute
Target-test-apparatus DUT
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
DSL_REQ ⎯⎯⎯→
←⎯⎯⎯ DSL_RES
Target-test-apparatus DUT
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
RLS_REQ ⎯⎯⎯→
←⎯⎯⎯ RLS_RES
RLS_REQ ⎯⎯⎯→
←⎯⎯⎯ Mute
Target-test-apparatus DUT
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
RLS_REQ ⎯⎯⎯→
←⎯⎯⎯ RLS_RES
- 20 -
Scenario T 15 — WUP_REQ, correct transaction
Target-test-apparatus DUT
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
TEST_COMMAND101 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE101
DSL_REQ ⎯⎯⎯→
←⎯⎯⎯ DSL_RES
WUP_REQ ⎯⎯⎯→
←⎯⎯⎯ WUP_RES
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
- 21 -
Scenario T 16 — WUP_REQ, erroneous transaction
Target-test-apparatus DUT
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
TEST_COMMAND101 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE101
DSL_REQ ⎯⎯⎯→
←⎯⎯⎯ DSL_RES
TEST_COMMAND110 ⎯⎯⎯→
←⎯⎯⎯ Mute
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ Mute
WUP_REQ ⎯⎯⎯→
←⎯⎯⎯ WUP_RES
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
TEST_COMMAND101 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE101
DSL_REQ ⎯⎯⎯→
←⎯⎯⎯ DSL_RES
WUP_REQ(~CRC) ⎯⎯⎯→
←⎯⎯⎯ Mute
WUP_REQ ⎯⎯⎯→
←⎯⎯⎯ WUP_RES
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
- 22 -
8.5.9.2 Test report
The test report shall indicate whether the DUT behaves correctly for all data rates.
Initiator
Test Initiator (DUT)
Apparatus
PDUs
9.1.2 P r o t o c o l a c t i va t i o n p r o c e d u r e f o r P a s s i ve c o m m u n i c a t i o n M o d e a t 1 0 6 k b p s
Activate the LT by executing the following sequence:
a) Set the LT in Passive communication Mode at 106 kbps
9.1.3 P r o t o c o l a c t i va t i o n p r o c e d u r e s f o r P a s s i ve c o m m u n i c a t i o n M o d e a t 2 1 2 a n d
424 kbps
Repeat the following sequence for the data rates of 212 and 424 kbps:
a) Set the LT in Passive communication Mode at the selected data rate.
b) Set the DUT in Passive communication Mode at the selected data rate.
- 23 -
9.1.4 P r o t o c o l a c t i va t i o n p r o c e d u r e s f o r A c t i ve c o m m u n i c a t i o n M o d e
Repeat the following sequence for the data rates of 106, 212 and 424 kbps:
a) Set the LT in Active communication Mode at the selected data rate.
b) Set the DUT in Active communication Mode at the selected data rate.
c) Instruct the DUT to perform Active communication Mode activation flow at selected data rate (see
ECMA-340, 12.3).
To test Initiators performing initialisation in Active communication Mode execute the test methods
in table 5.
Table 5 — Activation in Active communication Mode
Test method Corresponding requirement
Clause Name Base standard Clause(s)
9.4.1 Initial RF Collision Avoidance ECMA-340 11.1.1
9.4.2 Response RF Collision Avoidance with ECMA-340 11.1.2
time jitter n=0
To test initiators using the transport protocol execute the test methods in table 6.
- 24 -
Table 6 — Logical operation of the Initiator Transport Protocol
Test method Corresponding requirement
Clause Name Base standard Clause(s)
9.5.1 Handling of ATR_RES ECMA-340 12.5.1.3
9.5.2 Handling of PSL_RES ECMA-340 12.5.3.3
9.5.3 Handling of DEP_RES information PDUs ECMA-340 12.6.1.2
9.5.4 Handling of DEP_RES Information PDU's ECMA-340 12.6.1.3
with more information bit set to ONE
9.5.5 Handling of DEP_RES supervisory PDU's ECMA-340 12.6.1.3
with timeout bit set to ONE
9.5.6 Handling of DEP_RES supervisory PDU's ECMA-340 12.6.1.3
with timeout bit set to ZERO
9.5.7 Handling of DSL_RES ECMA-340 12.7.1.3
9.5.8 Handling of RLS_RES ECMA-340 12.7.2.3
- 25 -
9.4 Activation in Active communication Mode
9.4.1 I n i t i a l R F C o l l i s i o n A vo i d a n c e
The purpose of this test is to verify the behaviour of the DUT during initial RF Collision
Avoidance (see ECMA-340 clause 11.1.1).
9.4.1.1 Procedure
Repeat steps a) to h) for the 106, 212 and 424 kbps data rates.
a) Place the LT into the operating volume of the DUT.
b) The LT (field generating antenna) shall generate an RF-field. (Arrangement of test
assembly can be found in ECMA-356).
c) Ensure that the field strength at the DUT is at least HThreshold.
d) Execute 9.1.4 with selected data rate.
e) The LT shall switch off its RF-field.
f) The LT waits until the DUT sends a valid ATR_REQ.
g) Analyse the timing between the RF off of the LT and the RF on of the DUT (see
ECMA-340 clause 11.1.1).
h) Repeat steps a) to g) until all possible values for n of T RFG are detected.
9.4.1.2 Test report
The test report shall indicate whether the DUT behaves correctly for all data rates.
9.4.2 R e s p o n s e R F C o l l i s i o n A vo i d a n c e w it h t i m e j i t t e r n = 0
The purpose of this test is to verify the behaviour of the DUT during response RF Collision
Avoidance with time jitter n=0 (see ECMA-340 clause 11.1.2).
9.4.2.1 Procedure
Repeat steps a) to g) for the 106, 212 and 424 kbps data rates.
a) Place the LT into the operating volume of the DUT.
b) Execute 9.1.4 with selected data rate.
c) The LT waits until the DUT sends a valid ATR_REQ.
d) The LT answers with a valid ATR_RES.
e) Instruct the DUT to send TEST_COMMAND1.
f) The LT receives the TEST_COMMAND1.
g) Verify that the time between the RF off of the LT and the RF on of the DUT complies with
ECMA-340 clause 11.1.2.
9.4.2.2 Test report
The test report shall indicate whether the timing is correct for all data rates.
- 26 -
b) Execute 9.1.2 for Passive communication Mode at 106 kbps, 9.1.3 for Passive
communication Mode at 212 and 424 kbps and 9.1.4 for Active communication Mode at
all data rates.
c) Execute scenario I 1.
Scenario I 1 — ATR_RES
DUT LT
ATR_REQ ⎯⎯⎯→
←⎯⎯⎯ ATR_RES
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
TEST_COMMAND101 ⎯⎯⎯→
ATR_REQ ⎯⎯⎯→
←⎯⎯⎯ ATR_RES(~CRC)
ATR_REQ ⎯⎯⎯→
ATR_RES
←⎯⎯⎯
TEST_COMMAND100 ⎯⎯⎯→
- 27 -
Scenario I 2 — PSL_RES
DUT LT
ATR_REQ ⎯⎯⎯→
←⎯⎯⎯ ATR_RES (changeable params)
PSL_REQ ⎯⎯⎯→
PSL_RES
←⎯⎯⎯
TEST_COMMAND100 ⎯⎯⎯→
ATR_REQ ⎯⎯⎯→
←⎯⎯⎯ ATR_RES (changeable params)
PSL_REQ ⎯⎯⎯→
PSL_RES (~CRC)
←⎯⎯⎯
PSL_REQ ⎯⎯⎯→
←⎯⎯⎯ Mute
TEST_COMMAND100 ⎯⎯⎯→
- 28 -
Scenario I 3 — DEP_RES information PDU, correct transaction
DUT LT
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
TEST_COMMAND101 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE101
TEST_COMMAND110 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE110
TEST_COMMAND111 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE111
TEST_COMMAND100 ⎯⎯⎯→
DUT LT
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100 (~CRC)
A(NACK)00 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
TEST_COMMAND101 ⎯⎯⎯→
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100 (~CRC)
A(NACK)00 ⎯⎯⎯→
←⎯⎯⎯ Mute
A(NACK)00 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
TEST_COMMAND101 ⎯⎯⎯→
- 29 -
9.5.4 H a n d l i n g o f D E P _ R E S I n f o r m a t i o n P D U ' s w it h mo r e i n f o r ma t i o n b i t s e t t o O N E
The purpose of this test is to determine the correct handling of the DEP_RES with information
bit set to ONE (see ECMA-340 clause 12.6.1.3).
9.5.4.1 Procedure
Repeat steps a) to d) for all specified data rate, communication mode and protocol activation
procedure combinations.
a) Place the LT into the operating volume of the DUT.
b) Execute 9.1.2 for Passive communication Mode at 106 kbps, 9.1.3 for Passive
communication Mode at 212 and 424 kbps and 9.1.4 for Active communication Mode at
all data rates.
c) Execute scenario I 5.
d) Execute scenario I 6.
Scenario I 5 — DEP_RES with more information bit set to ONE, correct transaction
DUT LT
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_COMMAND200
TEST_COMMAND3B01 ⎯⎯⎯→
←⎯⎯⎯ A(ACK)01
TEST_COMMAND3E10 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE310
TEST_COMMAND111 ⎯⎯⎯→
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_COMMAND3B00
A(ACK)01 ⎯⎯⎯→
←⎯⎯⎯ TEST_COMMAND3E01
TEST_RESPONSE310 ⎯⎯⎯→
- 30 -
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_COMMAND3B00
A(ACK)01 ⎯⎯⎯→
←⎯⎯⎯ TEST_COMMAND3001
A(ACK)10 ⎯⎯⎯→
←⎯⎯⎯ TEST_COMMAND3110
A(ACK)11 ⎯⎯⎯→
←⎯⎯⎯ TEST_COMMAND3211
A(ACK)00 ⎯⎯⎯→
←⎯⎯⎯ TEST_COMMAND3300
A(ACK)01 ⎯⎯⎯→
←⎯⎯⎯ TEST_COMMAND3E01
TEST_RESPONSE310 ⎯⎯⎯→
The following test case depends on the behaviour of the DUT and is therefore optional.
- 31 -
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_COMMAND200
TEST_COMMAND3B01 ⎯⎯⎯→
←⎯⎯⎯ A(ACK)01
TEST_COMMAND3010 ⎯⎯⎯→
←⎯⎯⎯ A(ACK)10
TEST_COMMAND3111 ⎯⎯⎯→
←⎯⎯⎯ A(ACK)11
TEST_COMMAND3200 ⎯⎯⎯→
←⎯⎯⎯ A(ACK)00
TEST_COMMAND3301 ⎯⎯⎯→
←⎯⎯⎯ A(ACK)01
TEST_COMMAND3E10 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE310
TEST_COMMAND111 ⎯⎯⎯→
Scenario I 6 — DEP_RES with more information bit set to ONE, erroneous transaction
DUT LT
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_COMMAND3B00 (~CRC)
A(NACK)00 ⎯⎯⎯→
←⎯⎯⎯ TEST_COMMAND3B00
A(ACK)01 ⎯⎯⎯→
←⎯⎯⎯ TEST_COMMAND3E01
TEST_RESPONSE310 ⎯⎯⎯→
- 32 -
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_COMMAND200
TEST_COMMAND3B01 ⎯⎯⎯→
←⎯⎯⎯ A(ACK)01 (~CRC)
A(NACK)01 ⎯⎯⎯→
←⎯⎯⎯ A(ACK)01
TEST_COMMAND3E10 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE310
TEST_COMMAND111 ⎯⎯⎯→
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_COMMAND3B00
A(ACK)01 ⎯⎯⎯→
←⎯⎯⎯ TEST_COMMAND3001 (~CRC)
A(NACK)01 ⎯⎯⎯→
←⎯⎯⎯ Mute
A(NACK)01 ⎯⎯⎯→
←⎯⎯⎯ TEST_COMMAND3001
A(ACK)10 ⎯⎯⎯→
←⎯⎯⎯ TEST_COMMAND3E10
TEST_COMMAND111 ⎯⎯⎯→
- 33 -
b) Execute 9.1.2 for Passive communication Mode at 106 kbps, 9.1.3 for Passive
communication Mode at 212 and 424 kbps and 9.1.4 for Active communication Mode at
all data rates.
c) Execute scenario I 7.
d) Execute scenario I 8.
DUT LT
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ S(TO)
S(TO) ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
TEST_COMMAND101 ⎯⎯⎯→
DUT LT
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ S(TO) (~CRC)
A(NACK)00 ⎯⎯⎯→
←⎯⎯⎯ S(TO)
S(TO) ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
TEST_COMMAND101 ⎯⎯⎯→
- 34 -
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ S(TO) (~CRC)
A(NACK)00 ⎯⎯⎯→
←⎯⎯⎯ Mute
A(NACK)00 ⎯⎯⎯→
←⎯⎯⎯ S(TO)
S(TO) ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
TEST_COMMAND101 ⎯⎯⎯→
DUT LT
S(A) ⎯⎯⎯→
←⎯⎯⎯ S(A)
- 35 -
Scenario I 10 — DEP_RES with timeout bit set to ZERO, erroneous transaction
DUT LT
S(A) ⎯⎯⎯→
←⎯⎯⎯ Mute
S(A) ⎯⎯⎯→
←⎯⎯⎯ S(A)
DUT LT
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
DSL_REQ ⎯⎯⎯→
←⎯⎯⎯ DLS_RES
- 36 -
Scenario I 12 — DSL_RES, erroneous transaction
DUT LT
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
DSL_REQ ⎯⎯⎯→
Mute
←⎯⎯⎯
DSL_REQ (NOTE) ⎯⎯⎯→
←⎯⎯⎯ DSL_RES
NOTE
This behaviour is valid but optional.
9.5.7.2 Test report
The test report shall indicate whether the DUT behaves correctly for all data rates and
communication modes.
9.5.8 Handling of RLS_RES
The purpose of this test is to determine the correct handling of the RLS_RES of the DUT (see
ECMA-340 clause 12.7.2.3).
9.5.8.1 Procedure
Repeat steps a) to d) for all specified data rate, communication mode and protocol activation
procedure combinations.
a) Place the LT into the operating volume of the DUT.
b) Execute 9.1.2 for Passive communication Mode at 106 kbps, 9.1.3 for Passive
communication Mode at 212 and 424 kbps and 9.1.4 for Active communication Mode at
all data rates.
c) Execute scenario I 13.
d) Execute scenario I 14.
DUT LT
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
RLS_REQ ⎯⎯⎯→
←⎯⎯⎯ RLS_RES
- 37 -
Scenario I 14 — RLS_RES, erroneous transaction
DUT LT
TEST_COMMAND100 ⎯⎯⎯→
←⎯⎯⎯ TEST_RESPONSE100
RLS_REQ ⎯⎯⎯→
←⎯⎯⎯ Mute
NOTE
This behaviour is valid but optional.
9.5.8.2 Test report
The test report shall indicate whether the DUT behaves correctly for all data rates and
communication modes.
- 38 -
Annex A
(normative)
Supplier:
Product:
Legend:
A: 106 kbps Active communication Mode at 106 kbps
A: 212 kbps Active communication Mode at 212 kbps
A: 424 kbps Active communication Mode at 424 kbps
P: 106 kbps Passive communication Mode at 106 kbps
P: 212kbps Passive communication Mode at 212 kbps
P: 424 kbps Passive communication Mode at 424 kbps
- 39 -
8.3 Activation in Passive communication Mode at 212 and 424 kbps
- 40 -
A: 424 kbps
2 8.5.2 Handling The test passes if 12.5.3.3.2 T2 P: 106 kbps
of PSL_REQ DUT behaves as
P: 212 kbps
described in the
scenario. P: 424 kbps
A: 106 kbps
A: 212 kbps
A: 424 kbps
3 8.5.3 Handling The test passes if 12.6.1.3 T3 P: 106 kbps
of DEP_REQ DUT behaves as T4
P: 212 kbps
Information described in the
PDUs scenarios. P: 424 kbps
A: 106 kbps
A: 212 kbps
A: 424 kbps
4 8.5.4 Handling The test passes if 12.6.1.3 T5 P: 106 kbps
of DEP_REQ DUT behaves as T6
P: 212 kbps
Information described in the
PDUs with the scenarios. P: 424 kbps
"more
information" A: 106 kbps
bit set to ONE A: 212 kbps
A: 424 kbps
5 8.5.5 Handling The test passes if 12.6.1.3 T7 P: 106 kbps
of DEP_REQ DUT behaves as T8
P: 212 kbps
supervisory described in the
PDU's with scenarios. P: 424 kbps
timeout bit set
to ONE A: 106 kbps
A: 212 kbps
A: 424 kbps
6 8.5.6 Handling The test passes if 12.6.1.3 T9 P: 106 kbps
of DEP_REQ DUT behaves as T 10
P: 212 kbps
supervisory described in the
PDUs with scenarios. P: 424 kbps
timeout bit set
to ZERO A: 106 kbps
A: 212 kbps
A: 424 kbps
7 8.5.7 Handling The test passes if 12.7.1.3 T 11 P: 106 kbps
of DSL_REQ DUT behaves as T 12
P: 212 kbps
described in the
scenarios. P: 424 kbps
A: 106 kbps
A: 212 kbps
A: 424 kbps
- 41 -
8 8.5.8 Handling The test passes if 12.7.2.3 T 13 P: 106 kbps
of RLS_REQ DUT behaves as T 14
P: 212 kbps
described in the
scenarios. P: 424 kbps
A: 106 kbps
A: 212 kbps
A: 424 kbps
9 8.5.9 Handling The test passes if 12.7.2.3 T 15 A: 106 kbps
of WUP_REQ DUT behaves as T 16
A: 212 kbps
(Active described in the
communication scenarios. A: 424 kbps
Mode Only)
- 42 -
Annex B
(normative)
Supplier:
Product:
Legend:
A: 106 kbps Active communication Mode at 106 kbps
A: 212 kbps Active communication Mode at 212 kbps
A: 424 kbps Active communication Mode at 424 kbps
P: 106 kbps Passive communication Mode at 106 kbps
P: 212kbps Passive communication Mode at 212 kbps
P: 424 kbps Passive communication Mode at 424 kbps
- 43 -
9.3 Activation in Passive communication Mode at 212 and 424 kbps
- 44 -
2 9.5.2 Handling The test passes if 12.5.3.3 I2 P: 106 kbps
of PSL_RES DUT behaves as
P: 212 kbps
described in the
scenario. P: 424 kbps
A: 106 kbps
A: 212 kbps
A: 424 kbps
3 9.5.3 Handling The test passes if 12.6.1.2 I3 P: 106 kbps
of DEP_RES DUT behaves as I4
P: 212 kbps
Information described in the
PDUs scenarios. P: 424 kbps
A: 106 kbps
A: 212 kbps
A: 424 kbps
4 9.5.4 Handling The test passes if 12.6.1.3 I5 P: 106 kbps
of DEP_RES DUT behaves as I6
P: 212 kbps
Information described in the
PDU's with scenarios. P: 424 kbps
more
information bit A: 106 kbps
set to ONE A: 212 kbps
A: 424 kbps
5 9.5.5 Handling The test passes if 12.6.1.3 I7 P: 106 kbps
of DEP_RES DUT behaves as I8
P: 212 kbps
supervisory described in the
PDU's with scenarios. P: 424 kbps
timeout bit set
to ONE A: 106 kbps
A: 212 kbps
A: 424 kbps
6 9.5.6 Handling The test passes if 12.6.1.3 I9 P: 106 kbps
of DEP_RES DUT behaves as I 10
P: 212 kbps
supervisory described in the
PDUs with scenarios. P: 424 kbps
timeout bit set
to ZERO A: 106 kbps
A: 212 kbps
A: 424 kbps
7 9.5.7 Handling The test passes if 12.7.1.3 I 11 P: 106 kbps
of DSL_RES DUT behaves as I 12
P: 212 kbps
described in the
scenarios. P: 424 kbps
A: 106 kbps
A: 212 kbps
A: 424 kbps
- 45 -
8 9.5.8 Handling The test passes if 12.7.2.3 I 13 P: 106 kbps
of RLS_RES DUT behaves as I 14
P: 212 kbps
described in the
scenarios. P: 424 kbps
A: 106 kbps
A: 212 kbps
A: 424 kbps
- 46 -