SUMMIT SMS46 MICROELECTRONICS, Inc. PRELIMINARY INFORMATION 1 (SEE LAST PAGE) Quad Programmable Precision Supervisory Controller With Independent Resets and 4k-Bit Nonvolatile Memory FEATURES INTRODUCTION z Operational from any of four Voltage Monitoring Inputs z Four Independent Programmable Reset Outputs z Programmability allows monitoring any voltage between 0.6V and 5.6V with no external components z Programmable 5mV steps in the low range z Programmable Watchdog Timer z Programmable Reset Pulse Width z Fault Status Register z 4k-Bit Nonvolatile General Purpose Memory The SMS46 is a highly programmable voltage supply controller and supervisory circuit designed specifically for advanced systems that need to monitor multiple voltages. The SMS46 can monitor four separate voltages without the need of any external voltage divider circuitry. This alleviates the need for factory-trimmed threshold voltages and the use of external components to accommodate different supply voltages and tolerances. The SMS46 has four programmable independant reset outputs to control different devices for varying reset conditions such as UV, OV, watchdog and user pushbutton applications. The SMS46 watchdog timer has a user programmable time-out period and it can be placed in an idle mode for system initialization or system debug. All of the functions are user accessible through an industry standard I2C serial interface. APPLICATIONS z Desktop/Notebook/Tablet Computers z Multi-voltage Systems z Telecom/Network Servers z Portable Battery-powered Equipment z Set-top Boxes z Data-storage Equipment Programming of configuration, control and calibration values by the user is simplified with the SMX3200 interface adapter and Windows GUI software obtainable from Summit Microelectronics. SIMPLIFIED APPLICATION DRAWING I2C Vpullup (0 to +12V) 7 3.3V Monitored 2.5V Supplies 1.8V 1.2V RESET# From uP 16 2 3 14 1 15 6 9 10 A2 A1 SDA SCL V0 V1 V2 V3 RESET#0 SMS46 RESET#2 MR# WLDI GND RESET#1 RESET#3 11 4 5 uP/DSP ASIC/FPGA Logic 13 LCD VDD_CAP 8 12 0.1µF Figure 1 - Precision Quad Power Supply Monitor can monitor any voltage over the range of 0.6V to 5.6V. One of the four supplies must be above 2.7V to power the SMS46. ©SUMMIT MICROELECTRONICS, Inc., 2004 • 1717 Fox Dr. • San Jose, CA 95131 • Phone 408-436-9890 • FAX 408-436-9897 • 2083 1.1 06/04/04 Characteristics subject to change without notice www.summitmicro.com 1 SMS46 Preliminary Information FUNCTIONAL BLOCK DIAGRAM VDD_CAP 11 RESET#0 CONFIGURATION REGISTER 50kΩ 4 RESET#1 MR# 1 V0 16 5 RESET#2 NV DAC + REF – PROGRAMMABLE RESET PULSE GENERATOR V1 2 13 RESET#3 NV DAC + REF – NV DAC + REF 9 SDA SERIAL BUS CONTROL LOGIC V2 3 10 SCL 7 A2 6 A1 – V3 14 4K-BIT NV MEMORY NV DAC + REF V0 V1 V2 V3 2 VDD_CAP – PROGRAMMABLE WATCHDOG TIMER 50kΩ 15 WLDI SUPPLY ARBITRATION 12 8 VDD_CAP GND 2083 1.1 06/04/04 SUMMIT MICROELECTRONICS, Inc. SMS46 Preliminary Information PIN CONFIGURATION MR# V1 V2 RESET#1 RESET#2 A1 A2 GND SUMMIT MICROELECTRONICS, Inc. 1 2 3 4 5 6 7 8 PIN NAMES 16 15 14 13 12 11 10 9 V0 WLDI V3 RESET#3 VDD_CAP RESET#0 SCL SDA Pin Name 1 MR# 2 V1 3 V2 4 RESET#1 Reset#1 output 5 RESET#2 Reset#2 output 6 A1 Address input 7 A2 Address input 8 GND Power supply return 9 SDA Serial data I/O 10 SCL Serial data clock 11 RESET#0 Reset#0 output 12 VDD_CAP Power supply output 13 RESET#3 Reset#3 output 14 V3 15 WLDI 16 V0 2083 1.1 06/04/04 Function Manual reset input Voltage supply and monitor input Voltage supply and monitor input Voltage supply and monitor input Watchdog timer interrupt Voltage supply and monitor input 3 SMS46 Preliminary Information ABSOLUTE MAXIMUM RATINGS* RECOMMENDED OPERATING CONDITIONS Temperature Under Bias ........................ –55°C to 125°C Storage Temperature ............................. –65°C to 150°C Lead Solder Temperature (10s) ........................... 300 °C Terminal Voltage with Respect to GND: V0, V1, V2, and V3 ......... –0.3V to 6.0V RESET#0-3 ..................... –0.3V to 15V All Others ....................... –0.3V to 6.0V Junction Temperature.......................…….....…...150°C ESD Rating per JEDEC……………………..….…..2000V Latch-Up testing per JEDEC………..…….......…±100mA *Note - Stresses beyond the listed Absolute Maximum Ratings may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions outside those listed in the operational sections of this specification is not implied. Exposure to any absolute maximum rating for extended periods may affect device performance and reliability. Industrial Temperature Range............... –40ºC to +85ºC. Commercial Temperature Range..............–5ºC to +70ºC. VSUPPLY Supply Voltage............................2.7V to 5.5V VSUPPLY = Device supply voltage provided by the highest VX input. Package Thermal Resistance (θJA) 16 Lead SSOP…………………….………….…23oC/W Moisture Classification Level 1 (MSL 1) per J-STD- 020 RELIABILITY CHARACTERISTICS Data Retention………………….…………..…..100 Years Endurance……………………….…..…….100,000 Cycles DC OPERATING CHARACTERISTICS (Over Recommended Operating Conditions; Voltages are relative to GND) Symbol VDD IDD Parameter Operating supply voltage Supply current Notes Min. Typ. Max. Unit 1V min. refers to a valid reset output being generated 1.0 5.5 V Memory read/write operations: at least one of the V inputs must be at or above VDD min. 2.7 5.5 V 400 µA 3 mA VDD ≤ 5.5V; V0 trip point 4.7V; V1, V2, V3 = GND; MR# = VDD; all outputs floating 200 Configuration register or memory access Programmable threshold VPTH Range (low range) Reset threshold voltage range V0 to V3 (5mV increments) 0.6 1.875 V VPTH Programmable threshold Range (high range) Reset threshold voltage range V0 to V3 (15mV increments) 1.8 5.625 V Programmable threshold Accuracy VPTH is the programmed threshold setpoint within the VPTH Range –1.0 1.0 % VPTHACC VHYST VRST hysteresis See Note 1 below RPU Pull-up resistance MR# and WLDI pins VOL Low voltage output VIL VIH VPTH TBD mV 50 kΩ ISINK = 1mA, VVDD_CAP ≥ 2.7V 0.3 V ISINK = 200µA, VVDD_CAP = 1.0V 0.3 V 0.6 V Input threshold 0.7 × VDD V Note 1: Low Range Hysteresis = 4.2 X (Vtrip - 0.5 volts) mV. For Vtrip = 1.0 volts, Hysteresis = 2.1 mV (0.21 %), High Range Hysteresis = 12.6 X (Vtrip -0.5 volts) mV. For Vtrip = 5.0 volts, Hysteresis = 56.7 mV (1.13%). 4 2083 1.1 06/04/04 SUMMIT MICROELECTRONICS, Inc. SMS46 Preliminary Information AC OPERATING CHARACTERISTICS (Over Recommended Operating Conditions; Voltages are relative to GND) Symbol tPRTO tDRST tPWDTO Parameter Notes Programmable reset pulse width Vin to RESET# delay MR# input pulse width TDMRRST Delay from MR# low to RESET# low SUMMIT MICROELECTRONICS, Inc. Typ. Max. Unit 19 25 31 ms 38 50 63 ms 75 100 125 ms 150 200 250 ms 100mV overdrive Programmable Watchdog timer period TMR Min. Minimum pulse required to bring Reset active 2083 1.1 06/04/04 20 µs OFF — 300 400 500 ms 600 800 1000 ms 1200 1600 2000 ms 2400 3200 4000 4800 6400 8000 ms 300 ns 200 ns 5 SMS46 Preliminary Information PIN DESCRIPTIONS V0, V1, V2, V3 (16, 2, 3, 14) These inputs are used as the voltage monitor inputs and as the voltage supply for the SMS46. Internally they are actively diode ORed and the input with the highest voltage potential will be the default supply voltage (VDD_CAP). The RESET# outputs will be valid if any one of the four inputs is above 1V. However, for full device operation at least one of the inputs must be at 2.7V or higher. The sensing threshold for each input is independently programmable in 5mV increments from 0.6V to 1.875V or 15mV increments from 1.8V to 5.625V. Also, the occurrence of an under- or over-voltage condition that is detected as a result of the threshold setting can be used to generate a RESET#0-3. The programmable nature of the threshold voltage eliminates the need for external voltage divider networks. GND Power supply return. MR# (1) The manual reset input always generates a RESET#0-3 output whenever it is driven low. The duration of the RESET# output pulse will be initiated when MR# goes low and it will stay low for the duration of MR# low pulse plus the programmed reset time-out period (tPRTO). MR# must be held low during a configuration register write or read. This signal is pulled up internally through a 50kΩ resistor. RESET#0-3 (11, 4, 5, 13) The reset outputs are active low open drain outputs. They are driven low whenever the MR# input is low or whenever a triggering under-voltage or over-voltage condition exists on the corresponding input channel or when the Watchdog timer expires. The four voltage monitor inputs are always functioning, but their ability to generate a reset is programmable (configuration register 4). Refer to Figures 2, 3 and 5 for a detailed illustration of the relationship between MR#, RESET#0-3 and the VIN levels. MR# tDMRRST RESET# tPRTO VPTH-UV V0 — V3 tPRTO tDRST RESET# Figure 3 - RESET# Timing VDD_CAP (12) The VDD_CAP pin connects to the internal supply voltage for the SMS46. A capacitor is placed on this pin to filter supply noise as well as hold up the device in the event of power failure. The voltage on this node is determined by the highest input voltage. Loading of this pin should be minimized to prevent excessive power dissipation in the part. WLDI (15) Watchdog input. A low to high transition on the WLDI input will clear the watchdog timer, effectively starting a new time-out period. This signal is pulled up internally through a 50kΩ resistor. If WLDI is stuck low and no low-to-high transition is received within the programmed tPWDTO period (programmed watch dog time-out) the RESET#0-3 outputs will be driven low. Holding WLDI high will not block the Watchdog from timing out and generating a reset. Refer to Figure 4 for a detailed illustration of the relationship between RESET#0-3 and WLDI. A1, A2 (6, 7) A1 and A2 are the address inputs. When addressing the SMS46 memory or configuration registers the address inputs distinguish which one of four possible devices sharing the common bus is being addressed. SDA (9) SDA is the serial data input/output pin. It should be tied to VDD_CAP through a pull-up resistor. Figure 2 - RESET# Timing with MR# 6 2083 1.1 06/04/04 SUMMIT MICROELECTRONICS, Inc. SMS46 Preliminary Information PIN DESCRIPTIONS (CONTINUED) SCL (10) SCL is the serial clock input. It should be tied to VDD_CAP through a pull-up resistor. t0 tPWDTO t0 t0 t0 t0 tPRTO RESET# tPRTO tPWDTO WLDI 2047 Fig04 3.0 Figure 4 - Watchdog and WLDI Timing V0 tD R S T V P T H -U V tPR TO R ESET#0 V P T H -O V V1 tDR ST R ESET#1 tPR TO Figure 5 - V0-1 Inputs and Resulting RESET# Behavior with V0 set to UV and V1 set to OV sensing. SUMMIT MICROELECTRONICS, Inc. 2083 1.1 06/04/04 7 SMS46 Preliminary Information DEVICE OPERATION AND CONFIGURATION REGISTERS SUPPLY AND MONITOR FUNCTIONS The V0, V1, V2, and V3 inputs are internally ORed so that any one of the four can act as the device supply. The RESET# outputs will be guaranteed true so long as one of the four pins is at or above 1V. Note: for performing a memory operation (Read or Write) and to have the ability to change configuration register contents at least one supply input must be above 2.7V. Read/Write operations require a 0.1µF capacitor from the VDD_CAP node to GND. For optimum performance connect capacitors from each of the Vx inputs to GND. Locate the capacitors as physically close to the SMS46 as possible. Associated with each input is a comparator with a programmable threshold for detection of under-voltage or overvoltage conditions on any of the four supply inputs. The threshold can be programmed in 5mV increments anywhere within the range of 0.6V to 1.875V or 15mV increments within the range of 1.8V to 5.625V. Configuration registers 0, 1, 2, and 3 adjust the thresholds for V0, V1, V2, and V3 respectively. If the value contained in any register is all zeroes, the corresponding threshold will be 0.6V. If the contents were low range 05HEX the threshold would then be 0.625V [0.6V + (5 × 0.005V)]. All four registers are configured as 8-Bit registers. D7 MSB D6 D5 D4 D3 D2 D1 D0 LSB 1 1 1 1 1 1 1 1 Highest threshold adjustment = 5.625V (High Range) 0 0 0 0 0 0 0 0 Lowest threshold adjustment = 0.6V (Low Range) 0 0 0 0 0 1 1 0 Threshold = 0.6V + (6×0.005V) = 0.625V (e.g.) Action Table 1. Configuration Registers 0, 1, 2, and 3 RESET# FUNCTION Each RESET# output has a programmable source for activation. Configuration register 4 is used for enabling the activation source. A monitor input can be programmed to activate on either an under-voltage or over-voltage condition, but not both conditions. When this condition ceases, each individual RESET# output will remain active for tPRTO (programmable reset time-out). The reset threshold voltage range for V0 to V3 can be set for 5mV increments below 1.875V (low Range = "0") or for 15mV increments above 1.8V (high range = "1") using Bits D3:0. The RESET#0-3 outputs have two hardwired sources for activation: the MR# input and Watchdog timer. All D7 MSB D6 D5 D4 D3 D2 D1 D0 LSB V3 V2 V1 V0 V3 V2 V1 V0 Refer to Figures 1, 2 and 3 for a detailed illustration of the relationships among the affected signals. The SMS46 provides the option of the monitors triggering on either an under-voltage or over-voltage condition. The low-order four bits of configuration register 5 program these options. WATCHDOG TIMER Action Voltage Threshold Range Select RESET Trigger Enable RESET# outputs will remain active so long as MR# is low, and will continue driving the RESET# outputs for tPRTO (programmable reset time out) after MR# returns high. The MR# input cannot be bypassed or disabled. 0 0 0 0 Low Range 1 1 1 1 High Range The SMS46 contains an independent timer that can be programmed. The Watchdog generates all RESET#s if it times out. The timer is cleared by a low to high transition on WLDI and will reset all four RESET#. If the watchdog should time-out the device status can be monitored in the status register (Table 4). Refer to Figure 3 which illustrates the action of RESET#0-3 with respect to the Watchdog timer and the WLDI input. Table 2. Configuration Register 4 8 2083 1.1 06/04/04 SUMMIT MICROELECTRONICS, Inc. SMS46 Preliminary Information DEVICE OPERATION AND CONFIGURATION REGISTERS (CONTINUED) Action D3 MSB D2 D1 D0 LSB V3 V2 V1 V0 Writing a 0 enables undervoltage detection for the selected V input 0 Writing a 1 enables overvoltage detection for the selected V input 1 0 1 0 Action 0 1 1 D2 D1 D0 LSB WD2 WD1 WD0 OFF 0 0 0 400ms 0 1 1 800ms 1 0 0 1600ms 1 0 1 3200ms 1 1 0 6400ms 1 1 1 Table 3. Configuration Register 5 (D0 through D3) If WLDI is held low the timer will free-run generating a series of resets. When RESET# returns high (after tPRTO) the timer is reset to time zero. Register 6 is also used to set the programmable reset time-out period (tPRTO). D7 MSB D6 D5 D4 LSB V3 V2 V1 V0 0 0 0 0 1 1 1 1 Action Table 6. Configuration Register 6 (D0, D1, D2) D7 MSB Reading a 1 indicates the source of out of limit fault Table 4. Status Register 5 (D4 through D7) D6 Address Select Action Lock AS0 x 0 DTI = 1010, responds only when address bits = A2 & A1 logic states x 1 DTI = 1011, responds only when address bits = A2 & A1 logic states D7 MSB D6 D5 D4 D3 Read1 Only RTO1 RTO0 Read Only Read Only Action 0 x Config. Reg. Read/Write enabled 1 0 0 x x tPRTO = 25ms 1 x Config. Reg. Read/Write locked out 1 0 1 x x tPRTO = 50ms 1 1 0 x x tPRTO = 100ms 1 1 1 x x tPRTO = 200ms 1 Note 1 - Setting this bit will cause a permanent Read/Write Lock out. Table 7. Configuration Register 7 (D7, D6) Bits D5 through D0 are not used. Table 5. Configuration Register 6 (D3 through D7) Note 1 - Read Only bit D7 is set to a 1. Read only bits D4 and D3 are revision control and the value indicates the status code of the device (ie. 01 is status code 1). SUMMIT MICROELECTRONICS, Inc. 2083 1.1 06/04/04 9 SMS46 Preliminary Information DEVELOPMENT HARDWARE & SOFTWARE SMX3200 PROGRAMMER The end user can use the summit SMX3200 programming cable and software that have been developed to operate with a standard personal computer. The programming cable interfaces directly between a PC’s parallel port and the target application. The application’s values are entered via an intuitive graphical user interface employing dropdown menus. The latest revisions of all software and an application brief describing the SMX3200 is available from the website (www.summitmicro.com). Pin 10, Reserved Pin 8, Reserved Pin 6, MR# Pin 4, SDA Pin 2, SCL 1N4148 VDD_CAP MR# SDA SCL When design prototyping is complete, the software can generate a HEX data file that should be transmitted to Summit for approval. Summit will then assign a unique customer ID to the HEX code and program production devices before the final electrical test operations. This will ensure proper device operation in the end application. Top view of straight 0.1" x 0.1 closed-side connector. SMX3200 interface cable connector. D1 SMS46 The Windows GUI software will generate the data and send it in I2C serial bus format so that it can be directly downloaded to the SMS46 via the programming Dongle and cable. An example of the connection interface is shown in Figure 6. 10 8 6 4 2 9 7 5 3 1 Pin 9, 5V Pin 7, 10V Pin 5, Reserved Pin 3, GND Pin 1, GND C1 0.1µF GND Figure 6 - SMX3200 Programmer I2C serial bus connections to program the SMS46. 10 2083 1.1 06/04/04 SUMMIT MICROELECTRONICS, Inc. SMS46 Preliminary Information I2C INTERFACE MEMORY OPERATION Input Data Protocol Data for the configuration registers and the memory array are read and written via an industry standard two-wire interface. The bus was designed for two-way, two-line serial communication between different integrated circuits. The two lines are a serial data line (SDA) and a serial clock line (SCL). The SDA line must be connected to a positive supply by a pull-up resistor, located somewhere on the bus. See Memory Operating Characteristics: Table 8 and Figure 7. The protocol defines any device that sends data onto the bus as a transmitter and any device that receives data as a receiver. The device controlling data transmission is called the Master and the controlled device is called the Slave. In all cases the SMS46 will be a Slave device, since it never initiates any data transfers. Symbol Parameter One data bit is transferred during each clock pulse. The data on the SDA line must remain stable during clock high time because changes on the data line while SCL is high will be interpreted as start or stop condition. Conditions MIN TYP 0 MAX Units 100 kHz fSCL SCL clock frequency tLOW Clock low period 4.7 µs tHIGH Clock high period 4.0 µs tBUF Bus free time (1) 4.7 µs tSU:STA Star t condition setup time 4.7 µs tHD:STA Star t condition hold time 4.0 µs tSU:STO Stop condition setup time 4.7 µs tAA Clock edge to valid output SCL low to valid SDA (cycle n) 0.2 tDH Data Out hold time SCL low (cycle n+1) to SDA change 0.2 tR SCL and SDA rise time (1) 1000 ns tF SCL and SDA fall time (1) 300 ns tSU:DAT Data In setup time 250 ns tHD:DAT Data In hold time 0 ns TI Noise filter SCL and SDA tWR Write cycle time Before new transmission 3.5 µs µs Noise suppression 100 ns 5 ms 2047 Table10 4.0 Note (1): These values are guaranteed by design. Table 8. Memory Operating Characteristics tR tF tHIGH tLOW SCL tSU:STA tHD:STA tHD:DAT tSU:DAT tSU:STO tBUF SDA In tAA tDH SDA Out 2047 Fig09 Figure 7 - Memory Operating Characteristics SUMMIT MICROELECTRONICS, Inc. 2083 1.1 06/04/04 11 SMS46 Preliminary Information I2C INTERFACE (CONTINUED) START and STOP Conditions When both the data and clock lines are high the bus is said to be not busy. A high-to-low transition on the data line, while the clock is high, is defined as the Start condition. A low-to-high transition on the data line, while the clock is high, is defined as the Stop condition. See Figure 8. START Condition STOP Condition D7 MSB D6 D5 D4 D3 D2 D1 D0 LSB MSB R/W x x Address Bits Device Type Bus SMS46 x x 1 0 0 1 Õ Configuration Register 1 0 1 0 Õ Memor y (default) 1 0 1 1 Õ Alternate Memor y SCL Table 9. Slave Addresses SDA In Read/Write Bit The last bit of the data stream defines the operation to be performed. When set to 1 a Read operation is selected; when set to 0 a Write operation is selected. 2047 Fig10 Figure 8 - START and STOP Conditions WRITE OPERATIONS Acknowledge (ACK) Acknowledge is a software convention used to indicate successful data transfers. The transmitting device, either the Master or the Slave, will release the bus after transmitting eight bits. During the ninth clock cycle the receiver will pull the SDA line low to Acknowledge that it received the eight bits of data. The Master will leave the SDA line high (NACK) when it terminates a read function. The SMS46 will respond with an Acknowledge after recognition of a Start condition and its slave address byte. If both the device and a write operation are selected the SMS46 will respond with an Acknowledge after the receipt of each subsequent 8-Bit word. In the READ mode the SMS46 transmits eight bits of data, then releases the SDA line, and monitors the line for an Acknowledge signal. If an Acknowledge is detected and no Stop condition is generated by the Master, the SMS46 will continue to transmit data. If a NACK is detected the SMS46 will terminate further data transmissions and await a Stop condition before returning to the standby power mode. Device Addressing Following a Start condition the Master must output the address of the Slave it is accessing. The most significant four bits of the Slave address are the device type identifier/address. For the SMS46 the default is 1010BIN. The next two bits are the Bus Address. The next bit (the 7th) is the MSB of the memory address. 12 The SMS46 allows two types of Write operations: byte Write and page Write. A byte Write operation writes a single byte during the nonvolatile write period (tWR). The page Write operation, limited to the memory array, allows up to 16 bytes in the same page to be written during tWR. Byte Write After the Slave address is sent (to identify the Slave device and select either a Read or Write operation), a second byte is transmitted which contains the low order 8 bit address of any one of the 512 words in the array. Upon receipt of the word address the SMS46 responds with an Acknowledge. After receiving the next byte of data it again responds with an Acknowledge. The Master then terminates the transfer by generating a Stop condition, at which time the SMS46 begins the internal Write cycle. While the internal Write cycle is in progress the SMS46 inputs are disabled and the device will not respond to any requests from the Master. Page Write (memory only) The SMS46 is capable of a 16-byte page Write operation. It is initiated in the same manner as the byte Write operation, but instead of terminating the Write cycle after the first data word the Master can transmit up to 15 more bytes of data. After the receipt of each byte the SMS46 will respond with an Acknowledge. The SMS46 automatically increments the address for subsequent data words. After the receipt of each word the low order address bits are internally incremented by one. 2083 1.1 06/04/04 SUMMIT MICROELECTRONICS, Inc. SMS46 Preliminary Information I2C INTERFACE (CONTINUED) The high order bits of the address byte remain constant. Should the Master transmit more than 16 bytes, prior to generating the Stop condition, the address counter will rollover and the previously written data will be overwrit- Master S T A R Device Type Bus T Address Address 1 0 1 0 SDA Master S T A R T B B R A A A / 2 1 8 W S T A R T SDA 1 00 1 A A A A A A A A 7 6 5 4 3 2 1 0 R B B A A X / W 2 1 N A S C T K O P 1 01 1 B B A R A A / 2 1 8 W S T O P Slave D D D D D D D D 7 6 5 4 3 2 1 0 C C C C C C C C 7 6 5 4 3 2 1 0 A C K B B R A A X / 2 1 W A C K S T A A C R K T Reading the Configuration Register 1 00 1 D D D D D D D D 7 6 5 4 3 2 1 0 A C K A C K S T A R T Up to 15 additional bytes can be written before issuing the stop. S T A A C R K T Writing Configuration Registers Slave SDA A C K A C K Slave Master A C K Typical Reading Operation (Alternate memory device type) 1 01 1 S T O P D D D D D D D D 7 6 5 4 3 2 1 0 A A A A A A A A 7 6 5 4 3 2 1 0 A C K SDA Master Typical Write Operation (Standard memory device type) R B B A A A / 2 1 8 W Slave ten. As with the byte Write operation, all inputs are disabled during the internal Write cycle. Refer to Figure 11 for the address, Acknowledge, and data transfer sequence. C C C C C C C C 7 6 5 4 3 2 1 0 N A S C T K O P 1 00 1 B B R A A X / 2 1 W D D D D D D D D 7 6 5 4 3 2 1 0 A C K A C K 2047 Fig11 Figure 9 - Read and Write Operations SUMMIT MICROELECTRONICS, Inc. 2083 1.1 06/04/04 13 SMS46 Preliminary Information I2C INTERFACE (CONTINUED) Acknowledge Polling When the SMS46 is performing an internal Write operation it will ignore any new Start conditions. Since the device will only return an acknowledge after it accepts the Start the part can be continuously queried until an acknowledge is issued, indicating that the internal Write cycle is complete. See the flow chart for the proper sequence of operations for polling. Write Cycle In Progress Issue Start Random Address Read (Register and Memory) Random address Read operations allow the Master to access any memory location in a random fashion. This operation involves a two-step process. First, the Master issues a write command which includes the start condition and the Slave address field (with the R/W bit set to Write), followed by the address of the word it is to Read. This procedure sets the internal address counter of the SMS46 to the desired address. After the word address acknowledge is received by the Master it immediately reissues a Start condition, followed by another Slave address field with the R/W bit set to READ. The SMS46 will respond with an Acknowledge and then transmit the 8 data bits stored at the addressed location. At this point the Master sets the SDA line to NACK and generates a Stop condition. The SMS46 discontinues data transmission and reverts to its standby power mode. Issue Stop Issue Slave Address and R/W = 0 ACK Returned No Yes Next Operation a Write? No Yes Issue Address Proceed With Write Issue Stop Await Next Command 2047 Fig12 Figure 10 - Write Flow Chart READ OPERATIONS Read operations are initiated with the R/W bit of the identification field set to 1. There are two different Read options: 1. Current Address Byte Read, and 2. Random Address Byte Read. 14 Current Address Read (memory only) The SMS46 contains an internal address counter which maintains the address of the last word accessed, incremented by one. If the last address accessed (either a Read or Write) was to address location n, the next Read operation would access data from address location n+1 and increment the current address pointer. When the SMS46 receives the Slave address field with the R/W bit set to 1 it issues an acknowledge and transmits the 8-Bit word stored at address location n+1. The current address byte Read operation only accesses a single byte of data. The Master sets the SDA line to NACK and generates a stop condition. At this point the SMS46 discontinues data transmission. Sequential READ (Memory Only) Sequential Reads can be initiated as either a current address Read or random access Read. The first word is transmitted as with the other byte Read modes (current address byte Read or random address byte Read); however, the Master now responds with an Acknowledge, indicating that it requires additional data from the SMS46. The SMS46 continues to output data for each Acknowledge received. The Master terminates the sequential Read operation by responding with a NACK, and issues a Stop condition. During a sequential Read operation the internal address counter is automatically incremented with each Acknowledge signal. For Read operations all address bits are incremented, allowing the entire array to be read using a single Read command. After a count of the last memory address the address counter will rollover and the memory will continue to output data. 2083 1.1 06/04/04 SUMMIT MICROELECTRONICS, Inc. SMS46 Preliminary Information APPLICATIONS V0 V1 V2 V3 1 16 2 3 14 12 D1 2 1 4 3 5 J1 6 8 7 10 9 10 9 6 7 MR# RESET#0 RESET#1 V0 RESET#2 V1 RESET#3 V2 V3 SMS46 11 4 5 13 VDD_CAP SCL SDA WLDI A1 A2 GND C1 15 8 2047 Fig13 Figure 11 - Application Schematic NOTES: 1. C1 is a 0.1µF. 2. Connector J1 is an SMX3200 (see Figure 6). 3. D1 is a 1N4148 SUMMIT MICROELECTRONICS, Inc. 2083 1.1 06/04/04 15 SMS46 Preliminary Information DEFAULT CONFIGURATION REGISTER SETTINGS - SMS46GC-238 R eg ister C o n ten ts F u n ctio n R 00 56 V 0 thresho ld set to 3 .09 0V R 01 28 V 1 thresho ld set to 2 .40 0V R 02 A0 V 2 thresho ld set to 1 .40 0V R 03 14 V 3 thresho ld set to 0 .70 0V R 04 F3 R eset T rigger source set for all ch an nels, V 0, V 1 set to hig h ran ge and V 2, V 3 set to lo w ra nge R 05 X0 U pper b its are vola tile statu s ind ication of input supp ly conditio n. V 0, V 1, V 2 and V 3 set to m onitor U V U nder V oltag e. R 06 C5 R eset tim eout set to 100m s, W atchdog T im er set to 1.6s. B its D 4 and D 3 ind icate revisio n contro l. R 07 40 E E m em ory s la ve address is 1011, C onfig uration registers are un lock ed. The default device ordering number is SMS46GC-238, is programmed as described above and tested over the commercial temperature range. PACKAGE 16 PIN SSOP PACKAGE 0.189 - 0.197 (4.80 - 5.00) Ref. JEDEC MO-137 0.228 - 0.244 (5.79 - 6.20) Pin 1 Inches (Millimeters) 0.150 - 0.157 (3.81 - 3.99) 0.053 - 0.069 (1.35 - 1.75) 0.059 MAX (1.50) 0.007 - 0.010 (0.18 - 0.25) 0” Min to 8” Max 0.016 - 0.050 (0.41 - 1.27) 16 2083 1.1 06/04/04 0.025 0.008 - 0.012 (0.635) (0.20 - 0.31) 0.004 - 0.010 (0.10 - 0.25) 16 Pin SSOP SUMMIT MICROELECTRONICS, Inc. SMS46 Preliminary Information PART MARKING SUMMIT SMS46G Summit Part Number Status Tracking Code (Blank, MS, ES, 01, 02,...) (Summit Use) xx Annn AYYWW Pin 1 Identifier Date Code (YYWW) Lot tracking code (Summit use) Part Number suffix (Contains Customer specific ordering requirements) Drawing not to scale Product Tracking Code (Summit use) ORDERING INFORMATION SM S46 G S u m m it P a r t Num ber Package G =16 Lead SSO P C nnn P a r t N u m b e r S u ffix (s e e p a g e 1 7 ) S p e c if ic r e q u ir e m e n t s a r e c o n t a in e d in t h e s u f f ix s u c h a s H e x c o d e , H e x c o d e r e v is io n , e t c . Tem p Range C = C o m m e r c ia l B la n k = I n d u s t r ia l NOTICE NOTE 1 - This is a Preliminary Information data sheet that describes a Summit product currently in pre-production with limited characterization. SUMMIT Microelectronics, Inc. reserves the right to make changes to the products contained in this publication in order to improve design, performance or reliability. SUMMIT Microelectronics, Inc. assumes no responsibility for the use of any circuits described herein, conveys no license under any patent or other right, and makes no representation that the circuits are free of patent infringement. Charts and schedules contained herein reflect representative operating parameters, and may vary depending upon a user’s specific application. While the information in this publication has been carefully checked, SUMMIT Microelectronics, Inc. shall not be liable for any damages arising as a result of any error or omission. SUMMIT Microelectronics, Inc. does not recommend the use of any of its products in life support or aviation applications where the failure or malfunction of the product can reasonably be expected to cause any failure of either system or to significantly affect their safety or effectiveness. Products are not authorized for use in such applications unless SUMMIT Microelectronics, Inc. receives written assurances, to its satisfaction, that: (a) the risk of injury or damage has been minimized; (b) the user assumes all such risks; and (c) potential liability of SUMMIT Microelectronics, Inc. is adequately protected under the circumstances. Revision 1.1 - This document supersedes all previous versions. Please check the Summit Microelectronics, Inc. web site at www.summitmicro.com for data sheet updates. © Copyright 2004 SUMMIT MICROELECTRONICS, Inc. PROGRAMMABLE ANALOG FOR A DIGITAL WORLD™ I2C is a trademark of Philips Corporation. SUMMIT MICROELECTRONICS, Inc. 2083 1.1 06/04/04 17