DS1990A-F5. Serial Number ibutton TM



Similar documents
DS2401 Silicon Serial Number

DS1990A Serial Number ibutton

PACKAGE OUTLINE DALLAS DS2434 DS2434 GND. PR 35 PACKAGE See Mech. Drawings Section

DS18B20 Programmable Resolution 1-Wire Digital Thermometer

DS1821 Programmable Digital Thermostat and Thermometer

DS1621 Digital Thermometer and Thermostat

DS1621 Digital Thermometer and Thermostat

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

DS Wire Digital Thermometer and Thermostat

DS1307ZN. 64 x 8 Serial Real-Time Clock

ABRIDGED DATA SHEET EVALUATION KIT AVAILABLE

1 Wire TM Digital Thermometer

DALLAS DS1233 Econo Reset. BOTTOM VIEW TO-92 PACKAGE See Mech. Drawings Section on Website

8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA

Allows the user to protect against inadvertent write operations. Device select and address bytes are Acknowledged Data Bytes are not Acknowledged

Features. Instruction. Decoder Control Logic, And Clock Generators. Address Compare amd Write Enable. Protect Register V PP.

DS1921G Thermochron ibutton

DS18B20-PAR 1-Wire Parasite-Power Digital Thermometer

DM Segment Decoder/Driver/Latch with Constant Current Source Outputs

CD4043BC CD4044BC Quad 3-STATE NOR R/S Latches Quad 3-STATE NAND R/S Latches

INTEGRATED CIRCUITS. 74F153 Dual 4-line to 1-line multiplexer. Product specification 1996 Jan 05 IC15 Data Handbook

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

DS9490R/DS9490B USB to 1-Wire/iButton Adapters

DS2187 Receive Line Interface

DS1220Y 16k Nonvolatile SRAM

7 OUT1 8 OUT2 9 OUT3 10 OUT4 11 OUT5 12 OUT6 13 OUT7 14 OUT8 15 OUT9 16 OUT10 17 OUT11 18 OUT12 19 OUT13 20 OUT14 21 OUT15 22 OUT16 OUT17 23 OUT18

Features INSTRUCTION DECODER CONTROL LOGIC AND CLOCK GENERATORS COMPARATOR AND WRITE ENABLE EEPROM ARRAY READ/WRITE AMPS 16

74F257A Quad 2-line to 1-line selector/multiplexer, non-inverting (3-State)

74F675A 16-Bit Serial-In, Serial/Parallel-Out Shift Register


udrive-usd-g1 Embedded DOS micro-drive Module Data Sheet

MicroMag3 3-Axis Magnetic Sensor Module

FM75 Low-Voltage Two-Wire Digital Temperature Sensor with Thermal Alarm

1 TO 4 CLOCK BUFFER ICS551. Description. Features. Block Diagram DATASHEET

HT1632C 32 8 &24 16 LED Driver

CAT28C64B F R E E. 64K-Bit CMOS PARALLEL EEPROM L E A D FEATURES DESCRIPTION BLOCK DIAGRAM

SafeSPI - Serial Peripheral Interface for Automotive Safety

MM74HC4538 Dual Retriggerable Monostable Multivibrator

LM75 Digital Temperature Sensor and Thermal Watchdog with Two-Wire Interface

DS1386/DS1386P RAMified Watchdog Timekeeper

74F74 Dual D-Type Positive Edge-Triggered Flip-Flop

DM74LS193 Synchronous 4-Bit Binary Counter with Dual Clock

DM74LS112A Dual Negative-Edge-Triggered Master-Slave J-K Flip-Flop with Preset, Clear, and Complementary Outputs

8741A UNIVERSAL PERIPHERAL INTERFACE 8-BIT MICROCOMPUTER

Web Site: Forums: forums.parallax.com Sales: Technical:

Application Note 120 Communicating Through the 1-Wire Master

Cold-Junction-Compensated K-Thermocoupleto-Digital Converter (0 C to C)

INTEGRATED CIRCUITS. 74F74 Dual D-type flip-flop. Product specification Supercedes data of 1990 Oct 23 IC15 Data Handbook.

DM74LS157 DM74LS158 Quad 2-Line to 1-Line Data Selectors/Multiplexers

DS1220Y 16k Nonvolatile SRAM

Bi-directional level shifter for I²C-bus and other systems.

Three Channel Optical Incremental Encoder Modules Technical Data

74AC191 Up/Down Counter with Preset and Ripple Clock

