Véhicules routiers -- Interface périphérique d’extension d'horloge (CXPI)

General Information

Status
Published
Current Stage
4020 - DIS ballot initiated: 5 months
Start Date
13-Nov-2019
Completion Date
13-Nov-2019
Ref Project

Buy Standard

Standard
ISO/DIS 20794-6 - Road vehicles -- Clock extension peripheral interface (CXPI)
English language
19 pages
limited time 15% off
Preview
limited time 15% off
Preview

Standards Content (sample)

DRAFT INTERNATIONAL STANDARD
ISO/DIS 20794-6
ISO/TC 22/SC 31 Secretariat: DIN
Voting begins on: Voting terminates on:
2019-11-13 2020-02-05
Road vehicles — Clock extension peripheral interface
(CXPI) —
Part 6:
Transport and network layer conformance test plan
Véhicules routiers — Interface périphérique d’extension d'horloge (CXPI) —
Partie 6: Plan de test de conformité des couches transport et réseau
ICS: 43.040.15
THIS DOCUMENT IS A DRAFT CIRCULATED
FOR COMMENT AND APPROVAL. IT IS
THEREFORE SUBJECT TO CHANGE AND MAY
NOT BE REFERRED TO AS AN INTERNATIONAL
STANDARD UNTIL PUBLISHED AS SUCH.
IN ADDITION TO THEIR EVALUATION AS
BEING ACCEPTABLE FOR INDUSTRIAL,
This document is circulated as received from the committee secretariat.
TECHNOLOGICAL, COMMERCIAL AND
USER PURPOSES, DRAFT INTERNATIONAL
STANDARDS MAY ON OCCASION HAVE TO
BE CONSIDERED IN THE LIGHT OF THEIR
POTENTIAL TO BECOME STANDARDS TO
WHICH REFERENCE MAY BE MADE IN
Reference number
NATIONAL REGULATIONS.
ISO/DIS 20794-6:2019(E)
RECIPIENTS OF THIS DRAFT ARE INVITED
TO SUBMIT, WITH THEIR COMMENTS,
NOTIFICATION OF ANY RELEVANT PATENT
RIGHTS OF WHICH THEY ARE AWARE AND TO
PROVIDE SUPPORTING DOCUMENTATION. ISO 2019
---------------------- Page: 1 ----------------------
ISO/DIS 20794-6:2019(E)
COPYRIGHT PROTECTED DOCUMENT
© ISO 2019

All rights reserved. Unless otherwise specified, or required in the context of its implementation, no part of this publication may

be reproduced or utilized otherwise in any form or by any means, electronic or mechanical, including photocopying, or posting

on the internet or an intranet, without prior written permission. Permission can be requested from either ISO at the address

below or ISO’s member body in the country of the requester.
ISO copyright office
CP 401 • Ch. de Blandonnet 8
CH-1214 Vernier, Geneva
Phone: +41 22 749 01 11
Fax: +41 22 749 09 47
Email: copyright@iso.org
Website: www.iso.org
Published in Switzerland
ii © ISO 2019 – All rights reserved
---------------------- Page: 2 ----------------------
ISO/DIS 20794-6:2019(E)
Contents Page

Foreword ......................................................................................................................................................................... iv

Introduction ..................................................................................................................................................................... v

1 Scope ....................................................................................................................................................................1

2 Normative references ....................................................................................................................................1

3 Terms and definitions ....................................................................................................................................2

4 Symbols and abbreviated terms .................................................................................................................3

4.1 Symbols .................................................................................................................................................................. 3

4.2 Abbreviated terms ............................................................................................................................................. 3

5 Conventions .......................................................................................................................................................4

6 General test specification considerations ..............................................................................................4

6.1 General ................................................................................................................................................................... 4

6.2 Test conditions .................................................................................................................................................... 4

6.3 IUT requirements ............................................................................................................................................... 4

6.4 CTC definition ...................................................................................................................................................... 5

6.5 Test system set-up ............................................................................................................................................. 5

6.6 Configuration of test system and IUT ........................................................................................................ 6

6.7 SUT initialisation ................................................................................................................................................ 9

7 Transport layer conformance test plan ................................................................................................ 10

7.1 General ................................................................................................................................................................ 10

7.2 4.CTC_1.2 – T_PDU and T_PCI data handling (T_PCItype and T_PCI_DLext) .......................... 11

7.3 4.CTC_1.3 – T_PDU and T_PCI data handling (T_PCItype and T_PCI_DLext with short

data field) ........................................................................................................................................................... 12

7.4 4.CTC_2.1-TL Error detection test (T_PCItype) ............................................................................... 13

7.5 4.CTC_2.2-TL Error detection test (T_PCI_DL) ................................................................................ 14

