DS2404
12 of 29
Example 2: Write two data bytes to memory locations 0026h and 0027h (the seventh and eighth byte of
page 1). Read entire memory (1-Wire port).
MASTER MODE
DATA(LSB FIRST)
COMMENTS
TX
Reset
reset pulse (480–960
μs)
RX
Presence
presence pulse
TX
CCh
Issue “skip ROM” command
TX
0Fh
Issue “write scratchpad” command
TX
26h
TA1, beginning offset=6
TX
00h
TA2, address=0026h
TX
<2 data bytes>
Write 2 bytes of data to scratchpad
TX
Reset
reset pulse
RX
Presence
presence pulse
TX
CCh
Issue “skip ROM” command
TX
AAh
Issue “read scratchpad” command
RX
26h
Read TA1, beginning offset=6
RX
00h
Read TA2, address=0026h
RX
07h
Read E/S, ending offset=7, flags=0
RX
<2 data bytes>
Read scratchpad data and verify
TX
Reset
reset pulse
RX
Presence
presence pulse
TX
CCh
Issue “skip ROM” command
TX
55h
Issue “copy scratchpad” command
TX
26h
TX
00h
TX
07h
TA1
TA2
AUTHORIZATION CODE
E/S
TX
Reset
reset pulse
RX
Presence
presence pulse
TX
CCh
Issue “skip ROM” command
TX
F0h
Issue “read memory” command
TX
00h
TA1, beginning offset=0
TX
00h
TA2, address=0000h
RX
<542 bytes>
Read entire memory
TX
Reset
reset pulse
RX
Presence
presence pulse, done
WRITE PROTECT/PROGRAMMABLE EXPIRATION
The write protect bits (WPR, WPI, WPC) provide a means of write protecting the timekeeping data and
limiting access to the DS2404 when an alarm occurs (programmable expiration).
The write protect bits may not be written by performing a single copy scratchpad command. Instead, to
write these bits, the copy scratchpad command must be performed three times. Please note that the AA bit
will be set, as expected, after the first copy command is successfully executed. Therefore, the
authorization pattern for the second and third copy command should have this bit set. The read
scratchpad command may be used to verify the authorization pattern.
相关PDF资料
DS2415P+T&R IC TIME CHIP 1-WIRE 6-TSOC
DS2417X/T&R IC TIMECHIP W/INTRPT 1WIRE CSP
DS26502LN+ IC T1/E1/J1 64KCC ELEMENT 64LQFP
DS26503LN+ IC T1/E1/J1 BITS ELEMENT 64-LQFP
DS3105LN+ IC TIMING LINE CARD 64-LQFP
DS3106LN+ IC TIMING LINE CARD 64-LQFP
DS3231MZ+ IC RTC I2C 8SOIC
DS3231SN#T&R IC RTC W/TCXO 16-SOIC
相关代理商/技术参数
DS2404B/T&R 制造商:Maxim Integrated Products 功能描述:ECONORAM/TIME, SSOP16-TRL (GENERIC) - Tape and Reel
DS2404B+ 制造商:Maxim Integrated Products 功能描述:REAL TIME CLOCK SERL 512BYTE 16SSOP - Rail/Tube
DS2404B+T&R 制造商:Maxim Integrated Products 功能描述:REAL TIME CLOCK SERL 512BYTE 16SSOP - Tape and Reel
DS2404FP000 制造商:Thomas & Betts 功能描述:200A,CON,3P4W,MG,404,3P480V
DS2404FP000/DF2029 制造商:Thomas & Betts 功能描述:RS DS2404FP000/DF2029 200A,CON,3P4W
DS2404FP000/DF2032 制造商:Thomas & Betts 功能描述:200A,CON,3P4W,MG,404,3P480V,DF2032
DS2404FP00K 制造商:Thomas & Betts 功能描述:200A,CON,3P4W,MG,404,00K,3P480V
DS2404FPOOO/DF2029 制造商:Thomas & Betts 功能描述:RS DS2404FPOOO/DF2029 200A,CON,3P4W