Freescale Semiconductor, Inc. MOTOROLA Document order number: MC33793/D Rev 10, 07/2003 SEMICONDUCTOR TECHNICAL DATA 33793 Distributed System Interface (DSI) Sensor Interface DISTRIBUTED SYSTEM INTERFACE (DSI) SENSOR INTERFACE Freescale Semiconductor, Inc... The 33793 is a slave Distributed System Interface (DSI) device that is optimized as a sensor interface. The device contains circuits to power sensors such as accelerometers and to digitize the analog level from the sensor. The device is controlled by commands over the DSI bus and returns measured data over the bus. Features • 4-Channel, 8-Bit Analog-to-Digital Converter (ADC) • 4 Pins Configurable as Analog or Logic Inputs or as Logic Outputs • Provides Regulated +5.0 V Output for Sensor Power from Bus • Additional High-Drive Logic Output • Undervoltage Fault Detection and Signaling • On-Board Clock (No External Elements Required) • Field-Programmable Address • Default and Field-Programmable as a DSI Daisy Chain Device • Recognizes Reverse Initialization for Open Bus Fault Tolerance • Detects Short to Battery on Bus Switch and Prevents Its Closure D SUFFIX 16-LEAD SOICN CASE 751B ORDERING INFORMATION Device Temperature Range (TJ) Package MC33793D/R2 -40°C to 150°C 16 SOICN 33793 Simplified Application Diagram 33790 DSIO BUSRTN 33793 BUSRTN BUSOUT I/O0 33793 BUSIN NC BUSOUT AGND BUSIN I/O1 H_CAP AGND I/O3 REGOUT NC NC I/O2 To Other DSI Slaves NC 1.0µF 4.7µF LOGOUT 1.0 K Y X VCC TEST XY ERROR ACCELEROMETER LED GND © Motorola, Inc. 2003 For More Information On This Product, Go to: www.freescale.com Freescale Semiconductor, Inc. H_CAP 1.0 µF Typical Rectifiers BUSIN Bus Switch 0 – 35 V Bi-Directional BUSOUT Reverse Receiver Forward Receiver Data Data Response Current 0 –11 mA 7.0 mA/µS Freescale Semiconductor, Inc... Frame Received Message from MCU Bandgap Reference Oscillator 4.0 MHz DataOut <3:0> IO2 Bandgap Reference Logic Command Decode State Machine Response Generation LOGOUT 4 DataOut <0> IO1 BUSRTN Bus Return I/O Buffers IO0 Frame Address A<3:0> 4 Bits NVM DataOut <1> SEL I/O2 I/O<3:0> 4.7 µF Supply Comparators POR I/O0 I/O1 IO3 REGOUT GND DataOut <2> DataOut <3> Power Management 5.0 V Regulator BG Reference Bias Currents Logic Out High Current Buffer I/O3 4:1 MUX ADC 8 Bits Undervoltage Detector BG Figure 1. 33793 Simplified Internal Block Diagram 33793 2 MOTOROLA ANALOG INTEGRATED CIRCUIT DEVICE DATA For More Information On This Product, Go to: www.freescale.com Freescale Semiconductor, Inc. BUSRTN 1 16 BUSOUT I/O0 2 15 NC AGND 3 14 BUSIN I/O1 4 13 NC AGND 5 12 H_CAP I/O3 6 11 REGOUT NC 7 10 NC I/O2 8 9 LOGOUT Freescale Semiconductor, Inc... PIN FUNCTION DESCRIPTION Pin Pin Name Description 1 BUSRTN 2 I/O0 3, 5 AGND 4 I/O1 This pin can be used to provide a logic level output, a logic input, or an A/D input. 6 I/O3 This pin can be used to provide a logic level output, a logic input, or an A/D input. 7, 10, 13, 15 NC These pins have no internal connections. 8 I/O2 This pin can be used to provide a logic level output, a logic input, or an A/D input. 9 LOGOUT This is a logic output with higher pull-up drive capability than the standard logic I/O. 11 REGOUT This pin provides a regulated 5.0 V output. The power is derived from the bus. 12 H_CAP A capacitor attached to this pin is charged by the bus during bus idle and supplies current to run the device and for external devices via the REGOUT pin during non-idle periods. 14 BUSIN This pin attaches to the bus and responds to initialization commands. 16 BUSOUT This pin provides the common return for power and signalling. This pin can be used to provide a logic level output, a logic input, or an analog-to-digital (A/D) input. This pin is the low reference level and power return for the analog-to-digital converter (ADC). This pin attaches to the bus and responds to reverse initialization commands. MOTOROLA ANALOG INTEGRATED CIRCUIT DEVICE DATA For More Information On This Product, Go to: www.freescale.com 33793 3 Freescale Semiconductor, Inc. MAXIMUM RATINGS All voltages are with respect to ground unless otherwise noted. Parameter Symbol Value Unit I/O Pin Voltage VIO -0.3 to VREGOUT + 0.5 V I/O Pin Current IIO 5.0 mA BUSIN, BUSOUT, BUSRTN, and H_CAP Voltage VIN -0.3 to 40 V BUSIN, BUSOUT, BUSRTN, and H_CAP Current (Continuous) IIN 250 mA TSTG -55 to 150 °C TJ -40 to 150 °C Lead Soldering Temperature (Note 1) TSOLDER 260 °C Thermal Resistance Junction to Case RθJC 150 °C/W Human Body Model (Note 2) VESD1 ±2000 Machine Model (Note 3) VESD2 ±200 Storage Temperature Freescale Semiconductor, Inc... Operating Junction Temperature V ESD Protection Notes 1. Lead soldering temperature limit is for 10 second maximum duration. Not designed for immersion soldering. Exceeding these limits may cause malfunction or permanent damage to the device. 2. ESD1 performed in accordance with the Human Body Model (CZAP = 100 pF, RZAP = 1500 Ω). 3. 33793 4 ESD2 performed in accordance with the Machine Model (CZAP = 200 pF, RZAP = 0 Ω). MOTOROLA ANALOG INTEGRATED CIRCUIT DEVICE DATA For More Information On This Product, Go to: www.freescale.com Freescale Semiconductor, Inc. STATIC ELECTRICAL CHARACTERISTICS Characteristics noted under conditions -0.3 V ≤ VBUSIN or VBUSOUT ≤ 30 V, 5.5 V < VH_CAP < 30 V, -40°C < TJ < 150°C. Parameter Symbol Nom Max IQ Internal Quiescent Current Drain – 3.0 IBUSIN or IBUSOUT = 15 mA – 0.75 1.00 IBUSIN or IBUSOUT = 100 mA – 0.9 1.2 BUSIN or BUSOUT to H_CAP Rectifier Voltage Drop VRECT V µA IBIAS BUSIN + BUSOUT Bias Current VBUSIN or VBUSOUT = 8.0 V, VH_CAP = 9.0 V -100 – 100 VBUSIN or VBUSOUT = 0.5 V, VH_CAP = 25 V – – 20 -20 – 100 µA IRLKG Rectifier Leakage Current VBUSIN or VBUSOUT = 5.0 V, VH_CAP = 25 V VREG Reg0ut 5.5 V > VH_CAP > 25 V, IRO = 12 mA V 4.75 5.0 5.25 – 71 180 – 2.3 100 0.93 0.95 0.97 – 4.0 8.0 VRLINE RegOut Line Regulation IRO = 12 mA, 5.5 V > VH_CAP > 25 V mV VRLD RegOut Load Regulation IRO = 0 to 12 mA, 5.5 V > VH_CAP > 25 V mV VUVL Undervoltage Lockout Proportional to unloaded VREGOUT VRO Ω RSW Bus Switch Resistance VBI = 8.0 V, IBO = -80 mA (Bus Switch Active) µA IPD I/O0 and I/O3 Pull-Down Current 0 < VBUSIN or VBUSOUT < 1.0 V 7.0 11 13 -7.0 -11 -13 µA IPU I/O1 and I/O2 Pull-Up Current VRO < VBUSIN or VBUSOUT < VRO - 1.0 V Units mA – VH_CAP = 25 V, Logout = 0, I/O = Input Freescale Semiconductor, Inc... Min V BUSIN and BUSOUT Logic Thresholds Low VTHL 2.8 3.0 3.2 High VTHH 5.5 6.0 6.5 Logic 0 DCL 10 33 40 Logic 1 DCH 60 67 90 % Logic Duty Cycle (assured by design) IRSP BUSIN + BUSOUT Response Current VBUSIN and/or VBUSOUT = 4.0 V mA 9.9 11 12.1 ADC Code Conversion Error (INL) ADCINL – – < 1.0 LSB ADC Full-scale Error ADCFS – – 3 counts Logic High VIH 0.7 0.54 – Logic Low VIL – 0.51 0.3 VRO I/O Logic Input Thresholds MOTOROLA ANALOG INTEGRATED CIRCUIT DEVICE DATA For More Information On This Product, Go to: www.freescale.com 33793 5 Freescale Semiconductor, Inc. STATIC ELECTRICAL CHARACTERISTICS (continued) Characteristics noted under conditions -0.3 V ≤ VBUSIN or VBUSOUT ≤ 30 V, 5.5 V < VH_CAP < 30 V, -40°C < TJ < 150°C. Parameter Symbol Min Nom Max Units I/O Logic Output Levels Output Low (IL = 1.0 mA) VOL 0 0.08 0.5 V Output High (IL = -500 µA) VOH 0.8 0.985 1.0 VRO Output Low (IL = 500 µA) VLOL 0 0.2 0.5 Output High (IL = -10 mA, 6.2 V < VH_CAP < 25 V) VLOH1 4.7 5.0 5.3 VLOH2 – – VRO+0.5 V LOGOUT Output Levels Output High (IL = -100 µA, 6.2 V < VH_CAP < 25 V) TPROG Freescale Semiconductor, Inc... Programming Time From Positive Edge of BUSIN or BUSOUT > VTHH on Program Command to Following Command Negative Transition < VTHH NVM BUSIN or BUSOUT Programming Voltage 33793 6 NVMVP ms 100 200 1000 22.25 – 30 V MOTOROLA ANALOG INTEGRATED CIRCUIT DEVICE DATA For More Information On This Product, Go to: www.freescale.com Freescale Semiconductor, Inc. DYNAMIC ELECTRICAL CHARACTERISTICS Characteristics noted under conditions -0.3 V ≤ VBUSIN or VBUSOUT ≤ 30 V, 5.5 V ≤ VH_CAP ≤ 30 V, -40°C ≤ TJ ≤ 150°C. Characteristic Symbol Min Typ Max Unit Initialization to Bus Switch Closing tBS 100 150 200 µs Loss of Signal Reset Time tTO – – 100 – – 27 Maximum Time Below Frame Threshold ADC Code Conversion Time (Go, No-Go Test) tADC BUSIN and BUSOUT Response Current Transition Time tITR 1.0 mA to 9.0 mA Transition, 9.0 mA to 1.0 mA ms mA/µs – 7.0 10 – – 3.3 – – 3.3 µs Freescale Semiconductor, Inc... BUSIN or BUSIN Timing to Response Current BUSIN or BUSOUT Negative Voltage Transition = 3.0 V to IRSPH = 7.0 mA BUSIN or BUSOUT Negative Voltage Transition = 3.0 V to IRSPL = 5.0 mA MOTOROLA ANALOG INTEGRATED CIRCUIT DEVICE DATA µs tRSPH tRSPL For More Information On This Product, Go to: www.freescale.com 33793 7 Freescale Semiconductor, Inc. Timing Diagrams Frame Threshold Frame Threshold BUSIN/BUSOUT tTO tBS End of Initialization Command Closed BUS Switch Freescale Semiconductor, Inc... Open Internal Reset Reset Figure 2. Bus Switch and Reset Timing 9.0 mA 9.0 mA 7.0 mA 5.0 mA 1.0 mA RESPONSE CURRENT 1.0 mA tITR tITR tRSPH tRSPL BUSIN/BUSOUT 3.0 V 3.0 V Figure 3. Response Current Timing 33793 8 MOTOROLA ANALOG INTEGRATED CIRCUIT DEVICE DATA For More Information On This Product, Go to: www.freescale.com Freescale Semiconductor, Inc. SYSTEM/APPLICATION INFORMATION Freescale Semiconductor, Inc... INTRODUCTION The 33793 is designed to be used with a sensor at a location that is remote from a centralized MCU. This device provides power, measurement, and communications between the remote sensor and the centralized MCU over a DSI bus. Sensors such as accelerometers can be powered from the regulated output of the device, and the resulting analog value from the sensor can be converted from an analog level to a digital value for transmission over the DSI bus in response to a query from the MCU. Four I/O lines can be configured by the central MCU over the DSI bus as analog inputs, digital inputs, or digital outputs. This allows more than one sensor to be remotely controlled and measured by a single 33793. Additionally, a high drive logic output is provided that can be used to power other low-power sensors. Power is passed from BUSIN or BUSOUT through on-board rectifiers to a storage capacitor (referred to as the H_CAP). The H_CAP stores energy during the highest voltage excursions of the BUSIN or BUSOUT pin (idle) and supplies energy to power the device during low excursions of BUSIN and BUSOUT. The Regulator supplies an on-board regulated voltage for internal use, and the Power on Reset (POR) circuit provides a reset signal during low-voltage conditions and during power up/ down. Some current is available for low-power sensors. Data from the Central Control Unit (CCU) is applied to the BUSIN and/or BUSOUT pins as voltage levels that are sensed by the Level Detection circuitry. The Serial Decoder detects these transitions and decodes the incoming data. The Control Logic provides overall control of the 33793. It controls diagnostic testing and formats responses to commands with the message encoder. Responses are formed via a switched current source that is slew-rate controlled. The one-time programmable (OTP) memory array provides the nonvolatile storage for the pre-programmed address. It is accessed via the Read/Write NVM command. It has a built-in hardware lock that only allows one write. FUNCTIONAL DESCRIPTION Refer to Figure 1, 33793 Internal Block Diagram, page 2, for a simplified representation of the 33793’s components. Rectifier This rectifier or switch peak detects the bus signal into an external capacitor attached to H_CAP. The capacitor supplies power during signaling while the input voltage is at a lower level. The voltage waveform at BUSIN and/or BUSOUT and the size of the filter capacitor at H_CAP must be such that the voltage at H_CAP will not drop below the frame threshold during signaling. POR The 33793 leaves the reset state when the voltage on H_CAP rises above the Power-ON Reset threshold. Timeout A timeout timer keeps track of the length of the time when the input is not in idle mode. If this time exceeds a limit, the part is reset. The purpose of this is to allow the part to reset itself if the connection to the master is lost or if power is removed from the system. 5.0 V Regulator The 5.0 V regulator supplies internal power for the device and also provides approximately 6.0 mA through the REGOUT pin to power an external sensor. MOTOROLA ANALOG INTEGRATED CIRCUIT DEVICE DATA Undervoltage Detector The undervoltage detector monitors the output voltage of the 5.0 V regulator. If the REGOUT voltage drops too low for accurate A/D operation, a signal is sent to the control logic. The control logic will interpret this signal and, in response to a command, report a status indicating an undervoltage condition to have existed. When received, the command will clear the signal after having read the status. If the voltage is too low when the A/D conversion was completed, the returned value will be zero (binary 00000000). IO Pins 0 to 3 The IO pins can serve as logic inputs, logic outputs, or analog inputs. At power-up or after a clear, the pins are all logic inputs and can be used to measure an analog level value for an analog value request command. The pins can be individually configured as logic inputs or outputs by the IO Control command. If the pin is configured as a logic output, reading the analog value will return the analog level the output is being driven to. Analog-to-Digital Converter The ADC is an 8-bit successive approximation type using onboard capacitive division. It uses the Clk signal from the onboard oscillator for sequencing. The ADC uses REGOUT as a full-scale reference voltage and ground AGND for a zero-level reference. The ADC signals when it has made a valid conversion by asserting a signal to the controller. If this signal is not asserted For More Information On This Product, Go to: www.freescale.com 33793 9 Freescale Semiconductor, Inc. when a value is being captured by the controller, the controller will signal that an invalid A/D value was obtained. method is that it will accept data over a wide range of rates and is not dependent on an accurate clock. The value of “0" (binary 00000000) is reserved by the control logic to signal an error. A value of "0" from the ADC will be reported as "1" (binary 00000001) by the control logic. The controller will typically indicate a logic zero by spending 2/3 of the bit period at Signal Low and 1/3 at Signal High. A logic one would be 1/3 of the bit period at Signal Low and 2/3 at Signal High. Freescale Semiconductor, Inc... Serial Encoder The Serial Encoder accepts the digitized value from the ADC and formatting/data from the Control Logic. A logic transition from Idle to Signal High and then to Signal Low at BUSIN will cause the first bit to be presented to the current switch (Response Loading). A transition to Signal High and back to Signal Low will cause the next bit to be presented to the current switch. This will continue until a transition back to Idle turns off the current switch. Slew The slew circuit serves to reduce EMI produced as a result of switching the bus loading current sink element. The slew circuit limits the rise and fall time of current loading the bus by controlling the current sinking element. Switched Current Source A "1" data return bit will be signaled by turning on a fixed current source. During signaling time, the 33793 will be using power from H_CAP and not loading the bus for power. The current will be drawn from either BUSIN or BUSOUT or split between them. The split can be in any proportion as long as the total is correct. The current source is turned off whenever the bus is at Idle level. Level Detector The level detector contains comparators to determine if the BUSIN or BUSOUT is at idle, logic high, or logic low. The inputs from BUSIN and BUSOUT are sensed by the device so that if either side is driven by the signaling waveform while the other is not, the signaling will be detected. This circuit also provides a signal to indicate if the signal is being received on the BUSOUT pin. If a "reverse initialization" command is received, it can only be acted upon if the device is not already initialized and if the signal is present on BUSOUT. Control Logic The control logic performs the digital operations carried out by this device. Its principle functions include: • Decoding input instructions. • Control the general purpose I/O and LOGICOUT in response to BUSIN or BUSOUT commands. • Control A/D conversions. • Form response word. • Capture and store address. • Control BUSSW. • Reset device on power-up. • Control the general purpose I/O logic configuration. • Read the general purpose I/O logic values and respond to request for these values. • Generating a cycle redundancy check (CRC) for the received data and transmitted data in conformance with the DSI Bus Standard. Additionally, the control logic performs error checking on the received data. If errors are found, no action is taken and no response is made. Errors include: • CRC received doesn’t match CRC of received data. • Number of received bits is not 12 or 20. Clock The clock is a low-stability type with the capacitor integrated onto the die. The signaling system and all internal operations are such that no external precision timing device is needed in the normal operation of this device. Bus Switch (BUSSW) The bus switch passes signaling and power to all subsequent devices on the bus. It can block a voltage of either polarity up to the highest idle state level between BUSIN and BUSOUT. Serial Decoder LOGICOUT The Serial Decoder monitors transitions on the BUSIN or BUSOUT. When the 33793 is Idle and supplying power to itself and the external device(s) (via REGOUT), the input to BUSIN will be in the Idle state. A transition from this level to Signal Low (through Signal High) will start the process of decoding a word of data. BUSIN is driven from Signal Low to Signal High for each bit and back to Signal Low to start the next bit. The determination of whether the bit was a one or a zero is made by determining whether it spent more time low (a zero) or high (a one). The end of the word is signaled by a transition at the end of the last bit from Signal High to Idle. The advantage of this LOGICOUT is a logic level output with enhanced high-side drive capability. 33793 10 Addressing The 33793 IC supports both runtime programmable and preprogrammed addressing as defined in the DSI Specification. Runtime programmable addressing uses the daisy chain bus connection. Pre-programmed devices may either be connected in daisy chain or in parallel on the bus wires. MOTOROLA ANALOG INTEGRATED CIRCUIT DEVICE DATA For More Information On This Product, Go to: www.freescale.com Freescale Semiconductor, Inc. Pre-programmed devices power up with their preprogrammed address in its address register. It will ignore all Initialization commands unless the address in the command matches its pre-programmed address. In this event the device stores the other information contained in the Initialization command. Freescale Semiconductor, Inc... Programmable address devices all power up with a device address of $0 in their address register and their bus switches open. In the daisy chain, if the first device receives the initialization command device on BUSIN, it will accept the address in the command and close its switch at the end of the command. The next device in the chain will now be able to receive the initialization command on its BUSIN and will accept the next address. This proceeds down the chain until the last device is addressed. The devices can also be initialized by the reverse initialization command if the signal is applied to BUSOUT. MOTOROLA ANALOG INTEGRATED CIRCUIT DEVICE DATA For More Information On This Product, Go to: www.freescale.com 33793 11 Freescale Semiconductor, Inc. OPERATION Messages Freescale Semiconductor, Inc... A device may be permanently programmed one time with an address using a two-command sequence. The first step is satisfied on the reception of an Initialization command with address set to zero, the PA[3:0] set to the address to be programmed, and the NV bit set. This will cause the address contained in the PA[3:0] bits to be stored in the address register and the bus switch closed. The second step is taken when a Read/Write NVM command is received with the PA[3:0] bits matching the A[3:0] bits and also matching the bits stored in the 33793 address register. This will cause the 33793 to permanently store this address into an internal NVM area. The messages follow the format defined in the Distributed Systems Interface Specification rev 1.0 unless otherwise noted. DSI Bus Commands This device can recognize and respond to both long-word and short-word commands. A command word summary is shown in Table 1. SW in the “Size” column of the table indicates short-word commands and LW indicates long-word commands. Short-word commands may also be sent in the long-word format. However, when these commands are sent in the longword format, it is recommended that the data byte be sent as $00 to maintain future compatibility. All commands marked reserved should not be sent to 33793 slaves. Table 1. DSI Bus Commands Command Size Description C3 C2 C1 C0 0 0 0 0 LW Initialization 0 0 0 1 SW 0 0 1 0 0 0 1 0 1 0 Data D7 D6 D5 D4 D3 D2 D1 D0 NV BS G1 G0 PA3 PA2 PA1 PA0 Request Status – – – – – – – – SW Request Value 0 – – – – – – – – 1 LW I/O Control L3 L2 L1 L0 DR3 DR2 DR1 DR0 0 0 SW Request ID Information – – – – – – – – 1 0 1 SW Request Value 1 – – – – – – – – 0 1 1 0 SW Request Value 2 – – – – – – – – 0 1 1 1 SW Clear – – – – – – – – 1 0 0 0 SW Request Value 3 – – – – – – – – 1 0 0 1 LW Read/Write NVM 1 1 1 1 PA3 PA2 PA1 PA0 1 0 1 0 Reserved 1 0 1 1 Reserved 1 1 0 0 SW Clear Logic Out – – – – – – – – 1 1 0 1 SW Set Logic Out – – – – – – – – 1 1 1 0 1 1 1 1 NV BS G1 G0 PA3 PA2 PA1 PA0 Reserved LW Reverse Initialization Legend BS = Controls closing of the Bus Switch (1 = close). LO = Logic Out level. DR[3:0] = Direction of I/O. 1 = Output. PA[3:0] = Bus Address to set the device to. G[1:0] = Group assignment (the 33793 does not use these bits). NV = Allows nonvolatile address programming if set to "1". L[3:0] = Level to output on I/O if configured as outputs. 33793 12 MOTOROLA ANALOG INTEGRATED CIRCUIT DEVICE DATA For More Information On This Product, Go to: www.freescale.com Freescale Semiconductor, Inc. Long- and Short-Word Responses found in Table 2 and a short-word response summary is found in Table 3, page 14. The device responds to long-word commands with long-word responses and short-word commands with short-word responses. Responses are sent during the next message following the command. A long-word response summary is Table 2. Long-Word Response Summary Freescale Semiconductor, Inc... CMD hex Command Description Response 0 Initialization A3 A2 A1 A0 0 0 0 BF NV BS G1 G0 PA3 PA2 PA1 PA0 1 Request Status A3 A2 A1 A0 0 0 0 0 NV U LO BS IO3 IO2 IO1 IO0 2 Request Value 0 A3 A2 A1 A0 0 0 0 0 B7 B6 B5 B4 B3 B2 B1 B0 3 I/O Control A3 A2 A1 A0 0 0 0 0 L3 L2 L1 L0 DR3 DR2 DR1 DR0 4 Request ID A3 A2 A1 A0 0 0 0 0 V2 V1 V0 0 0 0 1 1 5 Request Value 1 A3 A2 A1 A0 0 0 0 0 B7 B6 B5 B4 B3 B2 B1 B0 6 Request Value 2 A3 A2 A1 A0 0 0 0 0 B7 B6 B5 B4 B3 B2 B1 B0 7 Clear 8 Request Value 3 A3 A2 A1 A0 0 0 0 0 B7 B6 B5 B4 B3 B2 B1 B0 9 Read/Write NVM A3 A2 A1 A0 0 0 0 0 1 1 1 1 PA3 PA2 PA1 PA0 A Reserved B Reserved C Clear Logic Out A3 A2 A1 A0 0 0 0 0 NV U LO BS IO3 IO2 IO1 IO0 D Set Logic Out A3 A2 A1 A0 0 0 0 0 NV U LO BS IO3 IO2 IO1 IO0 E Reserved F Reverse Initialization A3 A2 A1 A0 0 0 0 BF NV BS G1 G0 PA3 PA2 PA1 PA0 No Response Legend A[3:0] = Address bits. The slave address. L[3:0] = Level to output on I/O if configured as outputs. B[7:0] = 8-bit A/D value. LO = Logic Out level at the Logic Out pin. BF = Bus Fault NV = Allows nonvolatile address programming if set to “1”. BS = Status of the Bus Switch (1 = close). PA[3:0] = Bus Address to set the device to. DR[3:0] = I/O direction bits (1 = Output). U = Undervoltage Flag. G[1:0] = Group assignment (the 33793 does not use these bits). V[2:0] = Version number. IO[3:0] = Logic level of I/O. MOTOROLA ANALOG INTEGRATED CIRCUIT DEVICE DATA For More Information On This Product, Go to: www.freescale.com 33793 13 Freescale Semiconductor, Inc. Table 3. Short-Word Response Summary Command Description Freescale Semiconductor, Inc... Command Response 0000 Initialization Not Valid 0001 Request Status NV U LO BS IO3 IO2 IO1 IO0 0010 Request Value 0 B7 B6 B5 B4 B3 B2 B1 B0 0011 I/O Control 0100 Request ID Information V2 V1 V0 0 0 0 1 1 0101 Request Value 1 B7 B6 B5 B4 B3 B2 B1 B0 0110 Request Value 2 B7 B6 B5 B4 B3 B2 B1 B0 0111 Clear 1000 Request Value 3 B2 B1 B0 1001 Read/Write NVM 1010 Reserved 1011 Reserved 1100 Clear Logic Out NV U LO BS IO3 IO2 IO1 IO0 1101 Set Logic Out NV U LO BS IO3 IO2 IO1 IO0 1110 Reserved 1111 Reverse Initialization Not Valid No Response B7 B6 B5 B4 B3 Not Valid Not Valid Legend 33793 14 B[7:0] = 8-bit A/D value. NV = Allows nonvolatile address programming if set to “1”. BS = Status of the Bus Switch (1 = close). PA[3:0] = Bus Address to set the device to. LO = Logic Out level at the Logic Out pin. U = Undervoltage Flag. IO[3:0] = Logic level of I/O. V[2:0] = Version number. MOTOROLA ANALOG INTEGRATED CIRCUIT DEVICE DATA For More Information On This Product, Go to: www.freescale.com Freescale Semiconductor, Inc. DSI COMMANDS AND RESPONSES Initialization Command number. A Read/Write NVM command then may be sent to complete the setting of a pre-programmed address. The Initialization command must be sent to the 33793 before it may commence communications over the bus. The command may be used three ways. The first is to initialize a programmable address device. The second is the first step in assigning a pre-programmed address. The third is to initialize a pre-programmed device. A pre-programmed device must be initialized by putting its address in both PA3:PA0 and A3:A0 fields. Once a device has received an initialization command, it will ignore further initialization commands unless it has received a Clear command or undergone a power-up reset. Freescale Semiconductor, Inc... For the first case this command is sent to address zero with the NV bit set to zero. The command will be received by the next daisy chain device with its bus switch open. Reception of this command will assign the device address and group number. If BS = 1 and no faults are detected, initialization will cause the bus switch to close. For the second case the Initialization command is sent the same as the first except that the NV bit is set to one. Reception of the command will assign the device address and group The command format is found in Table 4. Table 4. Initialization Command Format Data NV BS G1 G0 Address PA3 PA2 PA1 PA0 A3 A2 A1 Command 0 A0 0 CRC 0 0 X3 X2 X1 X0 Legend A[3:0] = Address bits. The slave address. NV = Nonvolatile Memory Write. The value of the NV bit in the slave. BS = Bus Switch Position (1 = closed). PA[3:0] = Bus Address to set the device to. G[1:0] = Group bits (unused). X[3:0] = Cyclic Redundancy Check (CRC). The CRC as calculated by the master. Initialization Response This response message is sent during the next message following a valid Initialization command to the addressed device. The response is shown in Table 5. Because this is a long-word only command, the short-word response is invalid. Table 5. Initialization Response Format High Byte A3 A2 A1 A0 Low Byte 0 0 0 BF NV BS G1 G0 PA3 CRC PA2 PA1 PA0 X3 X2 X1 X0 Legend A[3:0] = Address bits. The slave address. NV = Nonvolatile Memory Write. The value of the NV bit in the slave. BF = Bus Fault. Bus out short to battery detected. PA[3:0] = Bus Address to set the device to. BS = Bus Switch Position (1 = closed). X[3:0] = Cyclic Redundancy Check (CRC). The CRC as calculated by the slave. G[1:0] = Group bits (unused). Request Status Command This command will cause the addressed device to return the status of the NV, U, and BS bits and the logic levels of the I/O and LOGICOUT. The command format is found in Table 6. Table 6. Request Status Command Format Data – – – – – Address – – – A3 A2 A1 Command A0 0 0 0 CRC 1 X3 X2 X1 X0 Legend A[3:0] = Address bits. The address of the selected device. An address value of "0000" is ignored by all devices. MOTOROLA ANALOG INTEGRATED CIRCUIT DEVICE DATA X[3:0] = Cyclic Redundancy Check (CRC). The CRC as calculated by the master. For More Information On This Product, Go to: www.freescale.com 33793 15 Freescale Semiconductor, Inc. Request Status Response This response message is sent during the next message following a valid Request Status command to the addressed device. The response format is found in Table 7. The high byte is omitted during the short-word response. No response is generated if the command address field was $0. Table 7. Request Status Response Format High Byte A3 A2 A1 A0 Low Byte 0 0 0 0 NV U LO BS CRC IO3 IO2 IO1 IO0 X3 X2 X1 X0 Legend A[3:0] = Address bits. The slave address. NV = Nonvolatile Memory Write. The value of the NV bit in the slave. BS = Bus Switch Position (1 = closed). U = Undervoltage indicated true by a “1”. LO = Logic out driven level. X[3:0] = Cyclic Redundancy Check (CRC). The CRC as calculated by the slave. Freescale Semiconductor, Inc... IO[3:0] = Values at logic I/Os. Request Value n Command This command will cause the analog level at one of the four I/O lines to be measured and returned on the following command. The command format is found in Table 8. The analog input measured is defined in Table 9. Table 8. Request Value n Command Format Data – – – – Address – – – – A3 A2 A1 Command A0 C3 C2 C1 CRC C0 X3 X2 X1 X0 Legend A[3:0] = Address bits. The address of the selected device. An address value of "0000" is ignored by all devices. C[3:0] = Command number. X[3:0] = Cyclic Redundancy Check (CRC). The CRC as calculated by the master. Request Values Response Table 9. Analog Input Selection Command A/D Input 0010 I/O0 0101 I/O1 0110 I/O2 1000 I/O3 This response is an 8-bit value representing the value measured by the ADC. The selection of “n” is a function of the command. This is shown in Table 10. The read will be completed during the idle period and will represent the voltage at the end of the command. If an undervoltage condition exists at any time during the command or the measurement has not completed properly, a value of “00000000” will be returned. This is a reserved value to indicate a problem with the measurement. The minimum valid level reported will be “00000001”. No response is generated if the command address field was $0. Table 10. Request Values Response Format High Byte A3 A2 A1 A0 0 Low Byte 0 0 0 D7 D6 D5 D4 D3 CRC D2 D1 D0 X3 X2 X1 X0 Legend A[3:0] = Address bits. The address of the selected device. An address value of "0000" is ignored by all devices. 33793 16 D[7:0] = Measured value (MSB = D7). X[3:0] = Cyclic Redundancy Check (CRC). MOTOROLA ANALOG INTEGRATED CIRCUIT DEVICE DATA For More Information On This Product, Go to: www.freescale.com Freescale Semiconductor, Inc. I/O Control Command This register controls the I/O ports. When the “DR” bits are set, the corresponding I/O is enabled as an output. The “L” bit settings control the level of the corresponding I/O if it is enabled as an output. The format of this command is shown in Table 11. Table 11. I/O Control Command Format Data L3 L2 L1 L0 Address DR3 DR2 DR1 DR0 A3 A2 A1 Command A0 0 0 1 CRC 1 X3 X2 X1 X0 Legend A[3:0] = Address bits. Freescale Semiconductor, Inc... DR[3:0] = I/O direction bits. 1 = Output. All bits are set to “0” by reset/clear. L[3:0] = Level to output on I/O if configured as output. All bits are set to “0” by reset/clear X[3:0] = Cyclic Redundancy Check (CRC). The CRC as calculated by the master. I/O Control Response The response indicates which I/O has been configured as outputs and their current values. the pin has been forced to the opposite state. The response format is shown in Table 12. No response is generated if the command address field was $0. The values returned will be the values programmed. The values at the pins will not be the ones that were programmed if Table 12. I/O Control Response Format High Byte A3 A2 A1 A0 Low Byte 0 0 0 0 L3 L2 L1 L0 CRC DR3 DR2 DR1 DR0 X3 X2 X1 X0 Legend A[3:0] = Address bits. L[3:0] = Programmed values. DR[3:0] = I/O enabled as outputs (1 = enabled as output). X[3:0] = Cyclic Redundancy Check (CRC). The CRC as calculated by the slave. Request ID Command This command will cause the device ID information to be read from internal storage and returned to the master during the response to the next message. The command format is found in Table 13. Table 13. Request ID Command Format Data – – – – – Address – – – A3 A2 A1 Command A0 0 1 0 CRC 0 X3 X2 X1 X0 Legend A[3:0] = Address bits. The address of the selected device. An address value of “0000” is ignored by all devices. MOTOROLA ANALOG INTEGRATED CIRCUIT DEVICE DATA X[3:0] = Cyclic Redundancy Check (CRC). The CRC as calculated by the master. For More Information On This Product, Go to: www.freescale.com 33793 17 Freescale Semiconductor, Inc. Request ID Response This response message is sent during the next message following a valid long-word Request ID command to the addressed device. The response format is found in Table 14. The high byte is omitted during the short-word response. No response is generated if the command address field was $0. Table 14. Request ID Response Format Address A3 A2 Status A1 A0 0 0 Data 0 0 V2 V1 V0 0 CRC 0 0 1 1 X3 X2 X1 X0 Legend A[3:0] = Address bits. The slave address. Freescale Semiconductor, Inc... V[2:0] = Device version number. The silicon version number of the device. For this device the device type is 00011 as indicated by the lowest bits. X[3:0] = Cyclic Redundancy Check (CRC). The CRC as calculated by the slave. Clear Command This command will open the bus switch and reset all registers to the reset state. The command format is found in Table 15. No response is generated for the Clear command. Table 15. Clear Command Format Data – – – – – Address – – – A3 A2 A1 Command A0 0 1 1 CRC 1 X3 X2 X1 X0 Legend A[3:0] = Address bits. The address of the selected device. An address value of “0000” clears all devices. X[3:0] = Cyclic Redundancy Check (CRC). The CRC as calculated by the master. Read/Write NVM Command Programming the NVM address to $0 is allowed. This ensures that the device always acts as a dynamically addressable device and would be immune to any inadvertent future NVM programming sequences. If the NV bit has been set by a previous Initialization command and the NVM has not been programmed previously, this command will permanently program the device’s one-time programmable address and return the programmed value during the next message time. Once programmed, this nonvolatile address is used to set the device address register on the next and all subsequent power-ups. If the device is not blank, this command will return the programmed value during the next message time. Reads and writes are long-word commands only. The command format is found in Table 16. Table 16. Read/Write NVM Command Format Data 1 1 1 1 PA3 Address PA2 PA1 PA0 A3 A2 A1 Command A0 1 0 0 CRC 1 X3 X2 X1 X0 Legend A[3:0] = Address bits. These bits are the address of the device previously sent with the Initialization command. They must match the address in the PA[3:0] field and the address stored in the device address register. 33793 18 PA[3:0] = Program Address bits. These bits are the address that is to be programmed into the slave. X[3:0] = Cyclic Redundancy Check (CRC). The CRC as calculated by the master. MOTOROLA ANALOG INTEGRATED CIRCUIT DEVICE DATA For More Information On This Product, Go to: www.freescale.com Freescale Semiconductor, Inc. Read/Write NVM Response This response message is sent during the next message following a valid Read/Write NVM command to the addressed device. The response format is found in Table 17. The high byte is omitted during the short-word response. No response is generated if the command address field was $0. Table 17. Read/Write NVM Response Format High Byte A3 A2 A1 A0 Low Byte 0 0 0 0 1 1 1 1 PA3 CRC PA2 PA1 PA0 X3 X2 X1 X0 Legend A[3:0] = Address bits. The slave address. X[3:0] = Cyclic Redundancy Check (CRC). The CRC as calculated by the slave. Freescale Semiconductor, Inc... PA[3:0] = Programmed Address bits. The address that was programmed into the NVM address bits of the slave. Clear Logic Out Command The Clear Logic Out command sets the Logic Out pin to a logic low. The compliment to this command is the Set Logic Out. The Logic Out is also cleared at power-up or following a Clear command. The format of the Clear Logic Out command is shown in Table 18. Table 18. Clear Logic Out Command Format Data – – – – Address – – – –- A3 A2 A1 Command A0 1 1 0 CRC 0 X3 X2 X1 X0 Legend A[3:0] = Address bits. The address of the selected device. X[3:0] = Cyclic Redundancy Check (CRC). The CRC as calculated by the master. Clear Logic Out Response This response message is sent during the next message following a valid Clear Logic Out command to the addressed device. The response is shown in Table 19. No response is generated if the command address field was $0. Table 19. Clear Logic Out Response Format High Byte A3 A2 A1 A0 Low Byte 0 0 0 0 NV U LO BS IO3 CRC IO2 IO1 IO0 X3 X2 X1 X0 Legend A[3:0] = Address bits. The slave address. NV = Nonvolatile Memory Write. The value of the NV bit in the slave. BS = Bus Switch Position (1=closed). U = Undervoltage indicated true by a “1”. LO = Logic out driven level. X[3:0] = Cyclic Redundancy Check (CRC). The CRC as calculated by the slave. IO[3:0] = Values at logic I/Os. Set Logic Out Command The Set Logic Out command sets the Logic Out pin to a logic high. The compliment to this command is the Clear Logic Out. The Logic Out is cleared at power-up or following a Clear command. The format of the Clear Logic Out command is shown in Table 20. Table 20. Set Logic Out Command Format Data - - - - - Address - - - A3 A2 A1 Command A0 1 1 0 CRC 1 X3 X2 X1 X0 Legend A[3:0] = Address bits. The address of the selected device. MOTOROLA ANALOG INTEGRATED CIRCUIT DEVICE DATA X[3:0] = Cyclic Redundancy Check (CRC). The CRC as calculated by the master. For More Information On This Product, Go to: www.freescale.com 33793 19 Freescale Semiconductor, Inc. Set Logic Out Response This response message is sent during the next message following a valid Set Logic Out command to the addressed device. The response is shown in Table 21. No response is generated if the command address field was $0. Table 21. Set Logic Out Response Format High Byte A3 A2 A1 A0 Low Byte 0 0 0 0 NV U LO BS CRC IO3 IO2 IO1 IO0 X3 X2 X1 X0 Legend A[3:0] - Address bits. The slave address. NV = Nonvolatile Memory Write. The value of the NV bit in the slave. BS = Bus Switch Position (1=closed) U = Undervoltage indicated true by a “1”. IO[3:0] = Values at logic I/Os. X[3:0] = Cyclic Redundancy Check (CRC). The CRC as calculated by the slave. Freescale Semiconductor, Inc... LO = Logic out driven level. Reverse Initialization The Reverse Initialization is similar to the Initialization command and will only work under the condition that it has not already been initialized. The command may be used three ways. The first is to initialize a programmable address device. The second is the first step in assigning a pre-programmed address. The third is to initialize a pre-programmed device. For the second case the Initialization command is sent the same as the first except that the NV bit is set to one. Reception of the command will assign the device address and the group number and cause the bus switch to close if BS = 1 and there are no faults. A Read/Write NVM command then may be sent to complete the setting of a pre-programmed address. For the first case this command is sent to address zero with the NV bit set to zero. The command will be received by the next daisy chain device with its bus switch open. Reception of this command will assign the device address and the group number. Reception of this command will also cause the bus switch to close if BS = 1 and no fault is detected. A pre-programmed device must be initialized by putting its address in both PA3:PA0 and A3:A0 fields. Once a device has received a reverse initialization command, it will ignore further reverse initialization commands or initialization commands unless it has received a Clear command or undergone a power-up reset. The command format is found in Table 22. Table 22. Reverse Initialization Command Format Data NV BS G1 G0 PA3 Address PA2 PA1 PA0 A3 A2 A1 Command A0 1 1 1 CRC 1 X3 X2 X1 X0 Legend A[3:0] = Address bits. These bits are the slave address. For programmable devices these bits are all set to zero. For preprogrammed devices these bits contain the pre-programmed address and must match the PA[3:0] bits. G[1:0] = Group bits. These bits are the group number for the slave. These bits are not used by this device and should be set to “0”. NV = Nonvolatile Memory Write. When set to a one, this bit allows a subsequent NVM command to store a nonvolatile address. When set to a zero, NVM programming is disallowed. Once a permanent address has been stored in the device, setting the NV bit to a one has no effect. X[3:0] = Cyclic Redundancy Check (CRC). The CRC as calculated by the master. PA[3:0] = Program Address bits. These bits are the address that is to be stored into the slave’s address register. 33793 20 MOTOROLA ANALOG INTEGRATED CIRCUIT DEVICE DATA For More Information On This Product, Go to: www.freescale.com Freescale Semiconductor, Inc. Reverse Initialization Response invalid. No response is generated if the command address field was $0. This response message is sent during the next message following a valid Reverse Initialization command to the addressed device. The response is shown in Table 23. Since this is a long-word only command, the short-word response is Table 23. Reverse Initialization Response Format High Byte A3 A2 A1 A0 0 Low Byte 0 0 BF NV BS G1 G0 PA3 PA2 PA1 PA0 CRC X3 X2 X1 X0 Freescale Semiconductor, Inc... Legend A[3:0] = Address bits.The slave address. NV = Nonvolatile Memory Write. The value of the NV bit in the slave. BF = Bus Fault. BUSIN short to battery detected. PA[3:0] = Bus Address to set the device to. BS = Controls closing of the Bus Switch (1=close). X[3:0] = Cyclic Redundancy Check (CRC). The CRC as calculated by the slave. G[1:0] = Group bits. Not used on this part, will be set to “0”. The group number programmed into the slave. MOTOROLA ANALOG INTEGRATED CIRCUIT DEVICE DATA For More Information On This Product, Go to: www.freescale.com 33793 21 Freescale Semiconductor, Inc. PACKAGE DIMENSIONS D SUFFIX 16-LEAD SOIC NARROW BODY PLASTIC PACKAGE CASE 751B-05 ISSUE K 0.25 8X PIN'S NUMBER M B A 6.2 5.8 1 1.75 1.35 0.25 0.10 16 0.49 6 0.35 0.25 M T A B 14X PIN 1 INDEX Freescale Semiconductor, Inc... 16X 1.27 4 A 8 10.0 9.8 A 9 T 4.0 3.8 SEATING PLANE 16X B 0.1 T 5 0.50 0.25 X45° 0.25 0.19 1.25 0.40 SECTION A-A 33793 22 NOTES: 1. DIMENSIONS ARE IN MILLIMETERS. 2. DIMENSIONING AND TOLERANCING PER ASME Y14.5M, 1994. 3. DATUMS A AND B TO BE DETERMINED AT THE PLANE WHERE THE BOTTOM OF THE LEADS EXIT THE PLASTIC BODY. 4. THIS DIMENSION DOES NOT INCLUDE MOLD FLASH, PROTRUSION OR GATE BURRS. MOLD FLASH, PROTRUSION OR GATE BURRS SHALL NOT EXCEED 0.15 MM PER SIDE. THIS DIMENSION IS DETERMINED AT THE PLANE WHERE THE BOTTOM OF THE LEADS EXIT THE PLASTIC BODY. 5. THIS DIMENSION DOES NOT INCLUDE INTER-LEAD FLASH OR PROTRUSIONS. INTER-LEAD FLASH AND PROTRUSIONS SHALL NOT EXCEED 0.25 MM PER SIDE. THIS DIMENSION IS DETERMINED AT THE PLANE WHERE THE BOTTOM OF THE LEADS EXIT THE PLASTIC BODY. 6. THIS DIMENSION DOES NOT INCLUDE DAMBAR PROTRUSION. ALLOWABLE DAMBAR PROTRUSION SHALL NOT CAUSE THE LEAD WIDTH TO EXCEED 0.62 MM. 7° 0° MOTOROLA ANALOG INTEGRATED CIRCUIT DEVICE DATA For More Information On This Product, Go to: www.freescale.com Freescale Semiconductor, Inc. Freescale Semiconductor, Inc... NOTES MOTOROLA ANALOG INTEGRATED CIRCUIT DEVICE DATA For More Information On This Product, Go to: www.freescale.com 33793 23 Freescale Semiconductor, Inc... Freescale Semiconductor, Inc. Information in this document is provided solely to enable system and software implementers to use Motorola products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Motorola reserves the right to make changes without further notice to any products herein. Motorola makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Motorola assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. “Typical” parameters which may be provided in Motorola data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including “Typicals” must be validated for each customer application by customer’s technical experts. Motorola does not convey any license under its patent rights nor the rights of others. Motorola products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Motorola product could create a situation where personal injury or death may occur. Should Buyer purchase or use Motorola products for any such unintended or unauthorized application, Buyer shall indemnify and hold Motorola and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Motorola was negligent regarding the design or manufacture of the part. MOTOROLA and the Stylized M Logo are registered in the US Patent and Trademark Office. All other product or service names are the property of their respective owners. © Motorola, Inc. 2003 HOW TO REACH US: USA/EUROPE/LOCATIONS NOT LISTED: Motorola Literature Distribution P.O. Box 5405, Denver, Colorado 80217 1-800-521-6274 or 480-768-2130 JAPAN: Motorola Japan Ltd.; SPS, Technical Information Center 3-20-1 Minami-Azabu. Minato-ku, Tokyo 106-8573, Japan 81-3-3440-3569 ASIA/PACIFIC: Motorola Semiconductors H.K. Ltd.; Silicon Harbour Centre 2 Dai King Street, Tai Po Industrial Estate, Tai Po, N.T., Hong Kong 852-26668334 HOME PAGE: http://motorola.com/semiconductors For More Information On This Product, Go to: www.freescale.com MC33793/D