Lexicon user guide 24-bit dual channel processor (111 pages)
Summary of Contents for Lexicon MC-4 V1.00 - SERIAL PROTOCOL DEFINITIONS REV 1-6
Page 1
MC-4 Serial Protocol Definitions Software Version 1.00/1.10 Protocol Version: Major Rev 1 Minor Rev 6...
Page 2
Inc. The information it contains is subject to change without notice. Harman International Industries, Inc. assumes no responsibility for errors that may appear within this document. Lexicon, Inc. 3 Oak Park Bedford, MA 01730-1413 USA 781-280-0300 781-280-0490 www.lexicon.com Customer Service 781-280-0300 781-280-0495 (Sales) 781-280-0499 (Service) Lexicon Part No. 070-16304 Rev 0...
The device initiating or receiving the serial communication packets to/from the MC-4. MC-4: The Lexicon product receiving or transmitting the serial communication packets to/from the HOST. Nonvolatile RAM: The area of memory in a MC-4 that stores users adjustable parameters. The Nonvolatile RAM is battery backed, to maintain values during MC-4 power down.
Lexicon MC-4 Serial Communications Protocol system changes. Each transaction initiated must wait for a corresponding response before initiating the next transmission. The 3 protocol layers are Physical, Data Link, and Application Layers. Physical Layer (RS232) Data Link Layer Application Layer 4.1 Physical Layer...
Lexicon MC-4 Serial Communications Protocol 4.4 MC-4 Receive Buffer The MC-4 has an internal receive buffer. The buffer is 256 Bytes and will transmit a NAK packet with an error code of DC_ERR_BUFFER_FULL to the HOST if the buffer is full. If the buffer is full, all data transmitted to the MC-4 will be ignored.
Lexicon MC-4 Serial Communications Protocol In addition, each byte of a packet must be received sequentially and within the INTER_PACKET_TIME. If any of the bytes within a packet transmission exceeds the INTER_PACKET_TIME, the MC-4 will respond by transmitting a NAK packet with an error code DC_ERR_INVALID_PACKET. The MC-4 then continues to look for a SOP byte and will not process the erroneous application packet.
Lexicon MC-4 Serial Communications Protocol 6.1.3 Front Panel Display MC-4 will transmit the front panel display buffer following the update to the MC-4 front panel display. The MC-4 front panel display is 2 X 20 ASCII character display. The HOST can enable transmission of this notification message by sending Host Wakeup (6.3.5 page...
Lexicon MC-4 Serial Communications Protocol 6.1.4.1 Command Packet Description Application Header: Command MC_PARAM_NOTIFICATION_BY_ID 0x05 Data Count 0x18 Application Data: Data[0] ParamId(LSB) Data[1] ParamId(MSB) Data[2] ParamType nn nn Data[3-23] Value[0 -20] nn… 6.1.4.2 Data Description Same as Set Parameter Value by Id: Data Description (6.3.12.2 page...
Lexicon MC-4 Serial Communications Protocol 6.2.1.2 Data Description Command: DataType: Valid MC-4 command as defined in the Command Codes table (Appendix A page 34). 6.2.2 No Acknowledge 6.2.2.1 Packet Description Application Header: Command DC_NACK 0xE1 Data Count 0x02 Application Data:...
Lexicon MC-4 Serial Communications Protocol The MC-4 will perform an internal reset. After reset, the MC-4 will go through a soft power-up initialization. This includes transmitting the “Wakeup Notification Packet”. A soft reset does not reinitialize the MC-4. Nonvolatile RAM is maintained.
Lexicon MC-4 Serial Communications Protocol 6.3.6 Host Sleep By transmitting the Sleep command, the Host indicates it has just “powered down” and will no longer respond to MC-4 Notifications. No Acknowledgment is expected. The Host is assumed to be asleep upon power up of the MC-4.
Lexicon MC-4 Serial Communications Protocol FALSE Indicates the MC-4 will not transmit parameter change Notifications. 6.3.8 Set Communication Configuration The Set Communication Configuration Command allows the serial port user to set up the various serial port/ protocol configuration parameters. 6.3.8.1 Command Packet Description...
Lexicon MC-4 Serial Communications Protocol 6.3.9.2 Data Description MUTE State: Value Definition Description The user mute state is set to unmuted. The MC-4 UNMUTE may still be muted for other internal reasons. The system volume decrements by the specified USER MUTE user amount as set in the OUTPUT LEVELS Menu.
Lexicon MC-4 Serial Communications Protocol Display String: Data Type: Null (0x00) terminated ASCII character string. Max Length: 40 Characters. 6.3.10.3 MC-4 Response The display string is sent to the OSD and Front Panel Display. The MC-4 will ACK when completed with this command.
Page 18
Lexicon MC-4 Serial Communications Protocol 6.3.11.4 Parameter Definition Response Packet The following Packet has been defined as follows for the MC-4 V1.00. Future releases may modify this definition. Application Header: Command MC_SYS_PARAM_DEF_PKT 0x8F Data Count 0x6E Application Data: Data[0] ParamId(LSB)
Lexicon MC-4 Serial Communications Protocol Data[0] = 0xd4 Data[1] = 0xfe Data[2 - 13] = don't care. If a parameter's current value is a signed 16 bit parameter with a value of –3, the data array would be packed as follows:...
Page 20
Lexicon MC-4 Serial Communications Protocol 6.3.12.2 Data Description ParamId: Data Type: Unsigned 16 bit Integer Max Value: Max Parameter Count as reported by the MC-4 Unit Configuration Response Packet (6.3.14.2 page 22). ParamType: Data Param Param Type Name Type Description...
Lexicon MC-4 Serial Communications Protocol 6.3.13 MC-4 Set Parameter Value by Id, No Run MC-4 Set Parameter by Id command sets the parameter value equal to the value sent in the command packet and does not run the appropriate functional changes associated with changing the given parameter.
Page 22
Lexicon MC-4 Serial Communications Protocol 6.3.14.2 MC-4 Unit Configuration Response Packet Application Header: Command MC_RESP_UNIT_CONFIG 0x91 Data Count 30 0x1E Application Data: Data[0] ProductId Data[1] Software Type Data[2] Software Level Data[3] Software Major Revision Data[4] Software Minor Revision Data[5] Protocol Major Revision...
Page 23
Lexicon MC-4 Serial Communications Protocol 6.3.14.3 Data Description ProductId: This unsigned 8 bit value describes the product. Product ID Lexicon DC-2 Lexicon MC-1 JBL Synthesis SDP-3 Lexicon MC-12 JBL Synthesis SDP-40 Lexicon MC-8 JBL SDP-5 Lexicon RV8 Lexicon MC-4 JBL AV1 Software Type: An unsigned 8 bit value indicating the current configuration of the unit’s software.
Lexicon MC-4 Serial Communications Protocol Software Minor Revision: An unsigned 8 bit integer value indicating this unit’s minor software version. Indicates the unit’s software operation has changed but effects, effect parameters, or system parameters have not changed. Protocol Major Revision: An unsigned 8 bit integer value indicating the serial communication protocol major version.
Lexicon MC-4 Serial Communications Protocol 6.3.15.2 Data Description KeyCode: Data Type: Unsigned 8 bit integer. Valid Values: MC-4 IR Codes (Appendix C page 6.3.15.3 MC-4 Response The KeyCode is processed as a valid IR code. No acknowledgment will be sent from the MC-4.
Lexicon MC-4 Serial Communications Protocol 6.3.17 MC-4 Set Parameter Notification by Id Request to MC-4 to enable or disable transmission of the MC-4 parameter change notification for a given parameter. 6.3.17.1 Command Packet Description Application Header: Command MC_CMD_SET_PARAM_NOTIFICATION_BY_ID 0x3B Data Count...
Lexicon MC-4 Serial Communications Protocol 6.3.18.2 Data Description ParamId: Data Type: Unsigned 16 bit integer. Max: Max Parameter Count as reported by the MC-4 Unit Configuration Response Packet (6.3.14.2 page 22). Value: See MC-4 Set Parameter Value by Id: Data Description (6.3.12.2 page...
Page 28
Lexicon MC-4 Serial Communications Protocol 6.3.20.2 System Status Response Packet Application Header: Command MC_RESP_SYS_STATUS 0x94 Data Count 0x0A Application Data: Data[0] System Volume Data[1] Current Input Data[2] Current Effect Id Data[3] Current Input Sample Rate nn Data[4] Current Input Format...
Lexicon MC-4 Serial Communications Protocol Current Input Format: Data Type: Unsigned 8 bit integer. DATA STREAM TYPE DATA_TYPE_UNKNOWN DATA_TYPE_BYPASS DATA_TYPE_ANALOG DATA_TYPE_PCM DATA_TYPE_DD DATA_TYPE_DTS DATA_TYPE_NOISE Mute Active: Data Type: Boolean. TRUE: System Mute is Active FALSE: System is unmuted. Effect Bypass:...
Lexicon MC-4 Serial Communications Protocol 6.3.21.2 Data Description Value: Data Type: Signed 8 bit integer (2’s compliment) Max: +12 (0x0C) (12 dB) Min: -80 (0xB0) (-80 dB) 6.3.21.3 MC-4 Response The MC-4 will assign the value from the packet to the system volume.
Lexicon MC-4 Serial Communications Protocol 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 MC-4 Response The MC-4 will assign the value from the packet to the front/back balance.
Lexicon MC-4 Serial Communications Protocol 6.3.25.2 Data Description InputId: Data Type: Unsigned 8 bit Integer Definition/Conversion: MC-4 Input Ids (Appendix F page 6.3.25.3 Data Validation The InputId must be a valid Input number. If it is not, the MC-4 will respond with a NAK packet and error code DC_INVALID_INPUT.
Page 33
Lexicon MC-4 Serial Communications Protocol 6.3.26.3 MC-4 Response MC-4 will copy the InputName to the given input. 6.3.26.4 Data Validation The InputId must be a valid Input Id. If it is not, the MC-4 will respond with a NAK packet and error code DC_INVALID_INPUT.
Lexicon MC-4 Serial Communications Protocol Appendix C: MC-4 IR Codes DATA DATA DATA FUNCTION FUNCTION FUNCTION (hex) (hex) (hex) STANDBY 0x19 MAIN_OFF 0x99 ZONE_OFF 0x59 0x18 Reserved 0x98 Reserved 0x58 0x04 BAL_CENTER 0x84 ZONE_BAL_CENTER 0x44 BLUE 0x03 TRIGGER1_OFF 0x83 EQ_OFF...
Lexicon MC-4 Serial Communications Protocol Appendix F: MC-4 Input Ids MC-4 Input Name MC-4 Input Id DVD1 DVD2 TUNER Application Notes and Examples 6.4 Box initializations 6.4.1 MC-4 When the MC-4 is powered on, it will initialize the serial port, transmit the DC_WAKEUP Packet, and look for an ACK from the HOST.
Serial Number (LSB) Serial Number Serial Number Serial Number (MSB) From the response packet we can see that the MC-4 is configured as: Product Id is Lexicon MC-4 Software type COMPLETE Software level of RELEASED Software Version 1.00 Protocol Version 1.01...
Lexicon MC-4 Serial Communications Protocol 6.6.2 Send MC-4 IR Command Example DLL DC AppDC DATA0 IR Key Code This example shows how to transmit the IR command for “ ”. This example command will select MAIN_CD the CD input for the Main Zone. The bytes are transmitted from left to right and they are defined as:...
Lexicon MC-4 Serial Communications Protocol MC-4 V1.00 Parameter Id List The following table is for V1.00 reference only. These Parameter Id Values will change with S/W and Protocol version changes. The MC-4 can always be queried for the correct Parameter Id numbers and Parameter Definition Packets.
Page 65
Lexicon MC-4 Serial Communications Protocol...
Page 66
Lexicon, Inc. Tel 781-280-0300 Customer Service 3 Oak Park Fax 781-280-0490 Tel 781-280-0300 Bedford, MA 01730-1413 Fax 781-280-0495 (Sales) www.lexicon.com Fax 781-280-0499 (Service) Lexicon Part No. 070-16304 | Rev 0 | 10/05...