7.6 4.CTC_2.3-TL Error detection test(T_PCI_DLext) ........................................................................... 15

8 Network layer conformance test ............................................................................................................. 16

8.1 General ................................................................................................................................................................ 16

8.2 3.CTC_3.1-N_PDU specification test (N_NAD) .................................................................................. 16

8.3 3.CTC_3.2-N_PDU specification test (N_SLEEP field) .................................................................... 17

8.4 3.CTC_3.3-NL error detection (N_As timeout) ................................................................................. 18

Bibliography ................................................................................................................................................................. 19

© ISO 2019 – All rights reserved
iii
---------------------- Page: 3 ----------------------
ISO/DIS 20794-6:2019(E)
Foreword

ISO (the International Organization for Standardization) is a worldwide federation of national standards

bodies (ISO member bodies). The work of preparing International Standards is normally carried out

through ISO technical committees. Each member body interested in a subject for which a technical

committee has been established has the right to be represented on that committee. International

organizations, governmental and non-governmental, in liaison with ISO, also take part in the work. ISO

collaborates closely with the International Electrotechnical Commission (IEC) on all matters of

electrotechnical standardization.

The procedures used to develop this document and those intended for its further maintenance are

described in the ISO/IEC Directives, Part 1. In particular, the different approval criteria needed for the

different types of ISO documents should be noted. This document was drafted in accordance with the

editorial rules of the ISO/IEC Directives, Part 2 (see www.iso.org/directives).

Attention is drawn to the possibility that some of the elements of this document may be the subject of

patent rights. ISO shall not be held responsible for identifying any or all such patent rights. Details of any

patent rights identified during the development of the document will be in the Introduction and/or on

the ISO list of patent declarations received (see www.iso.org/patents).

Any trade name used in this document is information given for the convenience of users and does not

constitute an endorsement.

For an explanation of the voluntary nature of standards, the meaning of ISO specific terms and

expressions related to conformity assessment, as well as information about ISO's adherence to the World

Trade Organization (WTO) principles in the Technical Barriers to Trade (TBT), see

www.iso.org/iso/foreword.html.

This document was prepared by Technical Committee ISO/TC 22, Road vehicles, Subcommittee SC 31,

Data communication.
A list of all parts in the ISO 20794 series can be found on the ISO website.

Any feedback or questions on this document should be directed to the user’s national standards body. A

complete listing of these bodies can be found at www.iso.org/members.html.
© ISO 2019 – All rights reserved
---------------------- Page: 4 ----------------------
ISO/DIS 20794-6:2019(E)
Introduction

ISO 20794 (all parts) specifies the application (partly), application layer, transport layer, network layer, data link

layer, and physical layer requirements of an in-vehicle network called "clock extension peripheral interface (CXPI)".

CXPI is an automotive low-speed single-wire network. It is an enabler for reducing vehicle weight and fuel

consumption by reducing wire counts to simple devices like switches and sensors.

CXPI serves as and is designed for automotive control applications for example, door control group, light switch,

and HVAC (Heating Ventilation and Air Conditioning) systems.

The CXPI services, protocols, and their key characteristics are specified in different parts according to the OSI layers.

— Application and application layer

⎯ — application measurement and control data communication to exchange information between

applications in different nodes based on message communication;
⎯ — wake-up and sleep functionality;

⎯ — two kinds of communication methods can be selected at system design by each node:

i) i) the event-triggered method, which supports application measurement- and control-based

(event-driven) slave node communication, and

ii) ii) the polling method, which supports slave node communication based on a periodic master

schedule;
⎯ — performs error detection and reports the result to the application;
⎯ — application error management;
— Transport layer and network layer
⎯ — transforms a message into a single packet;

⎯ — adds protocol control information for diagnostic and node configuration into each packet;

⎯ — adds packet identifier for diagnostic and node configuration into each packet;

⎯ — performs error detection and reports the result to higher OSI layers.
— Data link layer and physical layer
⎯ — provides long and short data frames;
⎯ — adds a frame identifier into the frame;
⎯ — adds frame information into the frame;
⎯ — adds a cyclic redundancy check into the frame;

⎯ — performs byte-wise arbitration and reports the arbitration result to higher OSI layers;

⎯ — performs frame type detection in reception function;
© ISO 2019 – All rights reserved
---------------------- Page: 5 ----------------------
ISO/DIS 20794-6:2019(E)
⎯ — performs error detection and reports the result to higher OSI layers.
⎯ — performs Carrier Sense Multiple Access (CSMA);
⎯ — performs Collision Resolution (CR);

⎯ — generates a clock, which is transmitted with each bit to synchronise the connected nodes on the CXPI

