Data validation, Set fpd control registers, Command packet description – Lexicon DC-2 User Manual
Page 30: Data description, Dc-2/mc-1 response, Host wakeup

Lexicon, Inc.
DC-2/MC-1 Serial Communications Protocol
Printed on: 10/19/00
30 of 44
The InputId must be a valid Input Id. If it is not the DC-2/MC-1 will respond with a NAK packet and error
code DC_ERR_ INVALID_INPUT_ID. If the InputName string exceeds the INPUT_NAME _LENGTH,
the DC-2/MC-1 will ignore the command and transmit a DC_NAK command with an error code
DC_ERR_INVALID_DATA.
7.3.28 Set FPD Control Registers
Sets FPD Control Registers to the transmitted values.
7.3.28.1 Command Packet Description
Application Header:
Command
DC_SET_FPD_CONTROL
0x2A
Data Count
4
0x04
Application Data:
Data[0]
FPD_CtrlReg0
nn
Data[1]
FPD_CtrlReg1
nn
Data[2]
FPD_CtrlReg2
nn
Data[4]
FPD_MinUpdate
nn
7.3.28.2 Data Description
FPD_CtrlReg0:
BitPack as defined in Appendix F FPD Control Registers
FPD_CtrlReg1:
BitPack as defined in Appendix F FPD Control Registers
FPD_CtrlReg2:
BitPack as defined in Appendix F FPD Control Registers
FPD_MinUpdate:
This value sets the minimum time between FPD Notification Transmissions.
Data Type:
Unsigned 8 bit integer
Default:
50(100 mSec)
Range:
50 - 255 counts
Conversion:
500 counts/sec
7.3.28.3 DC-2/MC-1 Response
The control register values transmitted will be copied over to the registers stored in nonvolatile RAM. The
FPD_MinUpdate will be range limited. The DC-2/MC-1 will respond with an ACK Packet.
7.3.29 Host Wakeup
By transmitting the Wakeup Notification, the Host indicates it has just “powered on” or reset and is ready to
receive DC-2/MC-1 Notifications or Responses. If no acknowledgment is received within
ACK_TIMEOUT, the Host should indicate that the DC-2/MC-1 was not found.
7.3.29.1 Command Packet Description
Application Header:
Command
HOST_WAKEUP
0x11
Data Count
0
0x00
Application Data:
N/A
7.3.29.2 Data Description
N/A
7.3.29.3 DC-2/MC-1 Response
The DC-2/MC-1 will respond to this command with an ACK.