DS1616
Communication Reset (Asynchronous Mode)
When transmitting the command, parameters, or data to the DS1616, it is possible that communication
might be interrupted. For example, the user might accidentally disconnect the cable linking the device to
the host computer. To insure that communication always starts at a known state when in the
asynchronous mode, the DS1616 will reset the communication if it senses a problem. This is
accomplished via two methods. First, if during the transmission of a byte of data to the DS1616, the stop
bit is not received, communication will be reset. The lack of a valid stop bit indicates that that particular
byte of data was not received correctly. Second, if more then 10-bit times expire between the reception of
1 byte of data and the reception of the next required byte, then communication will be reset.
Automatic resetting of communication is not required when communicating in the synchronous mode.
This is because of the function of the
RST
pin. Pulling
RST
low resets the serial communication of the
DS1616.
DS1616 COMMANDS
All communication with the DS1616 is accomplished by writing a command to the device followed by
parameter byte/s if required. Table 3 illustrates the commands supported by the DS1616.
The DS1616 commands are summarized below. Note that if an invalid command is issued, no action is
taken by the device.
DS1616 COMMANDS
Table 3
COMMAND
22h
33h
44h
55h
FUNCTION
Write Byte
Read Page
Specification Test
Read Data
DESCRIPTION
Write 1 byte to RTC, Control registers, and User NV RAM
Read Page
Poll status of temperature and/or ADC Data extremes
Instructs DS1616 to immediately measure the temperature (if
CS0 = 1) and/or perform an analog to digital conversion on the
ADC Channels Selected (if CS[1-3] = 1) and store the result in
the Current Temperature and/or Current ADC Channel [1-3]
register(s) when MIP = 0.
This command clears the datalog, histogram, Temperature
Alarm, ADC Channel 1 Alarm, Current Samples, Start Time
Stamp, Start Delay, and Sample Rate registers when the Clear
Enable bit (CLR) in the Control 1 register is set to a 1.
A5h
Clear Memory
1. Write Byte (22h)
Host Transmit:
D7 D6 D5 D4
0
0
1
0
0
a6
a5
a4
d7
d6
d5
d4
D3
0
a3
d3
D2
0
a2
d2
D1
1
a1
d1
D0
0
a0
d0
DS1616 Response: None
Note that good programming practice insists that the Clear Memory command should be issued whenever
the DS1616 is programmed to begin a new datalogging mission.
23 of 29