network;
⎯ — supports bit rates up to 20 kbit/s;

To achieve this, it is based on the Open Systems Interconnection (OSI) Basic Reference Model specified in

[1]

ISO/IEC 7498-1 and ISO/IEC 10731 , which structures communication systems into seven layers.

Figure 1 illustrates an overview of communication frameworks beyond the scope of this document including related

standards:

— vehicle normal communication framework, which is composed of this document, and ISO 20794-5;

[2]

— vehicle diagnostic communication framework, which is composed of ISO 14229-1, ISO 14229-2 , and

[4]
ISO 14229-8 ;
[6]

— presentation layer standards, e.g. vehicle manufacturer specific or ISO 22901-1 ODX ;

— lower OSI layers framework, which is composed of ISO 20794-3, ISO 20794-4, ISO 20794-6, and ISO 20794-7

conformance testing.
[4]

ISO 20794 (all parts) and ISO 14229-8 are based on the conventions specified in the OSI Service Conventions

[1]
(ISO/IEC 10731) as they apply for all layers and the diagnostic services.
© ISO 2019 – All rights reserved
---------------------- Page: 6 ----------------------
ISO/DIS 20794-6:2019(E)
ISO/IEC 7498-1,
ISO/IEC 10731 Vehicle normal communication Vehicle diagnostic Vehicle diagnostic
framework communication communication use case
framework standards
ISO 20794-2 Application Use case-specific
standards
Application control and Application service
event service interface interface
OSI Layer 7
ISO 14229-8 UDSonCXPI
Application
Node configuration and
diagnostic message
interaction layer
ISO 14229-1
Application
layer
ISO 20794-5
Presentation layer
ISO 20794-2
Application layer
standards
Application layer
conformance test plan
OSI Layer 6
Vehicle manufacturer
Presentation
specific or ISO 22901 ODX
Upper layer service interface
ISO 14229-2 Session layer
OSI Layer 5
Application layer
Session
service interface Session layer service interface
ISO 20794-6 Transport layer service interface
OSI Layer 4
Transport and
Transport
ISO 20794-3 Transport and network layer
network layer
conformance test plan
OSI Layer 3
Network Network layer service interface
ISO 20794-7 Data link layer service interface
OSI Layer 2
Data link and physical
Data link
layer conformance
Physical layer control and
test plan ISO 20794-4 Data link and physical layer
OSI Layer 1
event service interface
Physical
OSI lower layers framework
Figure 1 — ISO 20794 document reference according to OSI model
© ISO 2019 – All rights reserved
vii
ev_wakeup_ind
---------------------- Page: 7 ----------------------
DRAFT INTERNATIONAL STANDARD ISO/DIS 20794-6:2019(E)
Road vehicles — Clock extension peripheral interface
(CXPI) — Part 6: Transport and network layers conformance
test plan
1 Scope

This document specifies the transport and network layer conformance test plan, which tests the

transportation of diagnostic communication and node configuration data and network layer services

using the service interface parameters reported by lower layers and submitted to higher OSI layers.

The transport and network layer conformance test plan contains the following descriptions:

⎯ concept of operation conformance test plan;
⎯ transport layer protocol conformance test plan;
⎯ network layer services conformance test plan; and
⎯ error detection conformance test plan.
2 Normative references

The following referenced documents are indispensable for the application of this document. For dated

references, only the edition cited applies. For undated references, the latest edition of the referenced

document (including any amendments) applies.

ISO/IEC 10731:1994 (Ed. 1), Information technology — Open Systems Interconnection — Basic Reference

Model — Conventions for the definition of OSI services

ISO 20794-2, Road vehicles – Clock extension peripheral interface (CXPI) — Part 2: Application layer

ISO 14229-1, Road vehicles — Unified diagnostic services (UDS) — Part 1: Application layer

© ISO 2019 – All rights reserved
---------------------- Page: 8 ----------------------
ISO/DIS 20794-6:2019(E)
3 Terms and definitions

For the purposes of this document, the terms and definitions given in ISO 20794-2, ISO/IEC 7498-1 [1],

and the following apply.

ISO and IEC maintain terminological databases for use in standardization at the following addresses:

⎯ IEC Electropedia: available at http://www.electropedia.org/
⎯ ISO Online browsing platform: available at http://www.iso.org/obp
3.1
lower OSI layers
OSI layers lower than transport layer and network layer
3.2
master node

node that provides the schedule master management (include ReqTypeId transmission), the primary

clock, and optionally the sleep message transmission management
3.3
slave node
node other than master node connected to the CXPI network
3.4
protocol data unit

data byte array that is contain data and the other information to establish communication