TRIPLE PLL FIELD PROG. SPREAD SPECTRUM CLOCK SYNTHESIZER. Features

LMB162ABC LCD Module User Manual

Semiconductor MSM82C43

HANDLING SUSPEND MODE ON A USB MOUSE

The Programming Interface

DM74LS05 Hex Inverters with Open-Collector Outputs

LC7218, 7218M, 7218JM

INTEGRATED CIRCUITS DATA SHEET. PCF8574 Remote 8-bit I/O expander for I 2 C-bus. Product specification Supersedes data of 2002 Jul 29.

74LS193 Synchronous 4-Bit Binary Counter with Dual Clock

DS1225Y 64k Nonvolatile SRAM

DG2302. High-Speed, Low r ON, SPST Analog Switch. Vishay Siliconix. (1-Bit Bus Switch with Level-Shifter) RoHS* COMPLIANT DESCRIPTION FEATURES

M25P40 3V 4Mb Serial Flash Embedded Memory

MMC314xMR. Ultra Small 3-axis Magnetic Sensor, With I 2 C Interface. Signal Path X. Signal Path Y. Signal Path Z FEATURES

RETRIEVING DATA FROM THE DDC112

8254 PROGRAMMABLE INTERVAL TIMER

DM74184 DM74185A BCD-to-Binary and Binary-to-BCD Converters

HEF4021B. 1. General description. 2. Features and benefits. 3. Ordering information. 8-bit static shift register

DM7474 Dual Positive-Edge-Triggered D-Type Flip-Flops with Preset, Clear and Complementary Outputs

MM74C150 MM82C19 16-Line to 1-Line Multiplexer 3-STATE 16-Line to 1-Line Multiplexer

GTS-4E Hardware User Manual. Version: V1.1.0 Date:

Hardware Specifications of V2AF Series Hybrid Card Reader

DM74LS151 1-of-8 Line Data Selector/Multiplexer

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

FXLA2203 Dual-Mode, Dual-SIM-Card Level Translator

PHOTOTRANSISTOR OPTOCOUPLERS

HD61202U. (Dot Matrix Liquid Crystal GraphicDisplay Column Driver)

DM74LS169A Synchronous 4-Bit Up/Down Binary Counter

DS1232LP/LPS Low Power MicroMonitor Chip

TSL INTEGRATED OPTO SENSOR

Description. Dimensions. Features. precision works better

Programmable Single-/Dual-/Triple- Tone Gong SAE 800

ICS379. Quad PLL with VCXO Quick Turn Clock. Description. Features. Block Diagram

HCF4056B BCD TO 7 SEGMENT DECODER /DRIVER WITH STROBED LATCH FUNCTION

The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual HAW - Arduino 1

MR25H10. RoHS FEATURES INTRODUCTION

. MEDIUM SPEED OPERATION - 8MHz . MULTI-PACKAGE PARALLEL CLOCKING FOR HCC4029B HCF4029B PRESETTABLE UP/DOWN COUNTER BINARY OR BCD DECADE

MM74C150 MM82C19 16-Line to 1-Line Multiplexer 3-STATE 16-Line to 1-Line Multiplexer

CHAPTER 11: Flip Flops

MICROPROCESSOR. Exclusive for IACE Students iacehyd.blogspot.in Ph: /422 Page 1

The quadrature signals and the index pulse are accessed through five inch square pins located on 0.1 inch centers.

74F168*, 74F169 4-bit up/down binary synchronous counter

LC898300XA. Functions Automatic adjustment to the individual resonance frequency Automatic brake function Initial drive frequency adjustment function

MM74HC14 Hex Inverting Schmitt Trigger

MM74HC273 Octal D-Type Flip-Flops with Clear

FEATURES DESCRIPTION APPLICATIONS BLOCK DIAGRAM. PT2272 Remote Control Decoder

64 x 8, Serial, I 2 C Real-Time Clock

Transcription:

