Digital surround processor/controllerl (171 pages)
Summary of Contents for JBL AV1 - SERIAL PROTOCOL DEFINITIONS
Page 1
Serial Protocol Definitions Protocol Version: Software Version 1.00/1.10 Major Rev 1 Minor Rev 6...
Page 2
JBL Performance Series RS-232 Serial Protocol Definitions “JBL” and the JBL logo are registered trademarks of Harman International Industries. U.S. patent numbers and other worldwide patents issued and pending. “Lexicon” and the Lexicon logo are registered trademarks of Harman International Industries. U.S. patent numbers and other worldwide patents issued and pending.
JBL Performance Series RS-232 Serial Protocol Definitions 1 Documents ............................7 1.1 Change List ..........................7 2 Definitions ............................7 3 Abbreviations........................... 7 4 General Description ......................... 7 4.1 Physical Layer........................... 8 4.2 Serial Port Driver ........................8 4.3 Errors ............................8 4.4 AV1 Receive Buffer .........................
Page 4
JBL Performance Series RS-232 Serial Protocol Definitions 6.3.4 Set Custom Name ......................15 6.3.4.1 Packet Description....................16 6.3.4.2 Data Description....................16 6.3.4.3 AV1 Response ...................... 16 6.3.4.4 Data Validation:..................... 16 6.3.5 Host Wakeup........................16 6.3.5.1 Command Packet Description ................16 6.3.5.2 Data Description....................
Page 5
JBL Performance Series RS-232 Serial Protocol Definitions 6.3.15.3 AV1 Response ......................27 6.3.15.4 Data Validation ....................... 27 6.3.16 AV1 Get Parameter Value by Id................27 6.3.16.1 Command Packet Description ................27 6.3.16.2 Data Description ..................... 27 6.3.16.3 Data Validation ....................... 27 6.3.16.4 AV1 Value String Response Packet ...............
Page 6
JBL Performance Series RS-232 Serial Protocol Definitions 6.3.25.5 Data Description ..................... 34 6.3.26 AV1 Set Input Name by Id ..................34 6.3.26.1 Command Packet Description ................34 6.3.26.2 Data Description ..................... 35 6.3.26.3 AV1 Response ......................35 6.3.26.4 Data Validation ....................... 35 Appendix A: Command Codes..................
AV1 system. HOST: The device initiating or receiving the serial communication packets to/from the AV1. AV1: The JBL product receiving or transmitting the serial communication packets to/from the HOST. Nonvolatile RAM: The area of memory in a AV1 that stores users adjustable parameters. The Nonvolatile RAM is battery backed, to maintain values during AV1 power down.
JBL Performance Series RS-232 Serial Protocol Definitions wait for a corresponding response before initiating the next transmission. The 3 protocol layers are Physical, Data Link, and Application Layers. 4.1 Physical Layer COM1 Note: The wiring requirements for a 9 pin to 9 pin serial connection are a male to female straight through cable.
JBL Performance Series RS-232 Serial Protocol Definitions The AV1 will detect parity, framing, and data overrun errors. If any of the physical layer errors are detected, the complete packet is corrupted and the AV1 will reset the transaction and begin to look for a start of packet byte.
JBL Performance Series RS-232 Serial Protocol Definitions Data Link Header: Byte Number Description Value First Byte (SOP) 0xF1 Start of Packet Byte (1) DLL Data Count nn Application Header: Byte (2) Command Byte (3) APP Data Count(number of application data bytes to...
JBL Performance Series RS-232 Serial Protocol Definitions Command DC_WAKEUP 0x01 Data Count 0x00 Application Data: 6.1.1.2 Host Response The AV1 does not expect any response from the HOST. 6.1.2 Sleep Notification By transmitting the Sleep Notification, AV1 indicates the unit is shutting down into a standby mode. Because the hard power switch could be activated independently of the AV1 system software, hard power down will not be notified.
JBL Performance Series RS-232 Serial Protocol Definitions (i.e. Volume Bar) The custom characters are ASCII character codes 8E - 93(hex). The codes are used as follows: '8E' - empty cell '8F' - left 1 bar '90' - left 2 bars...
JBL Performance Series RS-232 Serial Protocol Definitions Menu Background On/Off PARAM.OSD.BACKGND See the V1.00 Parameter ID List (page 43) for the Parameter ID definitions. 6.2 Acknowledgment Packets Acknowledge and No Acknowledge packets are used to communicate transmission, packet and data validation status.
JBL Performance Series RS-232 Serial Protocol Definitions 6.3.1 Reset Unit Commands the AV1 to soft reset. 6.3.1.1 Command Packet Description Application Header: Command DC_CMD_RESET 0x10 Data Count 0x00 Application Data: 6.3.1.2 AV1 Response The AV1 will perform an internal reset. After reset, the AV1 will go through a soft power-up initialization. This includes transmitting the “Wakeup Notification Packet”.
JBL Performance Series RS-232 Serial Protocol Definitions 6.3.3.3 Custom Name Response Packet Application Header: Command DC_RESP_CUST_NAME 0x89 Data Count Number of Characters in CustomName + 1 nn Application Data: Data[0]- Data[DataCount-1] CustomName ch ch ch … 0x00 6.3.3.4 Data Description CustomName: Data Type: Null (0x00) terminated ASCII character string.
JBL Performance Series RS-232 Serial Protocol Definitions 6.3.4.1 Packet Description Application Header: Command DC_CMD_SET_CUST_NAME 0x2C Data Count Number of characters in CustomName + 2 nn Application Data: Data[0] CustomNameEnable nn Data[1]-Data[DataCount-1] CustomName ch ch ch … 0x00 6.3.4.2 Data Description CustomNameEnable: Enables/Disables the Custom Name Display.
JBL Performance Series RS-232 Serial Protocol Definitions 6.3.5.3 AV1 Response The AV1 will respond to this command with an ACK. 6.3.6 Host Sleep By transmitting the Sleep command, the Host indicates it has just “powered down” and will no longer respond to AV1 Notifications.
JBL Performance Series RS-232 Serial Protocol Definitions FALSE Indicates the AV1 will not transmit any positive Acknowledge Notification messages. The AV1 will always transmit NAK error notification messages. Parameter Change Enable: TRUE Indicates the AV1 will transmit any parameter change Notification as specified in the Parameter Change Notification Message.
JBL Performance Series RS-232 Serial Protocol Definitions Application Data: Data[0] Mute State nn 6.3.9.2 Data Description MUTE State: Value Definition Description 0 UNMUTE The user mute state is set to unmuted. The AV1 may still be muted for other internal reasons.
JBL Performance Series RS-232 Serial Protocol Definitions Display String: Data Type: Null (0x00) terminated ASCII character string. Max Length: 40 Characters. 6.3.10.3 AV1 Response The display string is sent to the OSD and Front Panel Display. The AV1 will ACK when completed with this command.
JBL Performance Series RS-232 Serial Protocol Definitions 6.3.11.3 Data Validation: If the ParamId is not a valid Id, the AV1 will respond with a NAK packet and error code DC_ INVALID_PARAM_ID. 6.3.11.4 Parameter Definition Response Packet The following Packet has been defined as follows for the AV1 V1.00. Future releases may modify this definition.
JBL Performance Series RS-232 Serial Protocol Definitions For example: Setting a given signed 16 bit parameter to a value of -300 the data array would be packed as follows: Data[0] = 0xd4 Data[1] = 0xfe Data[2 - 13] = don't care.
JBL Performance Series RS-232 Serial Protocol Definitions 6.3.12.2 Data Description ParamId: Data Type: Unsigned 16 bit Integer Max Value: Max Parameter Count as reported by the AV1 Unit Configuration Response Packet (6.3.14.2 page 22). ParamType: Param Type Name Param Type ID Type Description...
JBL Performance Series RS-232 Serial Protocol Definitions Application Data: Data[0] ParamId(LSB) nn Data[1] ParamId(MSB) nn Data[2] ParamType nn Data[3-23] Value[0 -20] nn nn nn… 6.3.13.2 Data Description Same as AV1 Set Parameter Value by Id: Data Description (6.3.12.2 page 20).
JBL Performance Series RS-232 Serial Protocol Definitions Data[26] SerialNumber(LSB) nn Data[27] SerialNumber nn Data[28] SerialNumber nn Data[29] SerialNumber(MSB) nn 6.3.14.3 Data Description ProductId: This unsigned 8 bit value describes the product. Software Type: An unsigned 8 bit value indicating the current configuration of the unit’s software. The...
JBL Performance Series RS-232 Serial Protocol Definitions An unsigned 8 bit integer value indicating the unit’s major software version. The host should use this information to determine if new effects, effect parameters, or system parameters have been added or removed.
JBL Performance Series RS-232 Serial Protocol Definitions 6.3.15.2 Data Description KeyCode: Data Type: Unsigned 8 bit integer. Valid Values: AV1 IR Codes (Appendix C page 36) 6.3.15.3 AV1 Response The KeyCode is processed as a valid IR code. No acknowledgment will be sent from the AV1.
JBL Performance Series RS-232 Serial Protocol Definitions Data[2] ParamType nn Data[3-23] Value[0 -20] nn nn nn… 6.3.16.5 Data Description Same as AV1 Set Parameter Value by Id: Data Description (6.3.12.2 page 20). 6.3.17 AV1 Set Parameter Notification by Id Request to AV1 to enable or disable transmission of the AV1 parameter change notification for a given parameter.
JBL Performance Series RS-232 Serial Protocol Definitions 6.3.18.1 Command Packet Description Application Header: Command MC_CMD_PARAM_GET_VALUE_STRING_BY_ID 0x3C Data Count 23 0x17 Application Data: Data[0] ParamId (LSB) nn Data[1] ParamId (MSB) nn Data[2] - Data[22] Value[0] - Value[20] nn nn nn ..
JBL Performance Series RS-232 Serial Protocol Definitions 6.3.20 AV1 Get System Status Request to AV1 for its current system status. AV1 will respond with “System Status Packet”. 6.3.20.1 Command Packet Description Application Header: Command MC_CMD_GET_SYS_STATUS 0x3E Data Count 0 0x00 Application Data: 6.3.20.2 System Status Response Packet...
JBL Performance Series RS-232 Serial Protocol Definitions Data Type: Unsigned 8 bit integer. DATA STREAM TYPE DATA_TYPE_UNKNOWN 0 DATA_TYPE_BYPASS 1 DATA_TYPE_ANALOG 2 DATA_TYPE_PCM 3 DATA_TYPE_DD 4 DATA_TYPE_DTS 5 DATA_TYPE_NOISE 6 Mute Active: Data Type: Boolean. TRUE: System Mute is Active FALSE: System is unmuted.
JBL Performance Series RS-232 Serial Protocol Definitions Data Type: Signed 8 bit integer (2’s compliment) Max: +12 (0x0C) (12 dB) Min: -80 (0xB0) (-80 dB) 6.3.21.3 AV1 Response The AV1 will assign the value from the packet to the system volume.
JBL Performance Series RS-232 Serial Protocol Definitions 6.3.23.2 Data Description Value: Data Type: Signed 8 bit integer (2’s compliment) Max: +16 (0x10) (Full Front) Min: -16 (0xF0) (Full Back) 6.3.23.3 AV1 Response The AV1 will assign the value from the packet to the front/back balance.
JBL Performance Series RS-232 Serial Protocol Definitions Command MC_CMD_GET_INPUT_NAME 0x47 Data Count 1 0x01 Application Data: Data[0] InputId nn 6.3.25.2 Data Description InputId: Data Type: Definition/Conversion: Unsigned 8 bit Integer AV1 Input Ids (Appendix F page 40) 6.3.25.3 Data Validation The InputId must be a valid Input number.
JBL Performance Series RS-232 Serial Protocol Definitions Appendix C: AV1 IR Codes KEY FUNCTION DATA (hex) FUNCTION DATA (hex) FUNCTION DATA (hex) STANDBY 0x19 MAIN_OFF 0x99 ZONE_OFF 0x59 ON 0x18 Reserved 0x98 Reserved 0x58 FP 0x04 BAL_CENTER 0x84 ZONE_BAL_CENTER 0x44...
JBL Performance Series RS-232 Serial Protocol Definitions Appendix F: AV1 Input Ids AV1 Input Name AV1 Input Id OFF 0 DVD1 1 DVD2 2 TV 3 SAT 4 VCR 5 CD 6 TUNER 7 AUX 8 Application Notes and Examples 6.4 Box initializations...
JBL Performance Series RS-232 Serial Protocol Definitions 6.6.1 AV1 Get Unit Configuration The HOST initiates by sending the GET_UNIT_CONFIG command packet: SOP DLL DC CMD AppDC EOP F1 03 38 00 F2 If the command is received without error, the AV1 responds with the UNIT_CONFIG response packet:...
Page 44
JBL Performance Series RS-232 Serial Protocol Definitions Stamp DATA16 Time Stamp DATA17 Time Stamp 30 31 2f 30 37 2f 32 37 0 1 / 0 7 / 2 7 DATA18Time Stamp DATA19Time Stamp DATA20Time Stamp DATA21 Time Stamp DATA22...
JBL Performance Series RS-232 Serial Protocol Definitions 6.6.2 Send AV1 IR Command Example SOP DLL DC CMD AppDC DATA0 IR Key Code F1 04 39 01 23 F2 This example shows how to transmit the IR command for “MAIN_CD”. This example command will select the CD input for the Main Zone.