3.5
protocol control information
information contains frame type and data length
3.6
protocol control information type
information that identifies the frame type
3.7
single frame data length
information that identifies the data length
3.8
single frame data length extension
information that identifies data length beyond single frame data length
3.9
node address
address information that identifies target node
3.10
result
transmission or reception status to report to upper OSI layers
© ISO 2019 – All rights reserved
---------------------- Page: 9 ----------------------
ISO/DIS 20794-6:2019(E)
3.11
Status report frame

Frame which enable to observe any error occurrence and internal state on CXPI network. This frame

consists with TST_FRM_05_REQ_PID_ERRBIT and TST_FRM_18_RESP_ERRBIT_0-12.
4 Symbols and abbreviated terms
4.1 Symbols
kbit/s kilobit per second
4.2 Abbreviated terms
CRC cyclic redundancy check
CTC conformance test case
Err error
IUT implementation under test
MSG message
N_NAD network layer node address
N_PDU network layer protocol data unit
NL network layer
OSI open systems interconnection
PDU protocol data unit
PID protected identifier
ReqId request identifier
ReqTypeId request type identifier
SUT system under test
T_PCI transport layer protocol control information
T_PCItype transport layer protocol control information type
T_PCI_DL transport layer protocol control information single frame data length
T_PDU transport layer protocol data unit
TL transport layer
TST test
© ISO 2019 – All rights reserved
---------------------- Page: 10 ----------------------
ISO/DIS 20794-6:2019(E)
5 Conventions

This document is based on the conventions discussed in the OSI Service Conventions as specified in ISO/IEC 10731.

6 General test specification considerations
6.1 General

This document covers the conformance test cases (CTC) to verify the requirements described in

ISO 20794-3 transport and network layer document. This document does not concern with the timing

parameters, detailed sequences, and the content of lower OSI layers defined in ISO 20794-4 data link and

physical layers.

The CTCs specified in this document cover the transport and network layer parameters which are defined

for the transport protocol and network layer services.
6.2 Test conditions

Tests shall be performed at room temperature in a range of 15 to 35 degrees of Celsius. Also, the tests

shall be performed under room EMI (electro-magnetic interference) conditions.
6.3 IUT requirements

The occurrence of the error specified in ISO 20794-2 sub-clause:9.6.6 "APP – Error notification on CXPI

network (optional)" shall be notified to higher OSI layers.
IUT shall be initialised in the test case respectively.
© ISO 2019 – All rights reserved
---------------------- Page: 11 ----------------------
ISO/DIS 20794-6:2019(E)
6.4 CTC definition

The definition of each test case specifies, whether the IUT is a master or slave node. each CTC is defined

in the structure as defined in Table 1.
Table 1 — CTC definition
Item Content
CTC # – Title [OSI layer #].CTC_[number_name]
Purpose To verify that the …
Reference REQ document, REQ number – REQ name
Prerequisite e.g., tested node in s_NetInterface_Normal_Operation
Set-up 1. IUT as master node or slave node;

2. Configuration: Define setup or using the test frame for the IUT and the test system;

3. Bit rate: Define the bit rate for each test case;

4. SUT initialisation: Define an initialisation of the IUT before each test case. ;

Step 1 A short description of the test case.
Iteration Definition of repetitions of test procedure steps.
Expected
Define the expected behaviour of IUT when the test step is executed.
response
Remark ---
6.5 Test system set-up

The test system ensures the precision of the bit time and bit synchronisation of the master node as

specified in ISO 20794-3. If the IUT is a master node then the LT functions as a slave node and vice versa.

The UT is implemented in the DUT and contains the conformance test controller. The conformance test

controller in the UT interfaces with the UT service interface of the IUT and LT. The control and

measurement functionality is provided by direct access to the service interface (key 3) and the associated

parameters of the OSI layer as specified in ISO 20794-3.

The conformance test controller manipulates the service interface parameters of the OSI layers to fulfil

the purpose of each conformance test case (CTC). Figure 2 shows the test system set-up.

© ISO 2019 – All rights reserved
---------------------- Page: 12 ----------------------
ISO/DIS 20794-6:2019(E)
Figure 2 — Test system set-up
Key
1 IUT-specific set-up parameters (CXPI node's electronic data sheet)
2 test control protocol
3 points of control and observation and abstract service primitives
4 OSI layers 7 to 5 protocol data units
6.6 Configuration of test system and IUT

The test system requires set-up parameters (see Figure 2 key 1), which specify OSI-4 and 3-layer

properties of the IUT. The IUT-specific data sheet (key 1) includes set-up parameters which the test

system requires to perform conformance test cases.
The IUT-specific data sheet includes at least the following information:
⎯ The request identifier uses 01 to 7F and use 00 by the reque
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.