www.dalsemi.com SPECIAL FEATURES Upgrade of DS1990 allows multiple Serial Number ibuttons to reside on a common bus Unique 48 bit serial number Low-cost electronic key for access control 8-bit CRC for checking data integrity Can be read in less than 5 ms Operating temperature range of -40 C to +85 C COMMON ibutton FEATURES Unique, factory-lasered and tested 64-bit registration number (8-bit family code + 48- bit serial number + 8-bit CRC tester) assures absolute traceability because no two parts are alike Multidrop controller for MicroLAN Digital identification by momentary contact Chip-based data carrier compactly stores information Data can be accessed while affixed to an object Economically communicates to bus master with a single digital signal at 16.3k bits per second Standard 16 mm diameter and 1-Wire TM protocol ensure compatibility with ibutton family Button shape is self-aligning with cupshaped probes Durable stainless steel case engraved with registration number withstands harsh environments Easily affixed with self-stick adhesive backing, latched by its flange, or locked with a ring pressed onto its rim Presence detector acknowledges when reader first applies voltage Meets UL#913 (4th Edit.); Intrinsically Safe Apparatus, Approved under Entity Concept for use in Class 1, Division 1, Group A, B, C and D locations F3 MICROCAN TM 0.36 Serial Number ibutton TM DATA F5 MICROCAN TM DATA GROUND 5.89 All dimensions shown in millimeters ORDERING INFORMATION -F3 -F5 F3 MicroCan F5 MicroCan EXAMPLES OF ESSORIES DS9096P DS9101 DS9093RA DS9093F DS9092 3.10 0.51 0.36 0.51 GROUND Self-Stick Adhesive Pad Multi-Purpose Clip Mounting Lock Ring Snap-In Fob ibutton Probe 1 of 10 081999 c 1993 YYWW REGISTERED RR 66 01 000000FBC52B c 1993 YYWW REGISTERED RR E6 01 000000FBD8B3 16.25 16.25 17.35 17.35

ibutton DESCRIPTION The Serial Number ibutton is a rugged data carrier that acts as an electronic registration number for automatic identification. The consists of a factory-lasered, 64-bit ROM that includes an unique 48-bit serial number, an 8-bit CRC and an 8-bit Family Code (01h). Data is transferred serially via the 1-Wire protocol which requires only a single data lead and a ground return. The is fully compatible with the DS1990 Serial Number ibutton but provides the additional 1-Wire protocol capability that allows the Search ROM command to be interpreted by the and therefore allows multiple devices to reside on a single data line. The durable MicroCan package is highly resistant to environmental hazards such as dirt, moisture and shock. Its compact coin-shaped profile is self-aligning with mating receptacles, allowing the to be used easily by human operators. Accessories permit the to be mounted on plastic key tabs, photo ID badges, printed circuit boards or any smooth surface of an object. Applications include access control, work-in-progress tracking, tool management and inventory control. OPERATION The s internal ROM is accessed via a single data line. The 48-bit serial number, 8-bit family code and 8-bit CRC are retrieved using the Dallas 1-Wire protocol. This protocol defines bus transactions in terms of the bus state during specified time slots that are initiated on the falling edge of sync pulses from the bus master. All data is read and written least significant bit first. 1-WIRE BUS SYSTEM The 1-Wire bus is a system which has a single bus master system and one or more slaves. In all instances, the is a slave device. The bus master is typically a microcontroller. The discussion of this bus system is broken down into three topics: hardware configuration, transaction sequence, and 1-Wire signaling (signal type and timing). For a more detailed protocol description, refer to Chapter 4 of the Book of DS19xx ibutton Standards. Hardware Configuration The 1-Wire bus has only a single line by definition; it is important that each device on the bus be able to drive it at the appropriate time. To facilitate this, each device attached to the 1-Wire bus must have an open drain connection or 3-state outputs. The is an open drain part with an internal circuit equivalent to that shown in Figure 2. The bus master can be the same equivalent circuit. If a bidirectional pin is not available, separate output and input pins can be tied together. The bus master requires a pullup resistor at the master end of the bus, with the bus master circuit equivalent to the one shown in Figure 3. The value of the pullup resistor should be approximately 5 kω for short line lengths. A multidrop bus consists of a 1-Wire bus with multiple slaves attached. The 1-Wire bus has a maximum data rate of 16.3k bits per second. The idle state for the 1-Wire bus is high. If, for any reason, a transaction needs to be suspended, the bus MUST be left in the idle state if the transaction is to resume. If this does not occur and the bus is left low for more than 120 µs, one or more of the devices on the bus may be reset. 2 of 10

MEMORY MAP Figure 1 8-Bit CRC Code 48-Bit Serial Number 8-Bit Family Code (01h) MSB LSB MSB LSB MSB LSB EQUIVALENT CIRCUIT Figure 2 BUS MASTER CIRCUIT Figure 3 To data connection of To data connection of 3 of 10

