1、BRITISH STANDARD BS EN 50320:2001 Digital audio broadcasting system Specification of the DAB command set for receivers (DCSR) The European Standard EN 50320:2000 has the status of a British Standard ICS 33.170 NO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAWBS EN 50320:2001 Thi
2、s British Standard, having been prepared under the direction of the Electrotechnical Sector Committee, was published under the authority of the Standards Committee and comes into effect on 15 March 2001 BSI 03-2001 ISBN 0 580 37112 3 National foreword This British Standard is the official English la
3、nguage version of EN 50320:2000. The UK participation in its preparation was entrusted by Technical Committee EPL/100, Audio, video and multimedia systems, to Subcommittee EPL/100/1, Radio receiving equipment, which has the responsibility to: A list of organizations represented on this subcommittee
4、can be obtained on request to its secretary. Cross-references The British Standards which implement international or European publications referred to in this document may be found in the BSI Standards Catalogue under the section entitled “International Standards Correspondence Index”, or by using t
5、he “Find” facility of the BSI Standards Electronic Catalogue. A British Standard does not purport to include all the necessary provisions of a contract. Users of British Standards are responsible for their correct application. Compliance with a British Standard does not of itself confer immunity fro
6、m legal obligations. aid enquirers to understand the text; present to the responsible European committee any enquiries on the interpretation, or proposals for change, and keep the UK interests informed; monitor related international and European developments and promulgate them in the UK. Summary of
7、 pages This document comprises a front cover, an inside front cover, the EN title page, pages 2 to 84, an inside back cover and a back cover. The BSI copyright date displayed in this document indicates when the document was last issued. Amendments issued since publication Amd. No. Date CommentsEUROP
8、EAN STANDARD EN 50320 NORME EUROPENNE EUROPISCHE NORM November 2000 CENELEC European Committee for Electrotechnical Standardization Comit Europen de Normalisation Electrotechnique Europisches Komitee fr Elektrotechnische Normung Central Secretariat: rue de Stassart 35, B - 1050 Brussels 2000 CENELEC
9、 - All rights of exploitation in any form and by any means reserved worldwide for CENELEC members. Ref. No. EN 50320:2000 E ICS 33.160.20 English version Digital audio broadcasting system Specification of the DAB command set for receivers (DCSR) Systme de radiodiffusion sonore numrique Spcifications
10、 du jeu de commande DAB pour le rcepteur (DCSR) Digitales Tonrundfunksystem Spezifikation des DAB-Befehlssatzes fr Empfnger (DCSR) This European Standard was approved by CENELEC on 2000-01-01. CENELEC members are bound to comply with the CEN/CENELEC Internal Regulations which stipulate the condition
11、s for giving this European Standard the status of a national standard without any alteration. Up-to-date lists and bibliographical references concerning such national standards may be obtained on application to the Central Secretariat or to any CENELEC member. This European Standard exists in three
12、official versions (English, French, German). A version in any other language made by translation under the responsibility of a CENELEC member into its own language and notified to the Central Secretariat has the same status as the official versions. CENELEC members are the national electrotechnical
13、committees of Austria, Belgium, Czech Republic, Denmark, Finland, France, Germany, Greece, Iceland, Ireland, Italy, Luxembourg, Netherlands, Norway, Portugal, Spain, Sweden, Switzerland and United Kingdom.Page 2 EN 50320:2000 BSI 03-2001 Foreword This European Standard was prepared by the Technical
14、Committee CENELEC TC 206, Consumer equipment for entertainment and information and related sub-systems. The text of the draft was submitted to the Unique Acceptance Procedure and was approved by CENELEC as EN 50320 on 2000-01-01. The following dates were fixed: latest date by which the EN has to be
15、implemented at national level by publication of an identical national standard or by endorsement (dop) 2001-05-01 latest date by which the national standards conflicting with the EN have to be withdrawn (dow) 2003-01-01 _Page 3 EN 50320:2000 BSI 03-2001 Contents 1 General 5 1.1 Scope. 5 1.2 Structur
16、e of DCSR . 5 2 Reference table 7 3 Responses 8 3.1 accepted 8 3.2 rejected 8 3.3 interim . 9 3.4 command_not_implemented 9 3.5 busy. 10 3.6 syntax_error.1 0 4 Commands and notifications. 11 4.1 get_receiver_capability 11 4.2 notify_receiver_capability 12 4.3 tune 24 4.4 get_tii. 25 4.5 notify_tii 2
17、7 4.6 select_tii 30 4.7 get_pad 32 4.8 notify_pad .3 3 4.9 select_pad.3 4 4.10 get_figs . 36 4.11 notify_fig . 42 4.12 select_figs.4 3 4.13 get_channel 44 4.14 notify_channel 46 4.15 select_channel 48 4.16 get_selection_status . 51 4.17 notify_selection_status. 52Page 4 EN 50320:2000 BSI 03-2001 4.1
18、8 search_for_ensemble 54 4.19 notify_search_for_ensemble . 59 4.20 set_drc 60 4.21 get_audio_info. 62 4.22 notify_audio_info. 63 4.23 get_dab_status 64 4.24 notify_dab_status 64 4.25 set_dab_status_auto_notification. 68 4.26 get_active_info 71 4.27 notify_active_info 72 4.28 notify_service_following
19、. 72 4.29 manufacturer_specific_command. 73 4.30 manufacturer_specific_notification 74 4.31 notify_error_message . 75 5 Example of DCSR coding 77 6 Guidelines for data fields, reserved for future use (Rfus) or addition (Rfas) and table entries, reserved for future definition (Rfds). 83 7 Glossary 84
20、 8 References 84Page 5 EN 50320:2000 BSI 03-2001 1 General 1.1 Scope This standard describes a command set which should be used to control DAB receivers. The coding of these commands is also described. This command set is intended to be used on different physical bus systems. The coding should be ma
21、pped transparently on different physical interfaces. Selection conflict management, dynamic bandwidth problems and the device addressing are not within the scope of this document. 1.2 Structure of DCSR The DCSR paper describes the Instruction Set, which consists of three types of messages as follows
22、: The “Command” is used by a controlling device in order to tell the DAB receiver to perform a certain action, to deliver certain information or to move into a certain state. The “Response” contains only a quick reaction (t1 100 ms, bus transfer time not included) to the “Command”, e.g. accepted, re
23、jected, busy. If the final response cannot be provided within 100 ms an interim response shall be sent within 100 ms. t1x shall be zero if no interim response is sent. This response is mandatory and returned to the sender of the command. The “Notification” contains the entire answer to the “Command”
24、. The commands are considered from the DAB receiver point of view. The notifications are sent to the controller or to the specified output. A new command shall not be sent before the final response of the previous command was received (t2 0).Page 6 EN 50320:2000 BSI 03-2001 DAB Receiver time Control
25、ler t1 t1x t3 t4 t2 Figure 1 General command response structure NOTE: All parameter fields are always present unless otherwise stated. The DCSR structure is coded as follows: parameters 6 bits b 5 b *8-1 b 0 2 bits b 1 b 0 category_code b 0 bytes reference_codePage 7 EN 50320:2000 BSI 03-2001 2 Refe
26、rence table category code reference code get_receiver_capability 0x1 0x01 tune 0x1 0x02 get_tii 0x1 0x03 select_tii 0x1 0x04 get_pad 0x1 0x05 select_pad 0x1 0x06 get_figs 0x1 0x07 select_figs 0x1 0x08 get_channel 0x1 0x09 select_channel 0x1 0x0A get_selection_status 0x1 0x0B search_for_ensemble 0x1
27、0x0C set_drc 0x1 0x0D get_audio_info 0x1 0x0E get_dab_status 0x1 0x0F set_dab_status_auto_notification 0x1 0x10 get_active_info 0x1 0x11 manufacturer_specific_command 0x1 0x20 accepted 0x2 0x01 rejected 0x2 0x02 interim 0x2 0x03 command_not_implemented 0x2 0x04 busy 0x2 0x05 syntax_error 0x2 0x06 no
28、tify_receiver_capability 0x3 0x01 notify_tii 0x3 0x03 notify_pad 0x3 0x05 notify_fig 0x3 0x07 notify_channel 0x3 0x09 notify_selection_status 0x3 0x0B notify_search_for_ensemble 0x3 0x0C notify_audio_info 0x3 0x0E notify_dab_status 0x3 0x0F notify_active_info 0x3 0x11 notify_service_following 0x3 0x
29、12 manufacturer_specific_notification 0x3 0x20 notify_error_message 0x3 0x30 Category code: 0x1: Command 0x2: Response 0x3: NotificationPage 8 EN 50320:2000 BSI 03-2001 3 Responses 3.1 accepted Category: Response (mandatory) Purpose: The receiver indicates to the controller that it is able to start
30、the execution of the command. No notify_error_message is allowed to follow, but other notifications may follow. Syntax: accepted () Parameter: none 3.2 rejected Category: Response (mandatory) Purpose: The receiver indicates to the controller that it cannot process the command (e.g. parameter out of
31、range). A notify_error_message will follow, or in case of a manufacturer_specific_command a manufacturer_specific_notification (containing the error message) will follow. Syntax: rejected () Parameter: nonePage 9 EN 50320:2000 BSI 03-2001 3.3 interim Category: Response (mandatory) Purpose: The recei
32、ver indicates to the controller that it cannot start executing the command within 100 ms. Subsequent to an initial response of INTERIM, the receiver shall not send any additional INTERIM responses for this command. The receiver shall send a final response when the command execution is started. No fu
33、rther command is allowed before the final response is received. Syntax: interim () Parameter: none 3.4 command_not_implemented Category: Response (mandatory) Purpose: The receiver indicates to the controller that it cannot process the command, because this command is not implemented in the receiver.
34、 No notification will follow. Syntax: command_not_implemented () Parameter: nonePage 10 EN 50320:2000 BSI 03-2001 3.5 busy Category: Response (mandatory) Purpose: The receiver indicates to the controller that it cannot process the command at this time, because the receiver is busy. The controller sh
35、ould send this command again later. No notification will follow. Syntax: busy () Parameter: none 3.6 syntax_error Category: Response (mandatory) Purpose: The receiver indicates to the controller that he cannot process the command, because there is a syntactical error in the received command (e.g. wr
36、ong number of parameters). No notification will follow. Syntax: syntax_error () Parameter: nonePage 11 EN 50320:2000 BSI 03-2001 4 Commands and notifications All meaningless command parameters are to be ignored (handled as dont care) by the receiver. 4.1 get_receiver_capability Category: Command (ma
37、ndatory) Purpose: The controller asks the DAB receiver for its capabilities. Syntax: get_receiver_capability () Parameter: none Reaction: response(accepted) notify_receiver_capability(.) The receiver provides the receiver capabilities. response(rejected) notify_error_message( ) response(interim) res
38、ponse(busy) response(syntax_error)Page 12 EN 50320:2000 BSI 03-2001 4.2 notify_receiver_capability Category: Notification (mandatory) Purpose: The DAB receiver provides its capabilities to the controller. Syntax: notify_receiver_capability (dcsr_id, dcsr_profile, manufacturer_id, model_number, model
39、_year, serial_number, freq_range, transmission_mode, max_net_bitrate, max_cu_num, num_subch, tii, sf, drc, acs, pad, aic, audio_info, aud_dec, vid_dec, fig_filtering, Rfa, service_following, interface_descriptor)Page 13 EN 50320:2000 BSI 03-2001 manufacturer_id transmission_mode model_year 3 bytes 1
40、 byte 1 byte 1 byte b 15 b 0 b 7 b 0 b 0 b 23 b 8 b 127 2 bytes b 7 b 0 1 byte 1 byte 4 bytes dcsr_id dcsr_profile model_number 2 bytes b 7 b 0 b 31 b 0 b 15 b 0 b 15 b 0 b 7 . asc_1 asc_2 1 byte serial_number freq_range freq_table b 0 16 bytes start_freq n end_freq 1 start_freq 1 num_freq_flex freq
41、_band_flex freq_band b 18 b 18 b 18 b 18 b 7 b 7 b 15 b 0 b 0 b 0 b 0 b 0 b 0 1 byte 6 bits 10 bits 19 bits 19 bits 19 bits 19 bits 1 byte 4 bits 2 bytes . end_freq n padding 4 bits drc sf tii num_subch max_net_bitrate max_cu_num b 3 b 0 b 7 b 0 b 5 b 0 b 9 b 0 . b 0 b 0 b 3 b 0 b 7 b 0 b 0 b 3 serv
42、ice_following Rfa aud_dec fig_filtering aic pad acs 2 bytes 1 bit 2 bits 1 bit 4 bits 1 byte b 7 b 0 b 0 b 15 b 0 b 3 b 0 b 0 b 3 . interface_descriptor num_i/o interface n interface 1 b 0 b 6 . 4 bits protocol m Rfa protocol 1 num_protocols I/O_Id in/out 7 bits 1 bit b 0 b 7 b 0 b 7 b 0 b 3 b 0 . 4
43、 bits 4 bits 1 byte 1 byte 1 byte b -1 b 0 bits vid_dec b 0 1 bit b 0 audio_info 3 bits b 0 b 2 b 1Page 14 EN 50320:2000 BSI 03-2001 Parameter: dcsr_id This 8-bit field, coded as unsigned binary number, shall specify the DCSR Identifier (1.254). The DCSR Identifier determines the supported DCSR vers
44、ion. Since the DCSR versions are backward compatible, a certain dcsr_id means all lesser dcsr_ids are also supported. b 7 .b 0 0000 0000 signals no information 0000 0001 DCSR version 1 0000 0010 DCSR version 2 . . 1111 1110 DCSR version 254 1111 1111 Rfd (escape option) dcsr_profile This 32-bit fiel
45、d indicates which optional commands and notifications are implemented in the receiver. Bit flag b0 get_tii b1 get_pad b2 select_tii b3 select_pad b4 select_figs b5 set_drc b6 get_audio_info b7 get_channel b8 notify_channel b9 manufacturer specific command b10b31 Rfa The flags shall be coded as follo
46、ws bi (i=0.31): 0: optional command not implemented; 1: optional command implemented.Page 15 EN 50320:2000 BSI 03-2001 manufacturer_id This 16-bit field, coded as 2 ASCII characters, shall specify the manufacturer identifier based on CRIN (Car Radio Identification Number, see ref.5). ASC_1: This 8-b
47、it field, coded as ASCII character, shall specify the first character of manufacturer identifier (A-Z) according to ref.5. ASC_2: This 8-bit field, coded as ASCII character, shall specify the second character of manufacturer identifier (A-Z) according to ref.5. model_number This 16-bit field, coded
48、as an unsigned binary number, shall specify the model number based on CRIN (ref. 5). This 16-bit binary field represents the 4 digits (decimal) model number of CRIN. b 15 .b 0 decimal model_number 0000 0000 0000 0000. 0000 0000 0000 0000 0001 0001 . . 0010 0111 0000 1111 9999 0010 0111 0001 0000 not
49、 to be used . . 1111 1111 1111 1110 not to be used 1111 1111 1111 1111 not to be used model_year This 8-bit field, coded as ASCII character, shall specify the model year based on CRIN (ref. 5 ). serial_number This 24-bit field, coded as an unsigned binary number, shall specify the serial number based on CRIN (ref. 5). This 24-bit field is the binary representation of the 7 digits (decimal) serial number of CRIN. b 23 .b 0 decimal serial_number 0000 0000 0000 0000 0000 0000 000 0000 . . 1001 1000