1、raising standards worldwideNO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAWBSI Standards PublicationBS ISO 17458-3:2013Road vehicles FlexRaycommunications systemPart 3: Data link layer conformance testspecificationBS ISO 17458-3:2013 BRITISH STANDARDNational forewordThis Britis
2、h Standard is the UK implementation of ISO 17458-3:2013.The UK participation in its preparation was entrusted to TechnicalCommittee AUE/16, Electrical and electronic equipment.A list of organizations represented on this committee can beobtained on request to its secretary.This publication does not p
3、urport to include all the necessaryprovisions of a contract. Users are responsible for its correctapplication. The British Standards Institution 2013. Published by BSI StandardsLimited 2013ISBN 978 0 580 76714 2ICS 43.040.15Compliance with a British Standard cannot confer immunity fromlegal obligati
4、ons.This British Standard was published under the authority of theStandards Policy and Strategy Committee on 31 January 2013.Amendments issued since publicationDate Text affectedBS ISO 17458-3:2013Reference numberISO 17458-3:2013(E)ISO 2013INTERNATIONAL STANDARD ISO17458-3First edition2013-02-01Road
5、 vehicles FlexRay communications system Part 3: Data link layer conformance test specification Vhicules routiers Systme de communications FlexRay Partie 3: Spcification dessai de conformit de la couche de liaison de donnes BS ISO 17458-3:2013ISO 17458-3:2013(E) COPYRIGHT PROTECTED DOCUMENT ISO 2013
6、All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either ISO at the address below or ISOs member body in the countr
7、y of the requester. ISO copyright office Case postale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web www.iso.org Published in Switzerland ii ISO 2013 All rights reservedBS ISO 17458-3:2013ISO 17458-3:2013(E) ISO 2013 All rights reserved iii Contents Pag
8、e Foreword iv Introduction . v 1 Scope 1 2 Normative references 1 3 Terms, definitions, symbols and abbreviated terms . 1 3.1 Terms and definitions . 1 3.2 Symbols 1 3.3 Abbreviated terms . 2 3.4 Functions 4 4 Conventions . 4 5 Document overview . 5 6 General . 6 6.1 Test architecture 6 6.2 Test imp
9、lementation 7 6.3 Internal RxDelay 9 6.4 Analog delays 9 6.5 Accepted deviations 10 6.6 Testability requirements . 11 6.7 Test execution . 14 7 Conformance test cases . 16 7.1 General statements and test case structure. 16 7.2 Receive data . 23 7.3 CHI . 125 7.4 Clock synchronisation 440 7.5 Wakeup
10、. 530 7.6 Startup 568 7.7 Miscellaneous 672 7.8 Optional TT-E feature 820 7.9 Preambles 846 8 Configuration . 854 8.1 Basic configuration . 854 8.2 Standard modifications . 859 9 Static test cases 861 9.1 Electrical interface . 861 9.2 Protocol parameter 861 Annex A (normative) Technical data for th
11、e electrical interface of a FlexRay Communication Controller V3.0 . 862 Annex B (normative) Technical data for the protocol parameter of a FlexRay Communication Controller V3.0 . 864 Bibliography 865 BS ISO 17458-3:2013ISO 17458-3:2013(E) iv ISO 2013 All rights reserved Foreword ISO (the Internation
12、al 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 e
13、stablished 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 standard
14、ization. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2. The main task of technical committees is to prepare International Standards. Draft International Standards adopted by the technical committees are circulated to the member bodies for vo
15、ting. Publication as an International Standard requires approval by at least 75 % of the member bodies casting a vote. 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 su
16、ch patent rights. ISO 17458-3 was prepared by Technical Committee ISO/TC 22, Road vehicles, Subcommittee SC 3, Electrical and electronic equipment. ISO 17458 consists of the following parts, under the general title Road vehicles FlexRay communications system: Part 1: General information and use case
17、 definition Part 2: Data link layer specification Part 3: Data link layer conformance test specification Part 4: Electrical physical layer specification Part 5: Electrical physical layer conformance test specification BS ISO 17458-3:2013ISO 17458-3:2013(E) ISO 2013 All rights reserved v Introduction
18、 The FlexRay communications system is an automotive focused high speed network and was developed with several main objectives which were defined beyond the capabilities of established standardized bus systems like CAN and some other proprietary bus systems. Some of the basic characteristics of the F
19、lexRay protocol are synchronous and asynchronous frame transfer, guaranteed frame latency and jitter during synchronous transfer, prioritization of frames during asynchronous transfer, single or multi-master clock synchronization, time synchronization across multiple networks, error detection and si
20、gnalling, and scalable fault tolerance. The FlexRay communications system is defined for advanced automotive control applications. It serves as a communication infrastructure for future generation high-speed control applications in vehicles by providing: A message exchange service that provides dete
21、rministic cycle based message transport; Synchronization service that provides a common time base to all nodes; Start-up service that provides an autonomous start-up procedure; Error management service that provides error handling and error signalling; Wakeup service that addresses the power managem
22、ent needs. Since start of development the automotive industry world wide supported the specification development. The FlexRay communications system has been successfully implemented in production vehicles today. The ISO 17458 series specifies the use cases, the communication protocol and physical la
23、yer requirements of an in-vehicle communication network called “FlexRay communications system“. This part of ISO 17458 has been established in order to define the protocol conformance test case requirements. To achieve this, it is based on the Open Systems Interconnection (OSI) Basic Reference Model
24、 specified in ISO/IEC 7498-1 and ISO/IEC 10731, which structures communication systems into seven layers. When mapped on this model, the protocol and physical layer requirements specified by ISO 17458 are broken into: Diagnostic services (layer 7), specified in ISO 14229-1 14, ISO 14229-4 16; Presen
25、tation layer (layer 6), vehicle manufacturer specific; Session layer services (layer 5), specified in ISO14229-2 15; Transport layer services (layer 4), specified in ISO 10681-2 5; Network layer services (layer 3), specified in ISO 10681-2 5; Data link layer (layer 2), specified in ISO 17458-2, ISO
26、17458-3; Physical layer (layer 1), specified in ISO 17458-4, ISO 17458-5; in accordance with Table 1. BS ISO 17458-3:2013ISO 17458-3:2013(E) vi ISO 2013 All rights reserved Table 1 FlexRay communications system specifications applicable to the OSI layers Applicability OSI 7 layers ISO 17458 FlexRay
27、communications system Vehicle manufacturer enhanced diagnostics Seven layer according to ISO 7498-1 and ISO/IEC 10731 Application (layer 7) vehicle manufacturer specific ISO 14229-1, ISO 14229-4 Presentation (layer 6) vehicle manufacturer specific vehicle manufacturer specific Session (layer 5) vehi
28、cle manufacturer specific ISO 14229-2 Transport (layer 4) vehicle manufacturer specific ISO 10681-2 Network (layer 3) vehicle manufacturer specific Data link (layer 2) ISO 17458-2, ISO 17458-3 Physical (layer 1) ISO 17458-4, ISO 17458-5 Table 1 shows ISO 17458 Parts 2 5 being the common standards fo
29、r the OSI layers 1 and 2 for the FlexRay communications system and the vehicle manufacturer enhanced diagnostics. The FlexRay communications system column shows vehicle manufacturer specific definitions for OSI layers 3 7. The vehicle manufacturer enhanced diagnostics column shows application layer
30、services covered by ISO 14229-4 which have been defined in compliance with diagnostic services established in ISO 14229-1, but are not limited to use only with them. ISO 14229-4 is also compatible with most diagnostic services defined in national standards or vehicle manufacturers specifications. Th
31、e presentation layer is defined vehicle manufacturer specific. The session layer services are covered by ISO 14229-2. The transport protocol and network layer services are specified in ISO 10681. BS ISO 17458-3:2013INTERNATIONAL STANDARD ISO 17458-3:2013(E) ISO 2013 All rights reserved 1 Road vehicl
32、es FlexRay communications system Part 3: Data link layer conformance test specification 1 Scope This part of ISO 17458 specifies the FlexRay protocol conformance test. This test verifies the conformance of FlexRay communication controllers with respect to ISO 17458-2. Some testability requirements a
33、re given in 6.2.2.3 and 6.6 and are applicable for FlexRay communication controllers to pass the conformance test 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 refere
34、nces, the latest edition of the referenced document (including any amendments) applies. ISO 17458-2, Road vehicles FlexRay communications system Part 2: Data link layer specification ISO 17458-4, Road vehicles FlexRay communications system Part 4: Electrical physical layer specification 3 Terms, def
35、initions, symbols and abbreviated terms 3.1 Terms and definitions For the purposes of this document, the terms and definitions defined in ISO 17458-2 and ISO 17458-4 apply. 3.2 Symbols delta Element, lower-case epsilon Xsi T microtick T gdSampleClockPeriod (= Sampletick) tRCmodification of cycle len
36、gth due to calculated rate correction (equal to zRateCorrection, used in figures of “Clock synchronisation“) tOCmodification of cycle length due to calculated offset correction (equal to zOffsetCorrection, used in figures of “Clock synchronisation“) BS ISO 17458-3:2013ISO 17458-3:2013(E) 2 ISO 2013
37、All rights reserved Rx, Txanalogue delays (see 6.4 ) , IUTallowed deviation from theoretical results due to LT-IUT jitter (see 6.5) 3.3 Abbreviated terms BC basic configuration BD bus driver BSS byte start sequence CAS collision avoidance symbol CC communication controller CE communication element C
38、HI controller host interface CHIRP channel idle recognition point CRC cyclic redundancy code DC dual channel DTS dynamic trailing sequence FES frame end sequence FIFO first in first out FPGA field programmable gate array FSS frame start sequence ID identifier IP intellectual property IUT implementat
39、ion under test LT lower tester MT macrotick MTS media access test symbol NIT network idle time NM network management PE protocol engine POC protocol operation control RTL register transfer level BS ISO 17458-3:2013ISO 17458-3:2013(E) ISO 2013 All rights reserved 3 RxD receive data signal from bus dr
40、iver SC single channel TE test execution TSS transmission start sequence TT-D time triggered distributed TT-E time triggered external TxD transmit data signal from CC TxEN transmit data enable not signal from CC UT upper tester WUDOP wakeup during operation pattern WUP wakeup pattern WUS wakeup symb
41、ol POC states: C POC:config CSCC POC:coldstart consistency check CSCR POC:coldstart collision resolution CSG POC:coldstart gap CSJ POC:coldstart join CSL POC:coldstart listen DC POC:default config H POC:halt ICC POC:integration consistency check ICSC POC:integration coldstart check IL POC:integratio
42、n listen IS POC:initialize schedule NA POC:normal active NP POC:normal passive R POC:ready BS ISO 17458-3:2013ISO 17458-3:2013(E) 4 ISO 2013 All rights reserved 3.4 Functions TruncateTowardsZero: function returns the integer part of a number without its fractional digits (= sign(x) * floor(|x|) 4 Co
43、nventions ISO 17458 are based on the conventions specified in the OSI Service Conventions (ISO/IEC 10731) as they apply for physical and data link layer (protocol). BS ISO 17458-3:2013ISO 17458-3:2013(E) ISO 2013 All rights reserved 5 5 Document overview Figure 1 depicts the FlexRay document referen
44、ce according to OSI model. ISO 14229-1 UDS Specification and requirementsOSI Layer 7ApplicationOSI Layer 6PresentationOSI Layer 5SessionOSI Layer 4TransportOSI Layer 3NetworkOSI Layer 1PhysicalOSI Layer 2Data LinkISO 14229-2 UDS Session layer servicesISO 14229-4 UDSonFR1 : 1ISO 14229-2 UDS Session l
45、ayer servicessubsetISO 10681-2Communication onFlexRay Communication layer servicesISO 17458-2 FlexRay communications system Data link layer specificationStandardized Service Primitive InterfaceISO 17458-1 FlexRay communications system - General information anduse case definitionVehicle manufacturer
46、specificVehicle manufacturer specificEnhanced DiagnosticsVehicle Manufacturer specificFlexRay communications systemISO 17458-4 FlexRay communications system - Electrical physical layer specificationVehicle manufacturer specificVehicle manufacturer specificVehicle manufacturer specificVehicle manufac
47、turer specificISO 17458-3 FlexRay communications system Data link layer conformance test specificationISO 17458-5 FlexRay communications system - Electrical physical layer conformance test specificationFigure 1 FlexRay document reference according to OSI model BS ISO 17458-3:2013ISO 17458-3:2013(E)
48、6 ISO 2013 All rights reserved 6 General 6.1 Test architecture This part of ISO 17458 is based on a test architecture as shown in Figure 2, which follows the ISO 9646 standard. The implementation under test (IUT) is the FlexRay CC. The upper tester (UT) is connected to the FlexRay controller host in
49、terface (CHI) of the IUT and the CHI is device specific. The lower tester (LT) is connected to the FlexRay physical layer interface of the IUT and ISO 17458-4 describes this interface. The test coordination procedure controls the UT and the LT. In a hardware-based test environment (see 6.2.2), the FlexRay CC can be an “embedded” FlexRay CC meaning that CC is embedded in a microcontroller. In this case, the CHI (i.e., the upper tester interf