1-Wire®扩展网络标准
Abstract
制定于1989年的1-Wire标准经过升级后,可适应嘈杂和远距离1-Wire网络。本应用笔记阐述了新标准的改进之处,并给出了1-Wire主机如何与标准器件和新型器件协同工作。
引言
1-Wire总线是一种简单的信令协议,可通过单根电气连接进行双向通信。在1-Wire系统中,单个主机与一个或多个从器件通过一条公共数据线实现互联。Dallas Semiconductor公司于1989年制定了
新型扩展标准的重要特性
各种噪声源所产生的噪声将导致
新型
图1. 新型
| Device | FC | Description | 1-Wire Extended Network Support | Notes |
| DS1822 | 22 | 1-Wire Econo temp sensor | ||
| DS1825 | 3B | 1-Wire thermometer with 4-bit address | ||
| DS18B20 | 28 | Adjustable resolution temperature | ||
| DS18S20 | 10 | Temperature and alarm trips | ||
| DS1904 | 24 | Real-Time Clock (RTC) iButton | ||
| DS1920 | 10 | Temperature and alarm trips | ||
| DS1921G | 21 | Thermochron temperature logger | ||
| DS1921H | ||||
| DS1921Z | ||||
| DS1922E | 41 | High-Capacity Thermochron and/or Hygrochron temperature and/or humidity dataloggers, respectively | √ | |
| DS1922L | ||||
| DS1922T | ||||
| DS1923 | ||||
| DS1961S | 33 | 1Kb EEPROM memory with SHA-1 engine | √ | |
| DS1963S | 18 | 4Kb NVRAM memory and SHA-1 engine | ||
| DS1971 | 14 | 256-bit EEPROM memory and 64-bit OTP register | √ | |
| DS1972 | 2D; | 1Kb EEPROM memory | √ | |
| DS1973 | 23 | 4Kb EEPROM memory | ||
| DS1977 | 37 | Password-protected 32kB (bytes) EEPROM | √ | |
| DS1982 | 09 | 1Kb EPROM memory | ||
| DS1885 | 0B | 16Kb EPROM memory | ||
| DS1990A | 01 | 1-Wire address only | ||
| DS1990R | 01 | 1-Wire address only | ||
| DS1991 | 02 | Multikey iButton, 1152-bit secure memory | Not recommended for new designs, see application note 4421, "Alternatives to the DS1991L MultiKey iButton®" for alternatives. | |
| DS1992 | 08 | 1Kb NV RAM memory | ||
| DS1993 | 06 | 4Kb NV RAM memory | ||
| DS1994 | 04 | 4Kb NV RAM memory and clock, timer, alarms | Not remommended for new designs, see application note 4506, "Alternatives to the DS1994L 4Kb Plus Time Memory iButton®" for alternatives. | |
| DS1995 | 0A | 16Kb NV RAM memory | ||
| DS1996 | 0C | 64Kb NV RAM memory | ||
| DS2401 | 01 | 1-Wire address only | ||
| DS2404 | 04 | 4Kb NV RAM memory and clock, timer, alarms | Not recommended for new designs | |
| DS2406 | 12 | 1Kb EPROM memory, 2-channel addressable switch | ||
| DS2408 | 29 | 8-channel addressable switch | √ | |
| DS2409 | IF | Dual switch, coupler | Not recommended for new designs | |
| DS2411 | 01 | Low-voltage, unique 64-bit serial ROM number (requires VDD connection) | √ | |
| DS2413 | 3A | Dual-channel addressable switch | √; | |
| DS2417 | 27 | RTC with interrupt | ||
| DS2422 | 41 | High-capacity Thermochron/Hygrochron (temperature and humidity) datalogger | √ | Not recommended for new designs |
| DS2430A | 14 | 256-bit EEPROM memory and 64-bit OTP register | √ | Not recommended for new designs |
| DS2431 | 2D | 1Kb EEPROM memory | √ | |
| DS2432 | 33 | 1Kb EEPROM memory with SHA-1 engine | ||
| DS2433 | 23 | 4Kb EEPROM memory | ||
| DS2438 | 26 | Temperature, ADC | ||
| DS2450 | 20 | Quad ADC | ||
| DS2502 | 09 | 1Kb EPROM memory | ||
| DS2505 | 0B | 16Kb EPROM memory | ||
| DS2703 | 34 | Battery-packed authentication IC | ||
| DS2740 | 36 | 1-Wire coulomb counter (high precision) | ||
| DS2762 | 30 | 1-Wire battery monitor and protector | ||
| DS2775 | 32 | Stand-alone 1-Wire fuel gauge | ||
| DS2776 | ||||
| DS2777 | ||||
| DS2778 | ||||
| DS2780 | ||||
| DS2784 | ||||
| DS2788 | ||||
| DS2781 | 3D | Stand-alone fuel gauge IC | ||
| DS28E04-100 | 1C | 4Kb EEPROM memory, two-channel addressable switch, 7 address pins | √ | |
| DS28EA00 | 42 | 1-Wire digital thermometer with sequence detect and PIO | √ | |
| DS28EC20 | 43 | 20Kb 1-Wire EEPROM | √ |
注意:新的
扩展网络标准的新特性仅适用于标准速率通信,在高速模式下无效。
通过长线实现与
内置在线应答脉冲摆率控制的器件还具有一个参数tFPD,表示在线应答检测下降沿时间。虽然控制摆率可以减小长线传输所产生的反射,但对于主机检测在线应答脉冲的窗口也将产生非常大的影响。
表2. EC表参数的区别
| Parameter | Speed | Min/Max | Standard | Extended Network* | ||
| tREC | Standard | Min | 1µs | 5µs | ||
| Overdrive | Min | 1µs | 2µs | |||
| tREC (before reset) | Overdrive | Min | 1µs | 5µs | ||
| tREH | Standard | Min | - | Varies from 0.5µs to 0.6µs | ||
| Standard | Max | - | Varies from 2µs to 5µs | |||
| Overdrive | Min | - | Varies from 0µs to 0.6µs | |||
| Overdrive | Max | - | Varies from 0µs to 2µs | |||
| tRL | Overdrive | Max | 1µs | 5µs | ||
| *实际的tREH值请参见器件的数据资料。 | ||||||
结论
应用笔记126,"用软件实现