參數(shù)資料
型號(hào): DS2422S
英文描述: 1-Wire Temperature/Datalogger with 8kB Datalog Memory
中文描述: 1 - Wire溫度/數(shù)據(jù)記錄器與8kB的數(shù)據(jù)記錄存儲(chǔ)器
文件頁(yè)數(shù): 26/48頁(yè)
文件大?。?/td> 444K
代理商: DS2422S
DS2422
26 of 48
WRITING WITH VERIFICATION
To write data to the DS2422, the scratchpad has to be used as intermediate storage. First the master issues the
Write Scratchpad command to specify the desired target address, followed by the data to be written to the
scratchpad. In the next step, the master sends the Read Scratchpad command to read the scratchpad and to verify
data integrity. As preamble to the scratchpad data, the DS2422 sends the requested target address TA1 and TA2
and the contents of the E/S Register. If the PF flag is set, data did not arrive correctly in the scratchpad. The
master does not need to continue reading; it can start a new trial to write data to the scratchpad. Similarly, a set AA
flag indicates that the Write command was not recognized by the device. If everything went correctly, both flags are
cleared and the ending offset indicates the address of the last byte written to the scratchpad. Now the master can
continue verifying every data bit. After the master has verified the data, it has to send the Copy Scratchpad
command. This command must be followed exactly by the data of the three address registers TA1, TA2 and E/S as
the master has read them verifying the scratchpad. As soon as the DS2422 has received these bytes, it will copy
the data to the requested location beginning at the target address.
MEMORY- AND CONTROL-FUNCTION COMMANDS
The “Memory/Control Function Flow Chart” (Figure 12) describes the protocols necessary for accessing the
memory and the special function registers of the DS2422. An example on how to use these and other functions to
set up the DS2422 for a mission is included at the end of this document, preceding the Electrical Characteristics
section. The communication between master and DS2422 takes place either at regular speed (default, OD = 0) or
at Overdrive Speed (OD = 1). If not explicitly set into the Overdrive Mode the DS2422 assumes regular speed.
Internal memory access during a mission has priority over external access through the 1-Wire interface. This
affects several of the commands described below. See section
Memory Access Conflicts
for details and remedies.
WRITE SCRATCHPAD COMMAND [0Fh]
After issuing the Write Scratchpad command, the master must first provide the 2-byte target address, followed by
the data to be written to the scratchpad. The data is written to the scratchpad starting at the byte offset (T4:T0).
The master has to send as many bytes as are needed to reach the Ending Offset of 1Fh. If a data byte is
incomplete, its content is ignored and the partial byte flag PF is set.
When executing the Write Scratchpad command the CRC generator inside the DS2422 (see Figure 18) calculates
a CRC of the entire data stream, starting at the command code and ending at the last data byte sent by the master.
This CRC is generated using the CRC16 polynomial by first clearing the CRC generator and then shifting in the
command code (0Fh) of the Write Scratchpad command, the Target Addresses TA1 and TA2 as supplied by the
master and all the data bytes. The master may end the Write Scratchpad command at any time. If the ending offset
is 11111b, the master may send 16 read-time slots and receives the inverted CRC16 generated by the DS2422.
Note that both register pages are write-protected during a mission. Although the Write Scratchpad command works
normally at any time, the subsequent copy scratchpad to a register page will fail during a mission.
READ SCRATCHPAD COMMAND [AAh]
This command is used to verify scratchpad data and target address. After issuing the Read Scratchpad command,
the master begins reading. The first 2 bytes will be the target address. The next byte will be the ending offset/data
status byte (E/S) followed by the scratchpad data beginning at the byte offset (T4:T0), as shown in Figure 11. The
master may continue reading data until the end of the scratchpad after which it will receive an inverted CRC16 of
the command code, Target Addresses TA1 and TA2, the E/S byte, and the scratchpad data starting at the target
address. After the CRC is read, the bus master will read logical 1s from the DS2422 until a reset pulse is issued.
相關(guān)PDF資料
PDF描述
DS2482-800 Eight-Channel 1-Wire Master
DS2482-100 Single-Channel 1-Wire Master
DS2482S-100 Single-Channel 1-Wire Master
DS2482S-800 Eight-Channel 1-Wire Master
DS2502-E48 48-Bit Node Address Chip
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
DS2422S+ 功能描述:板上安裝溫度傳感器 RoHS:否 制造商:Omron Electronics 輸出類型:Digital 配置: 準(zhǔn)確性:+/- 1.5 C, +/- 3 C 溫度閾值: 數(shù)字輸出 - 總線接口:2-Wire, I2C, SMBus 電源電壓-最大:5.5 V 電源電壓-最小:4.5 V 最大工作溫度:+ 50 C 最小工作溫度:0 C 關(guān)閉: 安裝風(fēng)格: 封裝 / 箱體: 設(shè)備功能:Temperature and Humidity Sensor
DS2422X 功能描述:板上安裝溫度傳感器 RoHS:否 制造商:Omron Electronics 輸出類型:Digital 配置: 準(zhǔn)確性:+/- 1.5 C, +/- 3 C 溫度閾值: 數(shù)字輸出 - 總線接口:2-Wire, I2C, SMBus 電源電壓-最大:5.5 V 電源電壓-最小:4.5 V 最大工作溫度:+ 50 C 最小工作溫度:0 C 關(guān)閉: 安裝風(fēng)格: 封裝 / 箱體: 設(shè)備功能:Temperature and Humidity Sensor
DS2423 制造商:DALLAS 制造商全稱:Dallas Semiconductor 功能描述:4kbit 1-Wire RAM with Counter
DS2423D/T&R 制造商:Maxim Integrated Products 功能描述:IC SRAM 4KBIT 6FLIPCHIP
DS2423D/T&R 功能描述:IC SRAM 4KBIT 6FCHIP RoHS:否 類別:集成電路 (IC) >> 存儲(chǔ)器 系列:- 標(biāo)準(zhǔn)包裝:150 系列:- 格式 - 存儲(chǔ)器:EEPROMs - 串行 存儲(chǔ)器類型:EEPROM 存儲(chǔ)容量:4K (2 x 256 x 8) 速度:400kHz 接口:I²C,2 線串口 電源電壓:2.5 V ~ 5.5 V 工作溫度:-40°C ~ 85°C 封裝/外殼:8-VFDFN 裸露焊盤 供應(yīng)商設(shè)備封裝:8-DFN(2x3) 包裝:管件 產(chǎn)品目錄頁(yè)面:1445 (CN2011-ZH PDF)