Datasheet

Opcode Commands
Table 2 shows the opcode/commands that are supported
by the device.
Execution Opcode Commands
The device supports several single byte opcode com-
mands that cause the MAX35101 to execute various
routines. All commands have the same SPI protocol
sequence as shown in Figure 13. Once all 8 bits of the
opcode are received by the MAX35101 and the CE device
pin is deasserted, the MAX35101 begins execution of
the specified command as described in that Command’s
description.
TOF_UP Command (00h)
The TOF_UP command generates a single TOF measure-
ment in the upstream direction. Pulses launch from the
LAUNCH_UP pin and are received by the STOP_UP pin.
The measured hit results are reported in the HITxUPInt
and HITxUPFrac registers, with the calculated average
of all the measured hits being reported in the AVGUPInt
and AVGUPFrac register. The t
1
/t
2
and t
2
/tideal wave
ratios are reported in the WVRUP register. Once all these
results are stored, then the TOF bit in the Interrupt Status
register is set and the INT pin asserts (if enabled).
Note: The TOF_UP command yields a result that is only
of use when used in conjunction with the TOF_DN com-
mand. Absolute TOF measurements include circuit delays
and cannot be considered accurate.
Table 2. Opcode Commands
Figure 13. Execution Opcode Command Protocol
GROUP COMMAND
OPCODE
FIELD (HEX)
ADDRESS
FIELD
Execution
Opcode
Commands
TOF_Up 00h N/A
TOF_Down 01h N/A
TOF_Diff 02h N/A
Temperature 03h N/A
Reset 04h N/A
Initialize 05h N/A
Transfer
conguration
to ash
06h N/A
EVTMG1 07h N/A
EVTMG2 08h N/A
EVTMG3 09h N/A
HALT 0Ah N/A
LDO_Timed 0Bh N/A
LDO_ON 0Ch N/A
LDO_OFF 0Dh N/A
Calibrate 0Eh N/A
Register
Opcode
Commands
Read register
B0h through
FFh. Each
hex value
represents the
location of a
single 16-bit
register.
N/A
Write register
30h through
43h. Each
hex value
represents the
location of a
single 16-bit
register.
N/A
Flash
Opcode
Commands
Read ash 90h
0000h - 1FFFh
8 Kbytes Even
Only
Write ash 10h
0000h - 1FFFh
8 Kbytes Even
Only
Block erase
ash
13h 0000h - 1FFFh
CE
SCK
DIN
DOUT
O
O
OPCODE
MSB
LSB
8 BITS
HIGH IMPEDANCE
EXECUTION OPCODE COMMANDS
0 1 2 3 4 5 76
Figure 13
MAX35101 Time-to-Digital Converter with Analog Front-End
www.maximintegrated.com
Maxim Integrated
22