TRANSACTION SEQUENCE The sequence for accessing the via the 1-Wire port is as follows: Initialization ROM Function Command Read Data INITIALIZATION All transactions on the 1-Wire bus begin with an initialization sequence. The initialization sequence consists of a reset pulse transmitted by the bus master followed by a presence pulse(s) transmitted by the slave(s). The presence pulse lets the bus master know that the is on the bus and is ready to operate. For more details, see the 1-Wire Signaling section. ROM FUNCTION COMMANDS Once the bus master has detected a presence, it can issue one of the four ROM function commands. All ROM function commands are eight bits long. A list of these commands follows (refer to flowchart in Figure 4): Read ROM [33h] or [0Fh] This command allows the bus master to read the s 8-bit family code, unique 48-bit serial number, and 8-bit CRC. This command can only be used if there is a single on the bus. If more than one slave is present on the bus, a data collision will occur when all slaves try to transmit at the same time (open drain will produce a wired-and result). The Read ROM function will occur with a command byte of either 33h or 0Fh in order to ensure compatibility with the DS1990, which will only respond to a 0Fh command word with its 64-bit ROM data. Match ROM [55h] / Skip ROM [CCh] The complete 1-Wire protocol for all Dallas Semiconductor ibuttons contains a Match ROM and a Skip ROM command. (See the Book of DS19xx ibutton Standards.) Since the contains only the 64- bit ROM with no additional data fields, the Match ROM and Skip ROM are not applicable and will cause no further activity on the 1-Wire bus if executed. The does not interfere with other 1-Wire parts on a multidrop bus that do respond to a Match ROM or Skip ROM (example and DS1994 on the same bus). Search ROM [F0h] When a system is initially brought up, the bus master might not know the number of devices on the 1- Wire bus or their 64-bit ROM codes. The search ROM command allows the bus master to use a process of elimination to identify the 64-bit ROM codes of all slave devices on the bus. The ROM search process is the repetition of a simple 3-step routine: read a bit, read the complement of the bit, then write the desired value of that bit. The bus master performs this simple 3-step routine on each bit of the ROM. After one complete pass, the bus master knows the contents of the ROM in one device. The remaining number of devices and their ROM codes may be identified by additional passes. See Chapter 5 of the Book of DS19xx ibutton Standards for a comprehensive discussion of a ROM search, including an actual example. 4 of 10

ROM FUNCTIONS FLOW CHART Figure 4 5 of 10

1-WIRE SIGNALING The requires strict protocols to ensure data integrity. The protocol consists of four types of signaling on one line: Reset sequence with Reset Pulse and Presence Pulse, write 0, write 1 and read data. All these signals except presence pulse are initiated by the bus master. The initialization sequence required to begin any communication with the is shown in Figure 5. A Reset Pulse followed by a Presence Pulse indicates the is ready to send or receive data given the correct ROM command. The bus master transmits (T X ) a reset pulse ( a low signal for a minimum of 480 µs). The bus master then releases the line and goes into receive mode (R X ). The 1-Wire bus is pulled to a high state via the 5 kω pullup resistor. After detecting the rising edge on the data contact, the waits (t PDH, 15-60 µs) and then transmits the presence pulse (t PDL, 60-240 µs). READ/WRITE TIME SLOTS The definitions of write and read time slots are illustrated in Figure 6. All time slots are initiated by the master driving the data line low. The falling edge of the data line synchronizes the to the master by triggering a delay circuit in the. During write time slots, the delay circuit determines when the will sample the data line. For a read data time slot, if a 0 is to be transmitted, the delay circuit determines how long the will hold the data line low overriding the 1 generated by the master. If the data bit is a 1, the ibutton will leave the read data time slot unchanged. INITIALIZATION PROCEDURE RESET AND PRESENCE PULSES Figure 5 RESISTOR MASTER 480 µs t RSTL < * 480 µs t RSTH < (includes recovery time) 15 µs t PDH < 60 µs 60 µs t PDL < 240 µs In order not to mask interrupt signaling by other devices on the 1-Wire bus, t RSTL + t R should always be less than 960 µs. 6 of 10

READ/WRITE TIMING DIAGRAM Figure 6 Write-One Time Slot 60 µs t SLOT < 120 µs 1 µs t LOW1 < 15 µs 1 µs t REC < Write-Zero Time Slot Read-Data Time Slot 60 µs t LOW0 < t SLOT < 120 µs 1 µs t REC < RESISTOR MASTER 60 µs t SLOT < 120 µs 1 µs t LOWR < 15 µs 0 t RELEASE < 45 µs 1 µs t REC < t RDV = 15 µs t SU = 1 µs 7 of 10

