ABC Office MC-1, DC-2 manual Appendix F FPD Control Registers, Application Notes and Examples, Host

Page 40

Lexicon, Inc.

 

DC-2/MC-1 Serial Communications Protocol

Printed on: 10/19/00

14 Appendix F FPD Control Registers

Control Reg 0

Bit

USER_MSG

0

REC_BLOCK_MSG

1

SYS_VOL_MSG

2

LOCKED_MSG

3

DIG_IN_NOLOCK_MSG

4

SPEAKER_ERR_MSG

5

LR_BALANCE_MSG

6

FB_BALANCE_MSG

7

Control Reg 1

Bit

SYS_MUTE_MSG

0

EQ_BASS_MSG

1

EQ_TREBLE_MSG

2

EQ_TILT_MSG

3

PGM_CHG_MSG

4

NOISE_ACTIVE_MSG

5

Z2_KEY_ERR_MSG

6

REC_SRC_ERR_MSG

7

Control Reg 2

Bit

Z2_VOLUME_MSG

0

Z2_BALANCE_MSG

1

Z2_MUTE_MSG

2

REC_SELECT_MSG

3

DIG_REC_ERR_MSG

4

BYPASS_ERR_MSG

5

MAIN_DISP_MSG

6

DTS_ERR_MSG

7

15 Application Notes and Examples

15.1 Box initializations:

15.1.1 DC-2/MC-1:

When the DC-2/MC-1 is powered on it will initialize the serial port and then transmit the DC_WAKEUP Packet, and look for an ACK from the HOST. Currently if an ACK is not received the DC-2/MC-1 continues to operate. This message is mostly for the HOST to know if the DC-2/MC-1 is in an operational state.

15.1.2 HOST:

When the HOST issues a HOST_WAKEUP Packet the DC-2/MC-1 responds with an ACK and then transmits the current FPD buffer with a DC_FPD notification. If the Host issues a HOST_WAKEUP command and does not receive the ACK it should assume it is not connected or the DC-2/MC-1 is not capable of responding on the rs-232 and therefore further serial communications will not be possible. If the DC-2/MC-1 RS232 is capable of communicating the DC-2/MC-1 will respond to a HOST_WAKEUP Command in any “On” state including standby.

40 of 44

Image 40
Contents Serial Communications Protocol Definition Data Link Layer Internal Use Documents DefinitionsAbbreviations General DescriptionPhysical Layer DB-9 RS232 ConnectorSerial Port Driver Errors DC-2/MC-1 Receive BufferDC-2/MC-1 Hardware Verification Data Link LayerApplication Layer DC-2/MC-1 Asynchronous Notification PacketsWakeup Notification Notification Packet DescriptionSleep Notification Front Panel Display BufferHost Response Expected Data DescriptionHost Response Supported System ParametersAcknowledge Acknowledgment PacketsNo Acknowledge Host Initiated Command Packets Reset UnitRestore Defaults Send IR CommandGet DC-2/MC-1 Unit Configuration 4.2 DC-2/MC-1 Unit Configuration Response Packet3.3 DC-2/MC-1 Response Data ValidationProduct ID SW TypeTHX AC3 DTS SW LevelSystem Status Response Packet Get System StatusDcrespsysstatus Get Record/Zone 2 Status Rateunknown RATE44 RATE48 RATE88RATE96 INSTREAMAC351Get System Parameter Definition by Id Command Packet Get System Parameter DefinitionRecord/Zone2 Status Response Packet DccmdgetrecstatusGet System Parameter Definition by Name Command Packet System Parameter Definition Response PacketDccmdgetsysparambyname DcrespsysparamdefGet System Parameter Values Get Effect Definition by IdSystem Parameter Values Response Packet Effect Definition Response PacketGet Effect Parameter Definition Effect Parameter Definition Response PacketDcrespeffectdef DccmdgeteffectparamdefGet Effect Parameter Values 10.5 Data DescriptionEffect Parameter Values Response Packet ApplicationHeaderGet Input Name by Id Get Custom NameData Description Custom Name Response Packet Input Name Response Packet Get FPD Control RegistersFPD Control Register Response Packet Set System Parameter Values Set Effect Parameter Values15.3 DC-2/MC-1 Response DcrespfpdcontrolSet Effect Name by Effect Id 16.3 DC-2/MC-1 Response17.3 DC-2/MC-1 Response DccmdseteffectparamvaluesSet System Volume Set Main Balance18.3 DC-2/MC-1 Response 19.3 DC-2/MC-1 ResponseSet Front/Back Balance Set Active Effect by IdPacket Description 20.3 DC-2/MC-1 ResponseSet Record/Zone2 Input Clear Record/Zone2 Input22.3 DC-2/MC-1 Response Data Validation 23.3 DC-2/MC-1 Response Data ValidationSet Zone2 Volume Set Zone2 Left/Right BalanceSet Custom Name 24.3 DC-2/MC-1 ResponseSet Input Name by Id 26.3 DC-2/MC-1 Response27.3 DC-2/MC-1 Response DccmdsetcustnameSet FPD Control Registers Host Wakeup28.3 DC-2/MC-1 Response Data Description 29.3 DC-2/MC-1 ResponseHost Sleep Get Communication Configuration31.3 Data Description Set Communication Configuration DccmdsetcomconfigSet Mute 32.2 Data DescriptionSet Output Level Adjustments 33.3 DC-2/MC-1 Response34.2 Data Description DccmdsetmuteSend Display String Command 34.3 DC-2/MC-1 Response35.2 Data Description 35.3 DC-2/MC-1 ResponsePeek Command Poke CommandAppendix a Command Codes Internal UseResponses AcknowledgmentsAppendix B Error Codes Error CodeHexAppendix C DC-2/MC-1 IR-Codes Hex Function Code Shift Functions Hex Code Rec FunctionAppendix D Input Id’s Appendix E Protocol ConstantsInput Name Input Id Constant ValueDecAppendix F FPD Control Registers Application Notes and ExamplesBox initializations 15.1.1 DC-2/MC-1Downloading the System Setup to the DC-2/MC-1 Getting System Wide Status and SetupSimple System Control & System Status Get Unit Configuration ExamplesSOP DLL DC CMD DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7 DATA8Get Effect Definition 15.5.3 Set Input NameSend IR Command Example Cmd