Part Number Hot Search : 
70CRU04 0F345ES LM317 600ETT 12XN1X VTF217BX AL4CA02 BP5048
Product Description
Full Text Search
 

To Download DS2409 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 DS2409
DS2409 MicroLAN Coupler
FEATURES
PIN ASSIGNMENT
6-PIN TSOC PACKAGE
1 2 3 6 5 4
* Low
impedance coupler to create large common- ground, multi-level MicroLAN networks
* Keeps inactive branches pulled high to 5V * Simplifies
network topology analysis by logically decoupling devices on active network segments
* Conditional search for fast event signaling * Auxiliary 1-WireTM line to connect a memory chip or
to be used as digital input
TOP VIEW 3.7 X 4.0 X 1.5 mm
SIDE VIEW
* Programmable, general purpose open drain control
output
* Communicates at 16.3k bits per second * 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 family code specifies device communication requirements to bus master multidrop controller ensures compatibility with other MicroLAN products
PIN DESCRIPTION
Pin 1 Pin 2 Pin 3 Pin 4 Pin 5 Pin 6 GND 1-Wire in Main 1-Wire out Auxiliary 1-Wire out Control Output VDD
* 8-bit
* Built-in
ORDERING INFORMATION
DS2409P 6-pin TSOC package
* Operating temperature range from -40C to +85C * Compact, low cost 6-pin TSOC surface mount package
DESCRIPTION
The MicroLAN coupler is an essential component to build and control 1-Wire MicroLAN networks with multi- level branching. In contrast to approaches that switch the ground line, the coupler maintains a common ground level for the whole network and keeps the inactive segments powered. This simplifies supplying central or local power for additional circuitry and prevents loss of status of parasitically powered devices. It also avoids disrupting communication caused by the parasitic power supply of 1-Wire devices after activating a branch. The coupler does not contain any user-programmable memory. To label a branch one can connect any 1-Wire memory device to the auxiliary 1-Wire output of the coupler. Both the main and the auxiliary 1-Wire output are supported by a "smart-on" command. This command generates a reset/presence sequence on the selected output before the electronic switch closes the contact to the 1-Wire bus. This way the bus master can apply a ROM function command (optionally followed by a memory function) to the
072398 1/16
DS2409
devices on the just activated segment with all other devices in the network remaining deselected. This significantly speeds up the analysis of topology and population in a continuously changing network. The coupler also supports the bus master in detecting arrivals on the inactive segments of the network by responding to the conditional search command. The control output can be used to optically signal the on/off state of a branch or, together with the auxiliary output, for handshaking in dual-master applications. The network size can be maximized by using a DS2480 line driver at the bus masters serial interface. The DS2480 compensates for the rising ground level caused by the non-zero on-resistance of couplers in multi-level networks.
factory-lasered registration number that includes a unique 48-bit serial number, an 8-bit CRC, and an 8-bit family code (1FH). The 64-bit ROM portion of the DS2409 not only creates an absolutely unique electronic identification for the device itself but also is a means to locate and address the device in order to exercise its control functions. The DS2409 uses the standard Dallas Semiconductor 1-Wire protocol for data transfers (Figure 2), with all data being read and written least significant bit first. Communication to and from the DS2409 requires a single bi-directional line that is typically a port pin of a microcontroller. The 1-Wire bus master (microcontroller) must first issue one of five ROM function commands: 1) Read ROM, 2) Match ROM, 3) Search ROM, 4) Skip ROM, or 5) Conditional Search ROM. These commands operate on the 64-bit lasered ROM portion of each device and can singulate a specific device if many are present on the 1-Wire line as well as indicate to the bus how many and what type of each device is present. After a ROM function command is successfully executed, the control functions of the device can be exercised via the 1-Wire bus.
OVERVIEW
The DS2409 Coupler provides a means to create large MicroLAN networks with additional control capability provided by an open-drain N-channel MOSFET that can be remotely switched via communication over the 1-Wire bus (Figure 1). An auxiliary output can be used to label the branch by connecting a programmed 1-Wire memory chip or as digital input. The DS2409 contains a
BLOCK DIAGRAM Figure 1
VDD
1.5k
1.5k
1-WIRE FUNCTION CONTROL
MAIN OUT
64-BIT LASERED ROM
COUPLER FUNCTION CONTROL
CONTROL OUT
1-WIRE BUS
AUX. OUT
64-BIT LASERED ROM
Each DS2409 contains a unique ROM code that is 64 bits long. The first eight bits are a 1-Wire family code. The next 48 bits are a unique serial number. The last
eight bits are a CRC of the first 56 bits. (See Figure 3.) The 1-Wire CRC of the lasered ROM is generated using the polynomial X8 + X5 + X4 + 1. Additional information about the Dallas Semiconductor 1-Wire Cyclic Redun-
072398 2/16
DS2409
dancy Check is available in the Book of DS19xx iButton Standards. The 64-bit ROM and ROM Function Control section allow the DS2409 to operate as a 1-Wire device and follow the 1-Wire protocol detailed in the section "1-Wire Bus System". The functions required to exercise the control functions of the DS2409 are not accessible until the ROM function protocol has been satisfied.
This protocol is described in the ROM functions flow chart (Figure 7). The 1-Wire bus master must first provide one of the five ROM function commands. After a ROM function sequence has been successfully executed, the bus master may then provide any one of the function commands specific to the DS2409 (Figure 5).
HIERARCHICAL STRUCTURE FOR 1-WIRE PROTOCOL Figure 2
BUS MASTER
1-WIRE BUS
OTHER DEVICES
DS2409
COMMAND LEVEL:
AVAILABLE COMMANDS:
DATA FIELD AFFECTED:
1-WIRE ROM FUNCTION COMMANDS (SEE FIGURE 7)
READ ROM MATCH ROM SEARCH ROM SKIP ROM CONDITIONAL SEARCH ROM
64-BIT ROM 64-BIT ROM 64-BIT ROM N/A 64-BIT ROM, ACTIVITY ON MAIN OUTPUT
STATUS READ/WRITE DS2409 SPECIFIC FUNCTION COMMANDS (SEE FIGURE 5) ALL LINES OFF DISCHARGE LINES DIRECT-ON MAIN SMART-ON MAIN SMART-ON AUX.
ALL OUTPUTS ALL OUTPUTS ALL OUTPUTS ALL OUTPUTS ALL OUTPUTS ALL OUTPUTS
64-BIT LASERED ROM Figure 3
MSB 8-Bit CRC Code MSB LSB 48-Bit Serial Number MSB LSB LSB 8-Bit Family Code (1FH) MSB LSB
1-WIRE CRC GENERATOR Figure 4
Polynomial = X8 + X5 + X4 + 1
1ST STAGE X0 2ND STAGE X1 X2 3RD STAGE X3 4TH STAGE XOR X4 5TH STAGE XOR X5 6TH STAGE X6 7TH STAGE X7 8TH STAGE X8
INPUT
XOR
072398 3/16
DS2409
CONTROL FUNCTION COMMANDS
The "Control Function Flow Chart" (Figure 5) describes the protocols necessary for controlling the main and auxiliary output as well as the control output of the DS2409. The 1-Wire Function Control section and the Coupler Function Control section combine to interpret the commands issued by the bus master and create the correct control signals within the device. Depending on the complexity of function to be exercised, the 1-byte command code may require one or two more bytes being sent by the bus master. Switching one branch on implies that the other branch is automatically switched off. At Power-on, both branches are switched off. Each command flow includes at least one byte of feedback information for the bus master to check if the command was understood and executed.
the value of this bit, the information in bit 6 (CNTR. STAT) either reports the association of the control output to a particular output (auto-control mode) or the status of the transistor at the control output.
STATUS CONTROL BYTE Table 1
7 6 DATA CNTR. X SEL. 0-2 5 MODE 4 R/W 3 R/W 2 X 1 X 0 X
X
don`t care
3 - 4 R/W 5 6 7
STATUS READ/WRITE [5Ah]
This command should be sent to the device after powering up unless the default settings are adequate for the application. Following the command code, the bus master has to send the status control byte. The bus master will then read the status info byte from the device. The confirmation byte is identical to the status info byte. Tables 1 and 2 show the bit assignments in both bytes. At power-on the device will be in the auto-control mode and the control output will be assigned to the main output. The control output can be assigned to the auxiliary output by setting bit 6 of the status control byte to a 1. For manual operation of the control output one has to select manual mode (bit 5 = 1). The value of bit 7 of the status control byte will then determine the status of the control output. A 1 for bit 7 will make the transistor conducting, a 0 will turn it off (non-conducting). To change the status of the device, both bits 3 and 4 of the status control byte have to be 0. Otherwise the settings will remain unchanged. In any case, the status info byte will reflect the currently valid settings including the changes that might have been made with the status control byte. The status info byte allows the bus master to verify the actual status of each output (STAT, active/inactive, on/ off) and the static level at the main and auxiliary output (LEVL, 1 for normal, 0 in case of a short). If a 1-Wire output is inactive and a low-going edge is encountered during this time, the DS2409 will set the event flag (EVNT) in the status info byte. Each output has its own event flag. The event flags are cleared with the All Lines Off command. Bit 7 of the status info byte tells if the device is in auto-control mode or manual mode. Depending on
Write control: both bits must be 0 to change the status. control output mode selection: 0 = auto- MODE control mode (default), 1 = manual mode CNTR. control output association (auto-control SEL. mode): 0 = main (default), 1 = auxiliary DATA value to be written to control output X (manual mode only): don't care otherwise
STATUS INFO BYTE Table 2
7 6 5 4 3 2 1 0 CNTR. EVNT EVNT AUX. AUX. MAIN MAIN MODE STAT AUX. MAIN LEVL STAT LEVL STAT 0 1 2 3 4 5 6 status of main output: 0 = active (connected to bus master), 1 = inactive voltage sensed at main output: 0 = low, 1 = high (see note) status of auxiliary output: 0 = active (connected to bus master), 1 = inactive voltage sensed at auxiliary output: 0 = low, 1 = high (see note) event flag for main output: 0 = no event, 1 = negative edge sensed since inactive event flag for aux. output: 0 = no event, 1 = negative edge sensed since inactive if auto-control mode: control output CNTR. association, 0 = main, 1 = auxiliary STAT if manual mode: 0 = output transistor off, 1 = output transistor on control output mode: 0 = auto-control MODE mode, 1 = manual mode MAIN STAT MAIN LEVL AUX. STAT AUX. LEVL EVNT MAIN EVNT AUX.
7
Note: Data is valid only if the output is decoupled from the 1-Wire input.
ALL LINES OFF [66h]
This command is used to deactivate the currently active 1-Wire output and to clear both event flags or to end a discharge cycle initiated by the Discharge Lines command. Before issuing this command, one should read the status and check the event flags of both, the main and the auxiliary output. Otherwise one might inadvertently clear the event flag without having taken appropri-
072398 4/16
DS2409
ate action. If the DS2409 is in auto-control mode, the transistor at the control output will be switched off (non- conducting). At power-on, the device will automatically perform the All Lines Off command. In contrast to a power-on cycle, the All Lines Off command does not clear the Mode and Control Select bits.
smaller the number of participants, the faster the responding devices are identified. The DS2409 supports the bus master in this process with the Smart-On Main command. As a preparation for the subsequent steps, the first action of the Smart-On Main command is deactivating the main output. Compared to the Direct-On Main command, the Smart-On Main requires the bus master to follow the function command with 16 more time slots. The first 8 time slots (reset stimulus) are translated by the DS2409 as a reset low time on the Main 1-Wire output. Now the bus master reads the reset response byte. This generates the reset high time where devices connected to the Main 1-Wire output may assert their presence pulse. If a presence pulse was found, several of the most significant bits of the reset response byte will be zeros. After these 16 time slots are completed the Main 1-Wire output will be activated (= through-connected to the 1-Wire input of the DS2409). Now only the devices on the newly activated segment of the MicroLAN are ready to receive a ROM function command optionally followed by a memory function command. All other devices in the network will remain silent until the next reset pulse is issued. As with the Direct-On command, the Smart-On Main command will automatically set the auxiliary output to inactive. Depending on the currently valid device status settings, the transistor at the control output may change state (see Status Read/Write command). If the Smart-On Main command is terminated by a 1-Wire reset pulse while receiving the reset stimulus, the DS2409 will immediately turn off the pull-down transistor and let the output line go high.
DISCHARGE LINES [99h]
There may be situations where one has to force a power-on reset for parasitically powered 1-Wire devices connected to the main or auxiliary output of the DS2409. For this purpose the Discharge Lines command has been implemented. This command first deactivates the output lines and then turns on the pull-down transistors of both, the main and the auxiliary outputs. This state will be maintained until the bus master accesses the coupler again and issues a different control function command. The duration of the discharge time should be100 ms minimum and is controlled solely by the bus master. Although any of the other control function commands will end the discharge cycle, it is recommended to use the All Lines Off or Status Read/Write command to do so. This will allow the discharged lines to fully recharge and prevent a sudden voltage droop on the active part of the network in case of a Direct-On Main command. This precaution is not necessary with the Smart-On command.
DIRECT-ON MAIN [A5h]
The Direct-on Main command is typically used to activate the main 1-Wire output to subsequently issue a reset pulse and access a device residing on the segment of the MicroLAN connected to the Main output of the DS2409. If this command is received, the DS2409 will automatically set the auxiliary output to inactive. Depending on the currently valid device status settings, the transistor at the control output may change state (see Status Read/Write command).
SMART-ON AUXILIARY [33h]
This command works essentially the same way as the Smart-On Main command, but it affects the auxiliary 1-Wire output. After the reset response byte is received by the bus master, the auxiliary output is activated and the main output becomes inactive. Depending on the currently valid device status settings, the transistor at the control output may change state (see Status Read/ Write command).
SMART-ON MAIN [CCh]
When analyzing huge MicroLAN networks for changes in population it may be useful to limit the number of devices participating in a Search ROM command. The
072398 5/16
DS2409
FUNCTION COMMAND FLOW CHART Figure 5
MASTER TX CONTROL FUNCTION COMMAND TO FIGURE 5 SECOND PART N
5Ah
STATUS RD./WR. ?
N
66h
ALL LINES OFF ? Y
N
99h
DISCHARGE ? Y
N
A5h
DIRECT-ON MAIN ? Y
STOP DISCHARGE (IF ON)
STOP DISCHARGE (IF ON)
STOP DISCHARGE (IF ON) DS2409 DEACTIVATES MAIN & AUX. OUTPUT DS2409 DEACTIVATES AUX. OUTPUT
BUS MASTER TX CONTROL BYTE
DS2409 DEACTIVATES MAIN & AUX. OUTPUT
BUS MASTER RX STATUS BYTE
DS2409 CLEARS BOTH EVENT FLAGS
DS2409 DISCHARGES MAIN & AUX. OUTPUT
DS2409 ACTIVATES MAIN OUTPUT
Y
AUTO- CONTROL ON ? N
Y
AUTO- CONTROL ON ? N
Y
AUTO- CONTROL ON ? N
UPDATE CONTROL OUT
UPDATE CONTROL OUT
UPDATE CONTROL OUT
1) BUS MASTER RX CONFIRMATION BYTE
2) BUS MASTER RX CONFIRMATION BYTE
2) BUS MASTER RX CONFIRMATION BYTE
2) BUS MASTER RX CONFIRMATION BYTE
N
BUS MASTER TX RESET ? Y
N
BUS MASTER TX RESET ? Y
N
BUS MASTER TX RESET ? Y
N
BUS MASTER TX RESET ? Y
1) SAME AS STATUS BYTE 2) SAME AS COMMAND CODE DS2409 TX PRESENCE PULSE
FROM FIGURE 5 SECOND PART
072398 6/16
DS2409
FUNCTION COMMAND FLOW CHART Figure 5 Cont'd
FROM FIGURE 5 FIRST PART
CCH SMART-ON MAIN ? Y STOP DISCHARGE (IF ON)
N
33H
SMART-ON AUX. ? Y STOP DISCHARGE (IF ON)
N
DS2409 DEACTIVATES MAIN OUTPUT
DS2409 DEACTIVATES AUXILIARY OUTPUT
BUS MASTER TX FFH RESET STIMULUS
BUS MASTER TX FFH RESET STIMULUS BUS MASTER RX RESET RESPONSE FROM AUXILIARY OUTPUT 3) 3) BUS MASTER RX CONFIRMATION BYTE DS2409 DEACTIVATES MAIN OUTPUT DS2409 ACTIVATES AUXILIARY OUTPUT 4)
BUS MASTER RX RESET RESPONSE FROM MAIN OUTPUT
BUS MASTER RX CONFIRMATION BYTE
DS2409 DEACTIVATES 4) AUXILIARY OUTPUT 4)
DS2409 ACTIVATES MAIN OUTPUT
4)
Y UPDATE CONTROL OUT
AUTO- CONTROL ON ? N
Y UPDATE CONTROL OUT
AUTO- CONTROL ON ? N N BUS MASTER TX RESET ? Y
Y
BUS MASTER TX RESET ?
Y
BUS MASTER TX RESET ? N
N 4) BUS MASTER PERFORMS ROM AND MEMORY FUNCTION ON MAIN SEGMENT
BUS MASTER PERFORMS ROM AND MEMORY FUNCTION ON AUXILIARY SEGMENT
BUS MASTER TX RESET ? Y TO FIGURE 5 FIRST PART
N
BUS MASTER TX RESET ? Y
N
3) SAME AS COMMAND CODE IF NO SHORT INVERTED COMMAND CODE IF SHORT
4) STEP IS SKIPPED IF A SHORT WAS DETECTED
072398 7/16
DS2409
HARDWARE CONFIGURATION Figure 6
BUS MASTER VPUP 1.5k FOR MicroLAN DS2409 1-WIRE INPUT PORT
OPEN DRAIN PORT PIN RX TX
PIN 2 1-WIRE
RX
RX = RECEIVE TX = TRANSMIT
5 A TYP.
TX 100 MOSFET
1-WIRE BUS SYSTEM
The 1-Wire bus is a system which has a single bus master and one or more slaves. In all instances the DS2409 behaves as a slave. The discussion of this bus system is broken down into three topics: hardware configuration, transaction sequence, and 1-Wire signaling (signal types and timing). A 1-Wire 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. For a more detailed protocol description, refer to Chapter 4 of the Book of DS19xx iButton Standards.
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. The DS2409 may perform a power-on reset cycle and deactivate both 1-Wire outputs if the 1-Wire input is low for minimum 8 ms. A low time of 12 ms or more will always cause a power-on reset cycle.
Transaction Sequence
The protocol for accessing the DS2409 via the 1-Wire port is as follows:
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 open drain or 3-state outputs. The 1-Wire input of the DS2409 is open drain with an internal circuit equivalent to that shown in Figure 6. 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 and requires a pull-up resistor of approximately 1.5k or a DS2480 driver for MicroLAN applications. The idle state for the 1-Wire bus is high. If for any reason a transaction needs to be suspended, the bus MUST be
* Initialization * ROM Function Command * Control Function Command
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 presence pulse(s) transmitted by the slave(s). The presence pulse lets the bus master know that the DS2409 is on the bus and is ready to operate. For more details, see the "1-Wire Signaling" section.
072398 8/16
DS2409
ROM FUNCTION COMMANDS
Once the bus master has detected a presence, it can issue one of the five ROM function commands. All ROM function commands are eight bits long. A list of these commands follows (refer to flowchart in Figure 7):
more than one slave is present on the bus and a read command is issued following the Skip ROM command, data collision will occur on the bus as multiple slaves transmit simultaneously (open drain pull-downs will produce a wired-AND result).
Read ROM [33h]
This command allows the bus master to read the DS2409s 8-bit family code, unique 48-bit serial number, and 8-bit CRC. This command can only be used if there is a single DS2409 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 resultant family code and 48-bit serial number will usually result in a mismatch of the CRC.
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 search ROM 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 search ROM, including an actual example.
Match ROM [55h]
The match ROM command, followed by a 64-bit ROM sequence, allows the bus master to address a specific DS2409 on a multidrop bus. Only the DS2409 that exactly matches the 64-bit ROM sequence will respond to the following memory function command. All slaves that do not match the 64-bit ROM sequence will wait for a reset pulse. This command can be used with a single or multiple devices on the bus.
Conditional Search ROM [ECh]
This ROM command works exactly as the normal ROM Search, but it will identify only devices that encounter certain conditions. The DS2409 will respond to this command only if the event flag for the main output is set (see Status Read/Write command). The event flag is cleared with the All Lines Off command.
Skip ROM [CCh]
This command can save time in a single drop bus system by allowing the bus master to access the control functions without providing the 64-bit ROM code. If
072398 9/16
DS2409
ROM FUNCTIONS FLOW CHART Figure 7
MASTER TX RESET PULSE
DS2409 TX PRESENCE PULSE
MASTER TX ROM FUNCTION COMMAND
33h
READ ROM COMMAND ? Y
N
55h
MATCH ROM COMMAND ? Y
N
F0h
SEARCH ROM COMMAND ? Y
ECh
N CONDITIONAL SEARCH ? Y N
CCh
SKIP ROM COMMAND ? Y
N
EVENT FLAG SET ?
N
DS2409 TX BIT 0 DS2409 TX FAMILY CODE 1 BYTE MASTER TX BIT 0 DS2409 TX BIT 0 MASTER TX BIT 0
DS2409 TX BIT 0 DS2409 TX BIT 0 MASTER TX BIT 0
BIT 0 MATCH ? Y DS2409 TX SERIAL NUMBER 6 BYTES
N
N
BIT 0 MATCH ? Y
BIT 0 MATCH ? Y DS2409 TX BIT 1 DS2409 TX BIT 1 MASTER TX BIT 1
N
DS2409 TX BIT 1 MASTER TX BIT 1 DS2409 TX BIT 1 MASTER TX BIT 1
BIT 1 MATCH ? Y
N
N
BIT 1 MATCH ? Y
BIT 1 MATCH ? Y
N
DS2409 TX CRC BYTE
DS2409 TX BIT 63 MASTER TX BIT 63 DS2409 TX BIT 63 MASTER TX BIT 63
DS2409 TX BIT 63 DS2409 TX BIT 63 MASTER TX BIT 63
BIT 63 MATCH ? Y
N
N
BIT 63 MATCH ? Y
BIT 63 MATCH ? Y
N
MASTER TX CONTROL FUNCTION COMMAND (SEE FIGURE 5)
072398 10/16
DS2409
1-WIRE SIGNALING
The DS2409 requires strict protocols to insure 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 DS2409 is shown in Figure 8. A reset pulse followed by a presence pulse
indicates the DS2409 is ready to send or receive data given the correct ROM command and control function command. The bus master transmits (TX) a reset pulse (tRSTL, minimum 480 s). The bus master then releases the line and goes into receive mode (RX). The 1-Wire bus is pulled to a high state via the pull-up resistor. After detecting the rising edge on the data line, the DS2409 waits (tPDH, 15-60 s) and then transmits the presence pulse (tPDL, 60-240 s).
INITIALIZATION PROCEDURE "RESET AND PRESENCE PULSES" Figure 8
MASTER TX "RESET PULSE" MASTER RX "PRESENCE PULSE"
tRSTH VPULLUP MIN VIH MIN VIL MAX 0V tRSTL tR tPDH tPDL VPULLUP
RESISTOR MASTER DS2409
480 s < tRSTL < 1 * 480 s < tRSTH < 1 (includes recovery time) 15 s < tPDH < 60 s 60 s < tPDL < 240 s
*In order not to mask interrupt signaling by other devices on the 1-Wire bus, tRSTL + tR should always be less than 960 s. **The slew rate of the Presence Pulse is actively limited by the DS2409 to 1V/s typically to minimize ringing. The slope of all other edges is controlled by the 1-Wire bus driver at the host.
READ/WRITE TIME SLOTS
The definitions of write and read time slots are illustrated in Figure 9. All time slots are initiated by the master driving the data line low. The falling edge of the data line synchronizes the DS2409 to the master by triggering a delay circuit in the DS2409. During write time slots, the
delay circuit determines when the DS2409 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 DS2409 will hold the data line low overriding the 1 generated by the master. If the data bit is a "1", the device will leave the read data time slot unchanged.
072398 11/16
DS2409
READ/WRITE TIMING DIAGRAM Figure 9 Write-one Time Slot
tSLOT VPULLUP MIN VIH MIN VIL MAX 0V tLOW1 15 s 60 s VPULLUP tREC
DS2409 SAMPLING WINDOW
60 s < tSLOT < 120 s 1 s < tLOW1 < 15 s 1 s < tREC < 1
Write-zero Time Slot
tSLOT VPULLUP VPULLUP MIN VIH MIN VIL MAX 0V 15 s 60 s tLOW0 DS2409 SAMPLING WINDOW
tREC
60 s < tLOW0 < tSLOT < 120 s 1 s < tREC < 1
Read-data Time Slot
tSLOT VPULLUP MIN VIH MIN VIL MAX 0V tLOWR tRDV VPULLUP tREC
MASTER SAMPLING WINDOW tSU tRELEASE
RESISTOR MASTER DS2409
60 s < tSLOT < 120 s 1 s < tLOWR < 15 s 0 < tRELEASE < 45 s 1 s < tREC < 1 tRDV = 15 s tSU < 1 s
072398 12/16
DS2409
USAGE EXAMPLE
Configuration: A bus master controls a MicroLAN consisting of a trunk with many DS2409s that create branches. Each of the DS2409s has a DS2430A connected to its auxiliary output to label its physical location in the network (see Figure 10). iButton devices are constantly arriving at or departing from the branches. Task: Identify one branch where an iButton has arrived and get the branch's physical location. Determine the population on that particular branch. STEP 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 MASTER MODE TX RX TX RX/RX/TX TX TX RX RX TX TX RX TX RX TX TX TX TX RX RX TX RX/RX/TX TX RX TX TX TX RX TX RX DATA (LSB FIRST) Reset Presence ECh for each of the 64 ROM bits 33h FFh * 33h CCh F0h <32 data bytes> Reset Presence 55h <8 byte ROM ID> CCh FFh * CCh F0h for each of the 64 ROM bits Reset Presence 55h <8 byte ROM ID> 66h 66h Reset Presence Presence pulse Issue "conditional search ROM" command Identify and access one of the qualifying devices Issue Smart-On Auxiliary command Send reset stimulus Get reset response byte with presence info Get confirmation byte Issue "skip ROM" command Issue "read memory" command Get branch location information (DS2430A) Reset pulse Presence pulse Issue "Match ROM" command Access the previously identified coupler Issue Smart-On Main command Send reset stimulus Get reset response byte with presence info Get confirmation byte Issue "search ROM" command Identify one of the devices connected Reset pulse Presence pulse Issue "Match ROM" command Access the previously identified coupler Send all lines off command Get confirmation byte Reset pulse Presence pulse COMMENTS Reset pulse (480-960 s)
repeat steps 12 to 21 for each of the remaining devices on the branch of the identified coupler * 00h or 01h if presence pulse, FFh if no presence pulse Note: The sequence of steps 12 to 21 logically decouples all other devices residing on the trunk from responding to the search ROM command. The All Lines Off command is required to clear the event flag that made the device respond to the conditional search command.
072398 13/16
DS2409
APPLICATION EXAMPLES
Figures 10 and 11 show two application examples of the DS2409 MicroLAN Coupler. A single trunk with branches is the typical topology of an access control system with the iButtons being the electronic keys required for admittance. The host computer runs a program that scans the devices on the trunk for events (conditional search). When somebody touches the probe with an iButton, this will set the event flag of the main line and the coupler will respond. The ID chip represents the DS2430A that labels the access point. The 64-bit ROM ID of the arriving iButton is the key for the entrance. In a real access control application, the LED will be replaced by a solenoid that opens the lock under software control (manual mode). The same network topology could be used for an inventory control system with the branches representing individual shelves of a rack. The iButtons would be electronic tags mounted on objects sitting on the shelves. The LED would guide the warehouse worker in placing the objects onto the right shelf.
The dual-master system realizes a master to master communication path via the 1-Wire bus. The DS1996 Memory iButton serves as a temporary storage for the data packets to be exchanged. When idle, both main outputs as well as the auxiliary outputs are inactive. To access the Memory iButton, the host A first switches on the control output, thereby pulling the auxiliary line of the coupler at the B side low. This tells host B that it is not allowed to activate the main output of coupler B. Now host A activates the main output of coupler A and writes data to the Memory iButton. After the writing is complete, host A deactivates the main output of coupler A and switches off the control output. Host B meanwhile has been polling the logic level at the auxiliary line of coupler B and realizes that host A has finished the access. Now host B follows the same procedure and accesses the memory to read the data, etc. The memory iButton may be replaced by a MicroLAN network. The Silicon Label stores information telling the hosts that these particular couplers access the same network and that the control and auxiliary outputs are cross-coupled for handshaking.
MicroLAN TRUNK WITH BRANCHES Figure 10
HOST COMPUTER SERIAL PORT TRUE GROUND ADAPTER iButton iButton iButton
MAIN CNT. DS2409 GND 1-WIRE 5V AUX. ID CHIP
DUAL MASTER SYSTEM Figure 11
HOST COMPUTER CNT. SERIAL PORT GND TRUE GROUND ADAPTER 1-WIRE 5V SI.-LABEL SI.-LABEL DS2409 AUX. DS 1996 AUX. DS2409 GND 1-WIRE 5V TRUE GROUND ADAPTER
A
NETWORK MAIN MAIN
B
CNT.
HOST COMPUTER SERIAL PORT
072398 14/16
DS2409
ABSOLUTE MAXIMUM RATINGS*
Voltage on Data to Ground Operating Temperature Storage Temperature Soldering Temperature -0.5V to +7.0V -40C to +85C -55C to +125C 260C for 10 seconds
* 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
PARAMETER Logic 1 (1-Wire In) Logic 0 (1-Wire In) Output Logic Low @ 4 mA (1-Wire In) Output Logic High (1-Wire In) Input Load Current (1-Wire In) Logic 1 (Main Out) Logic 0 (Main Out) Output Sink Current @ 0.4V (Main Out) Logic 1 (Aux. Out) Logic 0 (Aux. Out) Output Sink Current @ 0.4V (Aux. Out) Output Leakage (Control Output) Current @ 0.4V (Control Output) Operating Current Quiescent Current SYMBOL VIH1 VIL1 VOL1 VOH1 IL1 VIHM VILM ISM VIHA VILA ISA ILOC IOLC IDD IDDQ 10 2.2 -0.3 10 2.2 -0.3 10 5 MIN 2.2 -0.3 TYP
(-40C to +85C, VDD = 5V 10%)
MAX VDD +0.8 0.4 VPUP UNITS V V V V A V +0.8 V mA V +0.8 V mA 1 A mA 50 25 A A 2 2 NOTES 1 1 1 1, 3 4 1 1 1, 8 1 1 1
CAPACITANCE
PARAMETER Capacitance 1-Wire In Capacitance Main Out Capacitance Aux. Out SYMBOL CIN1 CINM CINA MIN TYP MAX 50 50 50 UNITS pF pF pF
(tA = 25C)
NOTES
072398 15/16
DS2409
RESISTANCES
PARAMETER 1-Wire In to Main ON Res. 1-Wire In to Aux. ON Res. Main and Aux. Pull-up Res. SYMBOL ZMON ZAON RPU MIN TYP 10 15 1.5 MAX 20 30
(-40C to +85C)
UNITS k NOTES
AC ELECTRICAL CHARACTERISTICS
PARAMETER Time Slot Write 1 Low Time Write 0 Low Time Read Low Time Read Data Valid Release Time Read Data Setup Recovery Time Reset Time High Reset Time Low Presence Detect High Presence Detect Low SYMBOL tSLOT tLOW1 tLOW0 tLOWR tRDV tRELEASE tSU tREC tRSTH tRSTL tPDH tPDL 1 480 480 15 60 0 MIN 60 1 60 1 exactly 15 15 TYP
(-40C to +85C, VDD = 5V 10%)
MAX 120 15 120 15 UNITS s s s s s 45 1 s s s s 960 60 240 s s s 5 7 6 NOTES
NOTES:
1. All voltages are referenced to ground. 2. Measured with outputs open. 3. VPUP = external pull-up voltage. 4. Input load is to ground. 5. An additional reset or communication sequence cannot begin until the reset high time has expired. 6. Read data setup time refers to the time the bus master must pull the I/O line low to read a bit. Data is guaranteed to be valid within 1 s of this falling edge. 7. The reset low time (tRSTL) should be restricted to a maximum of 960 s, to allow interrupt signaling, otherwise, it could mask or conceal interrupt pulses. The DS2409 may perform a power-on reset cycle and deactivate both 1-Wire outputs if the 1-Wire input is low for minimum 8 ms. A low time of 12 ms or more will always cause a power-on reset cycle. 8. The main output has a slew rate controlled output. The indicated current is a DC value. The sink current typically reaches 80% of its DC value 1 s after turning on the transistor.
072398 16/16


▲Up To Search▲   

 
Price & Availability of DS2409

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X