CRC ASSEMBLY LANGUAGE PROCEDURE Table 1 DO_CRC: CRC_LOOP: ZERO: PUSH PUSH PUSH MOV XRL RRC MOV JNC XRL RRC MOV POP RR PUSH DJNZ POP POP POP RET B B,#8 A,CRC A A,CRC ZERO A,#18H A CRC,A A B,CRC_LOOP B ; save the accumulator ; save the B register ; save bits to be shifted set shift=8bits ; ; calculate CRC ; move it to the carry ; get the last CRC value ; skip if data=0 ; update the CRC value ; ; position the new CRC ; store the new CRC ; get the remaining bits ; position the next bit ; save the remaining bits ; repeat for eight bits ; clean up the stack ; restore the B register ; restore the accumulator CRC GENERATION To validate the data transmitted from the, the bus master may generate a CRC value from the data as it is received. This generated value is compared to the value stored in the last eight bits of the. The bus master computes the CRC over the 8-bit family code and all 48 ID number data bits, but not over the stored CRC value itself. If the two CRC values match, the transmission is error-free. An example of how to generate the CRC using assembly language software is shown in Table 1. This assembly language code is written for the DS5000 Soft microcontroller which is compatible with the 8031/51 Microcontroller family. The procedure DO_CRC calculates the cumulative CRC of all the bytes passed to it in the accumulator. It should be noted that the variable CRC needs to be initialized to 0 before the procedure is executed. Each byte of the data is then placed in the accumulator and DO-CRC is called to update the CRC variable. After all the data has been passed to DO_CRC, the variable CRC will contain the result. The equivalent polynomial function of this software routine is: CRC = x 8 + x 5 + x 4 + 1 For more details, see the Book of DS19xx ibutton Standards. 8 of 10

ABSOLUTE MAXIMUM RATINGS* Voltage on any Pin Relative to Ground Operating Temperature Storage Temperature -0.5V to +7.0V -40 C to +85 C -55 C to +125 C This is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operation sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods of time may affect reliability. DC ELECTRICAL CHARACTERISTICS (V PUP =2.8V to 6.0V; -40 C to +85 C) PARAMETER SYMBOL MIN TYP MAX UNITS NOTES Logic 1 V IH 2.2 V CC +0.3 V 1,6 Logic 0 V OL -0.3 +0.8 V 1 Output Logic Low @ 4 ma V OL 0.4 V 1 Output Logic High V OH V PUP 6.0 V 1,2 Input Load Current I L 5 µa 3 Operating Charge Q OP 30 nc 7,8 CAPACITANCE (TA = 25 C) PARAMETER SYMBOL MIN TYP MAX UNITS NOTES I/O (1-Wire) C IN/OUT 100 800 pf 9 AC ELECTRICAL CHARACTERISTICS (V PUP =2.8V to 6.0V; -40 C to +85 C) PARAMETER SYMBOL MIN TYP MAX UNITS NOTES Time Slot t SLOT 60 120 µs Write 1 Low Time t LOW1 1 15 µs Write 0 Low Time t LOW0 60 120 µs Read Data Valid t RDV exactly 15 µs Release Time t RELEASE 0 15 45 µs Read Data Setup t SU 1 µs 5 Recovery Time t REC 1 µs Reset Time High t RSTH 480 µs 4 Reset Time Low t RSTL 480 µs 10 Presence Detect High t PDH 15 60 µs Presence Detect Low t PDL 60 240 µs 9 of 10

NOTES: 1. All voltages are referenced to ground. 2. V PUP = external pullup voltage. 3. Input load is to ground. 4. An additional reset or communication sequence cannot begin until the reset high time has expired. 5. Read data setup time refers to the time the host must pull the 1-Wire bus low to read a bit. Data is guaranteed to be valid within 1 µs of this falling edge and will remain valid for 14 µs minimum. (15 µs total from falling edge on 1-Wire bus.) 6. V IH is a function of the external pullup resistor and the V CC supply. 7. 30 nanocoulombs per 72 time slots @ 5.0V. 8. At V CC =5.0V with a 5 kω pullup to V CC and a maximum time slot of 120 µs. 9. Capacitance on the I/O pin could be 800 pf when power is first applied. If a 5 kω resistor is used to pull up the I/O line to V CC, 5 µs after power has been applied the parasite capacitance will not affect normal communications. 10. The reset low time (t RSTL ) should be restricted to a maximum of 960 µs, to allow interrupt signaling, otherwise, it could mask or conceal interrupt pulses if this device is used in parallel with a DS1994. 10 of 10