UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com 16-Rail Power Supply Sequencer and Monitor with ACPI Support Check for Samples: UCD90160 FEATURES DESCRIPTION • The UCD90160 is a 16-rail PMBus/I2C addressable power-supply sequencer and monitor. The device integrates a 12-bit ADC for monitoring up to 16 power-supply voltage inputs. Twenty-six GPIO pins can be used for power supply enables, power-on reset signals, external interrupts, cascading, or other system functions. Twelve of these pins offer PWM functionality. Using these pins, the UCD90160 offers support for margining, and general-purpose PWM functions. 2 • • • • • • • Monitor and Sequence 16 Voltage Rails – All Rails Sampled Every 400 μs – 12-bit ADC With 2.5-V, 0.5% Internal VREF – Sequence Based on Time, Rail and Pin Dependencies – Four Programmable Undervoltage and Overvoltage Thresholds per Monitor Nonvolatile Error and Peak-Value Logging per Monitor (up to 12 Fault Detail Entries) Closed-Loop Margining for 10 Rails – Margin Output Adjusts Rail Voltage to Match User-Defined Margin Thresholds Programmable Watchdog Timer and System Reset Pin Selected Rail States for ACPI Support Flexible Digital I/O Configuration Multiphase PWM Clock Generator – Clock Frequencies From 15.259 kHz to 125 MHz – Capability to Configure Independent Clock Outputs for Synchronizing Switch-Mode Power Supplies JTAG and I2C/SMBus/ PMBus™ Interfaces Specific power states can be achieved using the Pin-Selected Rail States feature. This feature allows with the use of up to 3 GPIs to enable and disable any rail. This is useful for implementing system low-power modes and the Advanced Configuration and Power Interface (ACPI) specification that is used for hardware devices. The TI Fusion Digital Power™ designer software is provided for device configuration. This PC-based graphical user interface (GUI) offers an intuitive interface for configuring, storing, and monitoring all system operating parameters. 12V OUT 12V 3.3V Supply V33A V33D 1 12V OUT GPIO VIN VMON APPLICATIONS • • • • Industrial / ATE Telecommunications and Networking Equipment Servers and Storage Systems Any System Requiring Sequencing and Monitoring of Multiple Power Rails /EN GPIO 3.3V OUT VMON 1.8V OUT VMON 0.8V OUT VMON 3.3V OUT VOUT DC-DC 1 VFB VIN VMON /EN GPIO VMON VOUT 1.8V OUT LDO1 VMON VMON VIN UCD90160 WDI from main processor GPIO WDO GPIO POWER_GOOD GPIO WARN_OV_0.8V_ OR_12V GPIO SYSTEM RESET GPIO OTHER SEQUENCER DONE (CASCADE INPUT) GPIO /EN GPIO VOUT 0.8V OUT DC-DC 2 VFB PWM 2MHz Vmarg Closed Loop Margining I2C/ PMBUS JTAG 1 2 Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of Texas Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet. PMBus, Fusion Digital Power are trademarks of Texas Instruments. PRODUCTION DATA information is current as of publication date. Products conform to specifications per the terms of the Texas Instruments standard warranty. Production processing does not necessarily include testing of all parameters. Copyright © 2010–2011, Texas Instruments Incorporated UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com This integrated circuit can be damaged by ESD. Texas Instruments recommends that all integrated circuits be handled with appropriate precautions. Failure to observe proper handling and installation procedures can cause damage. ESD damage can range from subtle performance degradation to complete device failure. Precision integrated circuits may be more susceptible to damage because very small parametric changes could cause the device not to meet its published specifications. FUNCTIONAL BLOCK DIAGRAM JTAG Or GPIO Comparators I2C/PMBus General Purpose I/O (GPIO) Rail Enables (16 max) 6 Digital Outputs (16 max) Monitor Inputs Digital Inputs (8 max) 16 12-bit 200ksps, ADC (0.5% Int. Ref) 22 SEQUENCING ENGINE Multi-phase PWM (8 max) FLASH Memory User Data, Fault and Peak Logging BOOLEAN Logic Builder Margining Outputs (10 max) 64-pin QFN ORDERING INFORMATION For the most current package and ordering information, see the Package Option Addendum at the end of this document, or see the TI Web site at www.ti.com. ABSOLUTE MAXIMUM RATINGS (1) Voltage applied at V33D to DVSS Voltage applied at V33A to AVSS (2) (2) 2 V –0.3 to 3.8 V V –40 to 150 °C Human-body model (HBM) 2.5 kV Charged-device model (CDM) 750 V Storage temperature (Tstg) (1) UNIT –0.3 to (V33A + 0.3) Voltage applied to any other pin ESD rating VALUE –0.3 to 3.8 Stresses beyond those listed under 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 beyond those indicated under Recommended Operating Conditions is not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability. All voltages referenced to VSS Copyright © 2010–2011, Texas Instruments Incorporated UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com THERMAL INFORMATION UCD90160 THERMAL METRIC (1) RGC UNITS 64 PINS Junction-to-ambient thermal resistance (2) θJA 26.4 (3) θJC(top) Junction-to-case(top) thermal resistance θJB Junction-to-board thermal resistance ψJT Junction-to-top characterization parameter ψJB Junction-to-board characterization parameter θJC(bottom) (1) (2) (3) (4) (5) (6) (7) 21.2 (4) 1.7 (5) Junction-to-case(bottom) thermal resistance °C/W 0.7 (6) 8.8 (7) 1.7 For more information about traditional and new thermal metrics, see the IC Package Thermal Metrics application report, SPRA953. The junction-to-ambient thermal resistance under natural convection is obtained in a simulation on a JEDEC-standard, high-K board, as specified in JESD51-7, in an environment described in JESD51-2a. The junction-to-case (top) thermal resistance is obtained by simulating a cold plate test on the package top. No specific JEDEC-standard test exists, but a close description can be found in the ANSI SEMI standard G30-88. The junction-to-board thermal resistance is obtained by simulating in an environment with a ring cold plate fixture to control the PCB temperature, as described in JESD51-8. The junction-to-top characterization parameter, ψJT, estimates the junction temperature of a device in a real system and is extracted from the simulation data for obtaining θJA, using a procedure described in JESD51-2a (sections 6 and 7). The junction-to-board characterization parameter, ψJB, estimates the junction temperature of a device in a real system and is extracted from the simulation data for obtaining θJA , using a procedure described in JESD51-2a (sections 6 and 7). The junction-to-case (bottom) thermal resistance is obtained by simulating a cold plate test on the exposed (power) pad. No specific JEDEC standard test exists, but a close description can be found in the ANSI SEMI standard G30-88. RECOMMENDED OPERATING CONDITIONS Supply voltage during operation (V33D, V33DIO, V33A) Operating free-air temperature range, TA Junction temperature, TJ Copyright © 2010–2011, Texas Instruments Incorporated MIN NOM MAX 3 3.3 3.6 V 110 °C 125 °C –40 UNIT 3 UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com ELECTRICAL CHARACTERISTICS over operating free-air temperature range (unless otherwise noted) PARAMETER TEST CONDITIONS MIN NOM MAX UNIT SUPPLY CURRENT IV33A VV33A = 3.3 V 8 mA IV33DIO VV33DIO = 3.3 V 2 mA VV33D = 3.3 V 40 mA VV33D = 3.3 V, storing configuration parameters in flash memory 50 mA IV33D Supply current (1) IV33D ANALOG INPUTS (MON1–MON16) VMON Input voltage range MON1–MON13 MON14–MON16 0 2.5 0.2 2.5 V V INL ADC integral nonlinearity –4 4 LSB DNL ADC differential nonlinearity -2 2 LSB Ilkg Input leakage current 3 V applied to pin IOFFSET Input offset current 1-kΩ source impedance RIN Input impedance CIN Input capacitance tCONVERT ADC sample period 16 voltages sampled, 3.89 μsec/sample VREF ADC 2.5 V, internal reference accuracy 0°C to 125°C –5 MON1–MON13, ground reference 100 nA 5 μA 8 MON14–MON16, ground reference 0.5 MΩ 1.5 3 10 –40°C to 125°C MΩ pF μsec 400 –0.5 0.5 % –1 1 % 9 11 μA ANALOG INPUT (PMBUS_ADDRx) IBIAS Bias current for PMBus Addr pins VADDR_OPEN Voltage – open pin PMBUS_ADDR0, PMBUS_ADDR1 open VADDR_SHORT Voltage – shorted pin PMBUS_ADDR0, PMBUS_ADDR1 short to ground 2.26 V 0.124 V Dgnd + 0.25 V DIGITAL INPUTS AND OUTPUTS VOL Low-level output voltage IOL = 6 mA (2), V33DIO = 3 V VOH High-level output voltage IOH = –6 mA (3), V33DIO = 3 V VIH High-level input voltage V33DIO = 3 V VIL Low-level input voltage V33DIO = 3.5 V V33DIO – 0.6 V 2.1 3.6 V 1.4 V MARGINING OUTPUTS TPWM_FREQ MARGINING-PWM frequency DUTYPWM MARGINING-PWM duty cycle range FPWM1-8 PWM3-4 15.260 125000 0.001 7800 0 100 kHz % SYSTEM PERFORMANCE VDDSlew Minimum VDD slew rate VDD slew rate between 2.3 V and 2.9 V VRESET Supply voltage at which device comes out of reset For power-on reset (POR) tRESET Low-pulse duration needed at RESET pin To reset device during normal operation f(PCLK) Internal oscillator frequency TA = 125°C, TA = 25°C 240 tretention Retention of configuration parameters TJ = 25°C 100 Years Write_Cycles Number of nonvolatile erase/write cycles TJ = 25°C 20 K cycles (1) (2) (3) 4 0.25 V/ms 2.4 V μS 2 250 260 MHz Typical supply current values are based on device programmed but not configured, and no peripherals connected to any pins. The maximum total current, IOLmax, for all outputs combined, should not exceed 12 mA to hold the maximum voltage drop specified. The maximum total current, IOHmax, for all outputs combined, should not exceed 48 mA to hold the maximum voltage drop specified. Copyright © 2010–2011, Texas Instruments Incorporated UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com PMBus/SMBus/I2C The timing characteristics and timing diagram for the communications interface that supports I2C, SMBus and PMBus is shown below. I2C/SMBus/PMBus TIMING REQUIREMENTS TA = –40°C to 85°C, 3 V < VDD < 3.6 V; typical values at TA = 25°C and VCC = 2.5 V (unless otherwise noted) PARAMETER TEST CONDITIONS MIN FSMB SMBus/PMBus operating frequency Slave mode, SMBC 50% duty cycle FI2C I2C operating frequency Slave mode, SCL 50% duty cycle t(BUF) Bus free time between start and stop t(HD:STA) TYP MAX UNIT 10 400 kHz 10 400 kHz 4.7 μs Hold time after (repeated) start 0.26 μs t(SU:STA) Repeated-start setup time 0.26 μs t(SU:STO) Stop setup time 0.26 μs t(HD:DAT) Data hold time 0 ns t(SU:DAT) Data setup time t(TIMEOUT) Error signal/detect t(LOW) Clock low period Receive mode 50 ns See (1) 35 ms μs 0.5 t(HIGH) Clock high period See (2) 50 μs t(LOW:SEXT) Cumulative clock low slave extend time See (3) 25 ms tf Clock/data fall time See (4) 120 ns tr Clock/data rise time See (5) 120 ns (1) (2) (3) (4) (5) 0.26 The device times out when any clock low exceeds t(TIMEOUT). t(HIGH), Max, is the minimum bus idle time. SMBC = SMBD = 1 for t > 50 ms causes reset of any transaction that is in progress. This specification is valid when the NC_SMB control bit remains in the default cleared state (CLK[0] = 0). t(LOW:SEXT) is the cumulative time a slave device is allowed to extend the clock cycles in one message from initial start to the stop. Fall time tf = 0.9 VDD to (VILMAX – 0.15) Rise time tr = (VILMAX – 0.15) to (VIHMIN + 0.15) Figure 1. I2C/SMBus Timing Diagram Start Stop TLOW:SEXT TLOW:MEXT TLOW:MEXT TLOW:MEXT PMB_Clk Clk ACK Clk ACK PMB_Data Figure 2. Bus Timing in Extended Mode Copyright © 2010–2011, Texas Instruments Incorporated 5 UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com DEVICE INFORMATION Figure 3. UCD90160 PIN ASSIGNMENT MON10 59 MON11 62 MON12 UCD90160 MON16 NC2 MON15 NC1 MON14 AVSS1 53 52 51 50 49 GPIO3 MON9 58 MON7 GPIO2 57 54 11 MON7 MON8 MON8 GPIO1 55 56 55 40 MON9 TRST 56 MON6 MON10 39 6 57 TMS/GPIO22 58 TDI/GPIO21 MON5 PMBUS_ADDR1 MON4 5 MON11 38 4 59 37 PMBUS_ADDR0 TDO/GPIO20 60 MON3 MON12 36 3 61 10 MON13 TCK/GPIO19 62 TRCK MON2 AVSS3 MON1 2 63 1 64 V33A BPCAP V33D V33DIO1 V33DIO2 7 44 45 46 47 MON1 1 48 AVSS2 MON2 2 47 BPCAP 12 MON3 3 46 V33A 13 MON4 4 45 V33D GPIO4 14 MON5 5 44 V33DIO2 GPIO13 25 MON6 6 43 DVSS3 V33DIO1 7 42 PWM3/GPI3 63 MON13 GPIO14 29 50 MON14 GPIO15 30 DVSS1 8 RESET 9 UCD90160 41 PWM4/GPI4 40 TRST PMBUS_ADDR1 41 PWM4/GPI4 51 NC1 53 NC2 FPWM4/GPIO8 20 FPWM5/GPIO9 21 FPWM6/GPIO10 22 FPWM7/GPIO11 23 FPWM8/GPIO12 24 RESET 9 AVSS3 PWM3/GPI3 AVSS1 42 AVSS2 PWM2/GPI2 DVSS3 32 DVSS2 PWM1/GPI1 DVSS1 31 19 32 60 FPWM3/GPIO7 PWM2/GPI2 PMBUS_ADDR0 31 GPIO16 61 PWM1/GPI1 33 30 16 18 GPIO15 28 PMBUS_DATA FPWM2/GPIO6 29 GPIO17 PMBUS_CNTRL GPIO14 34 28 15 17 PMBUS_CNTRL PMBUS_CLK FPWM1/GPIO5 27 PMBUS_ALERT PMBUS_ALERT GPIO18 27 26 35 DVSS2 14 25 GPIO4 GPIO13 PMBUS_DATA 24 TCK/GPIO19 16 23 TDO/GPIO20 36 FPWM7/GPIO11 37 13 FPWM8/GPIO12 12 GPIO3 22 GPIO2 FPWM6/GPIO10 35 PMBUS_CLK 21 GPIO18 15 FPWM5/GPIO9 TDI/GPIO21 20 TMS/GPIO22 38 FWPM4/GPIO8 39 11 19 10 GPIO1 FPWM3/GPIO7 TRCK 34 18 33 GPIO17 17 GPIO16 MON16 FPWM2/GPIO6 MON15 54 FPWM1/GPIO5 52 8 26 43 48 49 64 Table 1. PIN FUNCTIONS PIN NAME PIN NO. I/O TYPE DESCRIPTION ANALOG MONITOR INPUTS MON1 1 I Analog input (0 V–2.5 V) MON2 2 I Analog input (0 V–2.5 V) MON3 3 I Analog input (0 V–2.5 V) MON4 4 I Analog input (0 V–2.5 V) MON5 5 I Analog input (0 V–2.5 V) MON6 6 I Analog input (0 V–2.5 V) MON7 55 I Analog input (0 V–2.5 V) MON8 56 I Analog input (0 V–2.5 V) 6 Copyright © 2010–2011, Texas Instruments Incorporated UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com Table 1. PIN FUNCTIONS (continued) PIN NAME PIN NO. I/O TYPE MON9 57 I DESCRIPTION Analog input (0 V–2.5 V) MON10 58 I Analog input (0 V–2.5 V) MON11 59 I Analog input (0 V–2.5 V) MON12 62 I Analog input (0 V–2.5 V) MON13 63 I Analog input (0 V–2.5 V) MON14 50 I Analog input (0.2 V–2.5 V) MON15 52 I Analog input (0.2 V–2.5 V) MON16 54 I Analog input (0.2 V–2.5 V) GPIO1 11 I/O General-purpose discrete I/O GPIO2 12 I/O General-purpose discrete I/O GPIO3 13 I/O General-purpose discrete I/O GPIO4 14 I/O General-purpose discrete I/O GPIO13 25 I/O General-purpose discrete I/O GPIO14 29 I/O General-purpose discrete I/O GPIO15 30 I/O General-purpose discrete I/O GPIO16 33 I/O General-purpose discrete I/O GPIO17 34 I/O General-purpose discrete I/O GPIO18 35 I/O General-purpose discrete I/O FPWM1/GPIO5 17 I/O/PWM PWM (15.259 kHz to 125 MHz) or GPIO FPWM2/GPIO6 18 I/O/PWM PWM (15.259 kHz to 125 MHz) or GPIO FPWM3/GPIO7 19 I/O/PWM PWM (15.259 kHz to 125 MHz) or GPIO FPWM4/GPIO8 20 I/O/PWM PWM (15.259 kHz to 125 MHz) or GPIO FPWM5/GPIO9 21 I/O/PWM PWM (15.259 kHz to 125 MHz) or GPIO FPWM6/GPIO10 22 I/O/PWM PWM (15.259 kHz to 125 MHz) or GPIO FPWM7/GPIO11 23 I/O/PWM PWM (15.259 kHz to 125 MHz) or GPIO FPWM8/GPIO12 24 I/O/PWM PWM (15.259 kHz to 125 MHz) or GPIO PWM1/GPI1 31 I/PWM Fixed 10-kHz PWM output or GPI PWM2/GPI2 32 I/PWM Fixed 1-kHz PWM output or GPI PWM3/GPI3 42 I/PWM PWM (0.93 Hz to 7.8125 MHz) or GPI PWM4/GPI4 41 I/PWM PWM (0.93 Hz to 7.8125 MHz) or GPI GPIO PWM OUTPUTS PMBus COMM INTERFACE PMBUS_CLK 15 I/O PMBus clock (must have pullup to 3.3 V) PMBUS_DATA 16 I/O PMBus data (must have pullup to 3.3 V) PMBALERT# 27 O PMBus alert, active-low, open-drain output (must have pullup to 3.3 V) PMBUS_CNTRL 28 I PMBus control PMBUS_ADDR0 61 I PMBus analog address input. Least-significant address bit PMBUS_ADDR1 60 I PMBus analog address input. Most-significant address bit TRCK 10 O Test return clock TCK/GPIO19 36 I/O Test clock or GPIO TDO/GPIO20 37 I/O Test data out or GPIO TDI/GPIO21 38 I/O Test data in (tie to Vdd with 10-kΩ resistor) or GPIO TMS/GPIO22 39 I/O Test mode select (tie to Vdd with 10-kΩ resistor) or GPIO TRST 40 I JTAG Copyright © 2010–2011, Texas Instruments Incorporated Test reset – tie to ground with 10-kΩ resistor 7 UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com Table 1. PIN FUNCTIONS (continued) PIN NAME PIN NO. I/O TYPE DESCRIPTION INPUT POWER AND GROUNDS RESET 9 Active-low device reset input. Hold low for at least 2 μs to reset the device. Refer to the Device Reset section. V33A 46 Analog 3.3-V supply. Refer to the Layout Guidelines section. V33D 45 Digital core 3.3-V supply. Refer to the Layout Guidelines section. V33DIO1 7 Digital I/O 3.3-V supply. Refer to the Layout Guidelines section. V33DIO2 44 Digital I/O 3.3-V supply. Refer to the Layout Guidelines section. BPCap 47 1.8-V bypass capacitor. Refer to the Layout Guidelines section. AVSS1 49 Analog ground AVSS2 48 Analog ground AVSS3 64 Analog ground DVSS1 8 Digital ground DVSS2 26 Digital ground DVSS3 43 Digital ground QFP ground pad NA Thermal pad – tie to ground plane. FUNCTIONAL DESCRIPTION TI FUSION GUI The Texas Instruments Fusion Digital Power Designer is provided for device configuration. This PC-based graphical user interface (GUI) offers an intuitive I2C/PMBus interface to the device. It allows the design engineer to configure the system operating parameters for the application without directly using PMBus commands, store the configuration to on-chip nonvolatile memory, and observe system status (voltage, etc). Fusion Digital Power Designer is referenced throughout the data sheet as Fusion GUI and many sections include screen shots. The Fusion GUI can be downloaded from www.ti.com. PMBUS INTERFACE The PMBus is a serial interface specifically designed to support power management. It is based on the SMBus interface that is built on the I2C physical specification. The UCD90160 supports revision 1.1 of the PMBus standard. Wherever possible, standard PMBus commands are used to support the function of the device. For unique features of the UCD90160, MFR_SPECIFIC commands are defined to configure or activate those features. These commands are defined in the UCD90xxx Sequencer and System Health Controller PMBUS Command Reference (SLVU352). The most current UCD90xxx PMBus Command Reference can be found within the TI Fusion Digital Power Designer software via the Help Menu (Help, Documentation & Help Center, Sequencers tab, Documentation section). This document makes frequent mention of the PMBus specification. Specifically, this document is PMBus Power System Management Protocol Specification Part II – Command Language, Revision 1.1, dated 5 February 2007. The specification is published by the Power Management Bus Implementers Forum and is available from www.pmbus.org. The UCD90160 is PMBus compliant, in accordance with the Compliance section of the PMBus specification. The firmware is also compliant with the SMBus 1.1 specification, including support for the SMBus ALERT function. The hardware can support either 100-kHz or 400-kHz PMBus operation. THEORY OF OPERATION Modern electronic systems often use numerous microcontrollers, DSPs, FPGAs, and ASICs. Each device can have multiple supply voltages to power the core processor, analog-to-digital converter or I/O. These devices are typically sensitive to the order and timing of how the voltages are sequenced on and off. The UCD90160 can sequence supply voltages to prevent malfunctions, intermittent operation, or device damage caused by improper power up or power down. Appropriate handling of under- and overvoltage faults can extend system life and improve long term reliability. The UCD90160 stores power supply faults to on-chip nonvolatile flash memory for aid in system failure analysis. 8 Copyright © 2010–2011, Texas Instruments Incorporated UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com System reliability can be improved through four-corner testing during system verification. During four-corner testing, the system is operated at the minimum and maximum expected ambient temperature and with each power supply set to the minimum and maximum output voltage, commonly referred to as margining. The UCD90160 can be used to implement accurate closed-loop margining of up to 10 power supplies. The UCD90160 16-rail sequencer can be used in a PMBus- or pin-based control environment. The TI Fusion GUI provides a powerful but simple interface for configuring sequencing solutions for systems with between one and 16 power supplies using 16 analog voltage-monitor inputs, four GPIs and 22 highly configurable GPIOs. A rail includes voltage, a power-supply enable and a margining output. At least one must be included in a rail definition. Once the user has defined how the power-supply rails should operate in a particular system, analog input pins and GPIOs can be selected to monitor and enable each supply (Figure 4). Figure 4. Fusion GUI Pin-Assignment Tab After the pins have been configured, other key monitoring and sequencing criteria are selected for each rail from the Vout Config tab (Figure 5): • Nominal operating voltage (Vout) • Undervoltage (UV) and overvoltage (OV) warning and fault limits • Margin-low and margin-high values • Power-good on and power-good off limits • PMBus or pin-based sequencing control (On/Off Config) • Rails and GPIs for Sequence On dependencies • Rails and GPIs for Sequence Off dependencies • Turn-on and turn-off delay timing Copyright © 2010–2011, Texas Instruments Incorporated 9 UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 • • www.ti.com Maximum time allowed for a rail to reach POWER_GOOD_ON or POWER_GOOD_OFF after being enabled or disabled Other rails to turn off in case of a fault on a rail (fault-shutdown slaves) Figure 5. Fusion GUI VOUT-Config Tab The Synchronize margins/limits/PG to Vout checkbox is an easy way to change the nominal operating voltage of a rail and also update all of the other limits associated with that rail according to the percentages shown to the right of each entry. The plot in the upper left section of Figure 5 shows a simulation of the overall sequence-on and sequence-off configuration, including the nominal voltage, the turnon and turnoff delay times, the power-good on and power-good off voltages and any timing dependencies between the rails. After a rail voltage has reached its POWER_GOOD_ON voltage and is considered to be in regulation, it is compared against two UV and two OV thresholds in order to determine if a warning or fault limit has been exceeded. If a fault is detected, the UCD90160 responds based on a variety of flexible, user-configured options. Faults can cause rails to restart, shut down immediately, sequence off using turnoff delay times or shut down a group of rails and sequence them back on. Different types of faults can result in different responses. Fault responses, along with a number of other parameters including user-specific manufacturing information and external scaling and offset values, are selected in the different tabs within the Configure function of the Fusion GUI. Once the configuration satisfies the user requirements, it can be written to device SRAM if Fusion GUI is connected to a UCD90160 using an I2C/PMBus. SRAM contents can then be stored to data flash memory so that the configuration remains in the device after a reset or power cycle. The Fusion GUI Monitor page has a number of options, including a device dashboard and a system dashboard, for viewing and controlling device and system status. 10 Copyright © 2010–2011, Texas Instruments Incorporated UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com Figure 6. Fusion GUI Monitor Page The UCD90160 also has status registers for each rail and the capability to log faults to flash memory for use in system troubleshooting. This is helpful in the event of a power-supply or system failure. The status registers (Figure 7) and the fault log (Figure 8) are available in the Fusion GUI. See the UCD90xxx Sequencer and System Health Controller PMBus Command Reference (SLVU352) and the PMBus Specification for detailed descriptions of each status register and supported PMBus commands. Copyright © 2010–2011, Texas Instruments Incorporated 11 UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com Figure 7. Fusion GUI Rail-Status Register 12 Copyright © 2010–2011, Texas Instruments Incorporated UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com Figure 8. Fusion GUI Flash-Error Log (Logged Faults) POWER-SUPPLY SEQUENCING The UCD90160 can control the turn-on and turn-off sequencing of up to 16 voltage rails by using a GPIO to set a power-supply enable pin high or low. In PMBus-based designs, the system PMBus master can initiate a sequence-on event by asserting the PMBUS_CNTRL pin or by sending the OPERATION command over the I2C serial bus. In pin-based designs, the PMBUS_CNTRL pin can also be used to sequence-on and sequence-off. The auto-enable setting ignores the OPERATION command and the PMBUS_CNTRL pin. Sequence-on is started at power up after any dependencies and time delays are met for each rail. A rail is considered to be on or within regulation when the measured voltage for that rail crosses the power-good on (POWER_GOOD_ON (1)) limit. The rail is still in regulation until the voltage drops below power-good off (POWER_GOOD_OFF). In the case that there isn't voltage monitoring set for a given rail, that rail is considered ON if it is commanded on (either by OPERATION command, PMBUS CNTRL pin, or auto-enable) and (TON_DELAY + TON_MAX_FAULT_LIMIT) time passes. Also, a rail is considered OFF if that rail is commanded OFF and (TOFF_DELAY + TOFF_MAX_WARN_LIMIT) time passes (1) In this document, configuration parameters such as Power Good On are referred to using Fusion GUI names. The UCD90xxx Sequencer and System Health Controller PMBus Command Reference name is shown in parentheses (POWER_GOOD_ON) the first time the parameter appears. Copyright © 2010–2011, Texas Instruments Incorporated 13 UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com Turn-on Sequencing The following sequence-on options are supported for each rail: • Monitor only – do not sequence-on • Fixed delay time (TON_DELAY) after an OPERATION command to turn on • Fixed delay time after assertion of the PMBUS_CNTRL pin • Fixed time after one or a group of parent rails achieves regulation (POWER_GOOD_ON) • Fixed time after a designated GPI has reached a user-specified state • Any combination of the previous options The maximum TON_DELAY time is 3276 ms. Turn-off Sequencing The following sequence-off options are supported for each rail: • Monitor only – do not sequence-off • Fixed delay time (TOFF_DELAY) after an OPERATION command to turn off • Fixed delay time after deassertion of the PMBUS_CNTRL pin • Fixed time after one or a group of parent rails drop below regulation (POWER_GOOD_OFF) • Fixed delay time in response to an undervoltage, overvoltage, or max turn-on fault on the rail • Fixed delay time in response to a fault on a different rail when set as a fault shutdown slave to the faulted rail • Fixed delay time in response to a GPI reaching a user-specified state • Any combination of the previous options The maximum TOFF_DELAY time is 3276 ms. Rail 1 and Rail 2 are both sequenced “ON” and “OFF” by the PMBUS_CNTRL pin only Rail 2 has Rail 1 as an “ON” dependency Rail 1 has Rail 2 as an “OFF” dependency PMBUS_CNTRL PIN RAIL 1 EN TON_DELAY[1] POWER_GOOD_ON[1] RAIL 1 VOLTAGE RAIL 2 EN TON_DELAY[2] TOFF_DELAY[1] POWER_GOOD_OFF[1] TOFF_DELAY[2] RAIL 2 VOLTAGE TON_MAX_FAULT_LIMIT[2] TOFF_MAX_WARN_LIMIT[2] Figure 9. Sequence-on and Sequence-off Timing Sequencing Configuration Options In addition to the turn-on and turn-off sequencing options, the time between when a rail is enabled and when the monitored rail voltage must reach its power-good-on setting can be configured using max turn-on (TON_MAX_FAULT_LIMIT). Max turn-on can be set in 1-ms increments. A value of 0 ms means that there is no limit and the device can try to turn on the output voltage indefinitely. Rails can be configured to turn off immediately or to sequence-off according to rail and GPI dependencies, and user-defined delay times. A sequenced shutdown is configured by selecting the appropriate rail and GPI dependencies, and turn-off delay (TOFF_DELAY) times for each rail. The turn-off delay times begin when the PMBUS_CNTRL pin is deasserted, when the PMBus OPERATION command is used to give a soft-stop command, or when a fault occurs on a rail that has other rails set as fault-shutdown slaves. Shutdowns on one rail can initiate shutdowns of other rails or controllers. In systems with multiple UCD90160s, it is possible for each controller to be both a master and a slave to another controller. 14 Copyright © 2010–2011, Texas Instruments Incorporated UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com PIN SELECTED RAIL STATES This feature allows with the use of up to 3 GPIs to enable and disable any rail. This is useful for implementing system low-power modes and the Advanced Configuration and Power Interface (ACPI) specification that is used for operating system directed power management in servers and PCs. In up to 8 system states, the power system designer can define which rails are on and which rails are off. If a new state is presented on the input pins, and a rail is required to change state, it will do so with regard to its sequence-on or sequence-off dependencies. The OPERATION command is modified when this function causes a rail to change its state. This means that the ON_OFF_CONFIG for a given rail must be set to use the OPERATION command for this function to have any effect on the rail state. The first 3 pins configured with the GPI_CONFIG command are used to select 1 of 8 system states. Whenever the device is reset, these pins are sampled and the system state, if enabled, will be used to update each rail state. When selecting a new system state, changes to the status of the GPIs must not take longer than 1 microsecond. See the UCD90xxx Sequencer and System Health Controller PMBus Command Reference for complete configuration settings of PIN_SELECTED_RAIL_STATES. Table 2. GPI Selection of System States GPI 2 State GPI 1 State GPI 0 State System State NOT Asserted NOT Asserted NOT Asserted 0 NOT Asserted NOT Asserted Asserted 1 NOT Asserted Asserted NOT Asserted 2 NOT Asserted Asserted Asserted 3 Asserted NOT Asserted NOT Asserted 4 Asserted NOT Asserted Asserted 5 Asserted Asserted NOT Asserted 6 Asserted Asserted Asserted 7 VOLTAGE MONITORING Up to 16 voltages can be monitored using the analog input pins. The input voltage range is 0 V–2.5 V for MON pins 1-6, 55-59, 62, 63, and 63. Pins 50, 52, and 54 can measure down to 0.2 V. Any voltage between 0 V and 0.2 V on these pins is read as 0.2 V. External resistors can be used to attenuate voltages higher than 2.5 V. The ADC operates continuously, requiring 3.89 μs to convert a single analog input and 62.2 μs to convert all 16 of the analog inputs. Each rail is sampled by the sequencing and monitoring algorithm every 400 μs. The maximum source impedance of any sampled voltage should be less than 4 kΩ. The source impedance limit is particularly important when a resistor-divider network is used to lower the voltage applied to the analog input pins. MON1 - MON6 can be configured using digital hardware comparators, which can be used to achieve faster fault responses. Each hardware comparator has four thresholds (two UV (Fault and Warning) and two OV (Fault and Warning)). The hardware comparators respond to UV or OV conditions in about 80 μs (faster than 400 µs for the ADC inputs) and can be used to disable rails or assert GPOs. The only fault response available for the hardware comparators is to shut down immediately. An internal 2.5-V reference is used by the ADC. The ADC reference has a tolerance of ±0.5% between 0°C and 125°C and a tolerance of ±1% between –40°C and 125°C. An external voltage divider is required for monitoring voltages higher than 2.5 V. The nominal rail voltage and the external scale factor can be entered into the Fusion GUI and are used to report the actual voltage being monitored instead of the ADC input voltage. The nominal voltage is used to set the range and precision of the reported voltage according to Table 3. Copyright © 2010–2011, Texas Instruments Incorporated 15 UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com MON1 – MON6 MON1 MON2 . . . . MON16 Analog Inputs (16) M U X Fast Digital Comparators 12-bit SAR ADC 200ksps MON1 – MON16 Glitch Filter Internal 2.5Vref 0.5% Figure 10. Voltage Monitoring Block Diagram Table 3. Voltage Range and Resolution VOLTAGE RANGE (Volts) RESOLUTION (millivolts) 0 to 127.99609 3.90625 0 to 63.99805 1.95313 0 to 31.99902 0.97656 0 to 15.99951 0.48824 0 to 7.99976 0.24414 0 to 3.99988 0.12207 0 to 1.99994 0.06104 0 to 0.99997 0.03052 Although the monitor results can be reported with a resolution of about 15 μV, the real conversion resolution of 610 μV is fixed by the 2.5-V reference and the 12-bit ADC. FAULT RESPONSES AND ALERT PROCESSING Device monitors that the rail stays within a window of normal operation. There are two programmable warning levels (under and over) and two programmable fault levels (under and over). When any monitored voltage goes outside of the warning or fault window, the PMBALERT# pin is asserted immediately, and the appropriate bits are set in the PMBus status registers (see Figure 7). Detailed descriptions of the status registers are provided in the UCD90xxx Sequencer and System Health Controller PMBus Command Reference and the PMBus Specification. A programmable glitch filter can be enabled or disabled for each MON input. A glitch filter for an input defined as a voltage can be set between 0 and 102 ms with 400-μs resolution. Fault-response decisions are based on results from the 12-bit ADC. The device cycles through the ADC results and compares them against the programmed limits. The time to respond to an individual event is determined by when the event occurs within the ADC conversion cycle and the selected fault response. PMBUS_CNTRL PIN RAIL 1 EN TON_DELAY[1] TOFF_DELAY[1] TIME BETWEEN RESTARTS TIME BETWEEN RESTARTS MAX_GLITCH_TIME + TOFF_DELAY[1] MAX_GLITCH_TIME + TOFF_DELAY[1] TIME BETWEEN RESTARTS VOUT_OV_FAULT _LIMIT VOUT_UV_FAULT _LIMIT RAIL 1 VOLTAGE RAIL 2 EN POWER_GOOD_ON[1] MAX_GLITCH_TIME MAX_GLITCH_TIME TOFF_DELAY[1] MAX_GLITCH_TIME TON_DELAY[2] TOFF_DELAY[2] RAIL 2 VOLTAGE Rail 1 and Rail 2 are both sequenced “ON” and “OFF” by the PMBUS_CNTRL pin only Rail 2 has Rail 1 as an “ON” dependency Rail 1 has Rail 2 as a Fault Shutdown Slave Rail 1 is set to use the glitch filter for UV or OV events Rail 1 is set to RESTART 3 times after a UV or OV event Rail 1 is set to shutdown with delay for a OV event Figure 11. Sequencing and Fault-Response Timing 16 Copyright © 2010–2011, Texas Instruments Incorporated UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com PMBUS_CNTRL PIN TON_DELAY[1] RAIL 1 EN Rail 1 and Rail 2 are both sequenced “ON” and “OFF” by the PMBUS_CNTRL pin only Time Between Restarts Rail 2 has Rail 1 as an “ON” dependency Rail 1 is set to shutdown immediately and RESTART 1 time in case of a Time On Max fault POWER_GOOD_ON[1] POWER_GOOD_ON[1] RAIL 1 VOLTAGE TON_MAX_FAULT_LIMIT[1] TON_DELAY[2] TON_MAX_FAULT_LIMIT[1] RAIL 2 EN RAIL 2 VOLTAGE Figure 12. Maximum Turn-on Fault The configurable fault limits are: TON_MAX_FAULT – Flagged if a rail that is enabled does not reach the POWER_GOOD_ON limit within the configured time VOUT_UV_WARN – Flagged if a voltage rail drops below the specified UV warning limit after reaching the POWER_GOOD_ON setting VOUT_UV_FAULT – Flagged if a rail drops below the specified UV fault limit after reaching the POWER_GOOD_ON setting VOUT_OV_WARN – Flagged if a rail exceeds the specified OV warning limit at any time during startup or operation VOUT_OV_FAULT – Flagged if a rail exceeds the specified OV fault limit at any time during startup or operation TOFF_MAX_WARN – Flagged if a rail that is commanded to shut down does not reach 12.5% of the nominal rail voltage within the configured time Faults are more serious than warnings. The PMBALERT# pin is always asserted immediately if a warning or fault occurs. If a warning occurs, the following takes place: Warning Actions — Immediately assert the PMBALERT# pin — Status bit is flagged — Assert a GPIO pin (optional) — Warnings are not logged to flash A number of fault response options can be chosen from: Fault Responses — Continue Without Interruption: Flag the fault and take no action — Shut Down Immediately: Shut down the faulted rail immediately and restart according to the rail configuration Copyright © 2010–2011, Texas Instruments Incorporated 17 UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com — Shut Down using TOFF_DELAY: If a fault occurs on a rail, exhaust whatever retries are configured. If the rail does not come back, schedule the shutdown of this rail and all fault-shutdown slaves. All selected rails, including the faulty rail, are sequenced off according to their sequence-off dependencies and T_OFF_DELAY times. If Do Not Restart is selected, then sequence off all selected rails when the fault is detected. Restart — Do Not Restart: Do not attempt to restart a faulted rail after it has been shut down. — Restart Up To N Times: Attempt to restart a faulted rail up to 14 times after it has been shut down. The time between restarts is measured between when the rail enable pin is deasserted (after any glitch filtering and turn-off delay times, if configured to observe them) and then reasserted. It can be set between 0 and 1275 ms in 5-ms increments. Under voltage faults only have a maximum of 1 restart as an option. — Restart Continuously: Same as Restart Up To N Times except that the device continues to restart until the fault goes away, it is commanded off by the specified combination of PMBus OPERATION command and PMBUS_CNTRL pin status, the device is reset, or power is removed from the device. This option is not available for under voltage faults. — Shut Down Rails and Sequence On (Re-sequence): Shut down selected rails immediately or after continue-operation time is reached and then sequence-on those rails using sequence-on dependencies and T_ON_DELAY times. SHUT DOWN ALL RAILS AND SEQUENCE ON (RESEQUENCE) In response to a fault, or a RESEQUENCE command, the UCD90160 can be configured to turn off a set of rails and then sequence them back on. To sequence all rails in the system, then all rails must be selected as fault-shutdown slaves of the faulted rail. The rails designated as fault-shutdown slaves will do soft shutdowns regardless of whether the faulted rail is set to stop immediately or stop with delay. Shut-down-all-rails and sequence-on are not performed until retries are exhausted for a given fault. While waiting for the rails to turn off, an error is reported if any of the rails reaches its TOFF_MAX_WARN_LIMIT. There is a configurable option to continue with the resequencing operation if this occurs. After the faulted rail and fault-shutdown slaves sequence-off, the UCD90160 waits for a programmable delay time between 0 and 1275 ms in increments of 5 ms and then sequences-on the faulted rail and fault-shutdown slaves according to the start-up sequence configuration. This is repeated until the faulted rail and fault-shutdown slaves successfully achieve regulation or for a user-selected 1, 2, 3, or 4 times. If the resequence operation is successful, the resequence counter is reset if all of the rails that were resequenced maintain normal operation for one second. Once shut-down-all-rails and sequence-on begin, any faults on the fault-shutdown slave rails are ignored. If there are two or more simultaneous faults with different fault-shutdown slaves, the more conservative action is taken. For example, if a set of rails is already on its second resequence and the device is configured to resequence three times, and another set of rails enters the resequence state, that second set of rails is only resequenced once. Another example – if one set of rails is waiting for all of its rails to shut down so that it can resequence, and another set of rails enters the resequence state, the device now waits for all rails from both sets to shut down before resequencing. GPIOs The UCD90160 has 22 GPIO pins that can function as either inputs or outputs. Each GPIO has configurable output mode options including open-drain or push-pull outputs that can be actively driven to 3.3 V or ground. There are an additional four pins that can be used as either inputs or PWM outputs but not as GPOs. Table 4 lists possible uses for the GPIO pins and the maximum number of each type for each use. GPIO pins can be dependents in sequencing and alarm processing. They can also be used for system-level functions such as external interrupts, power-goods, resets, or for the cascading of multiple devices. GPOs can be sequenced up or down by configuring a rail without a MON pin but with a GPIO set as an enable. 18 Copyright © 2010–2011, Texas Instruments Incorporated UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com Table 4. GPIO Pin Configuration Options PIN NAME PIN RAIL EN (16 MAX) GPI (8 MAX) GPO (16 MAX) PWM OUT (12 MAX) MARGIN PWM (10 MAX) FPWM1/GPIO5 17 X X X X X FPWM2/GPIO6 18 X X X X X FPWM3/GPIO7 19 X X X X X FPWM4/GPIO8 20 X X X X X FPWM5/GPIO9 21 X X X X X FPWM6/GPIO10 22 X X X X X FPWM7/GPIO11 23 X X X X X FPWM8/GPIO12 24 X X X X X GPI1/PWM1 31 X X GPI2/PWM2 32 X X GPI3/PWM3 42 X X X GPI4/PWM4 41 X X X GPIO1 11 X X X GPIO2 12 X X X GPIO3 13 X X X GPIO4 14 X X X GPIO13 25 X X X GPIO14 29 X X X GPIO15 30 X X X GPIO16 33 X X X GPIO17 34 X X X GPIO18 35 X X X TCK/GPIO19 36 X X X TDO/GPIO20 37 X X X TDI/GPIO21 38 X X X TMS/GPIO22 39 X X X GPO Control The GPIOs when configured as outputs can be controlled by PMBus commands or through logic defined in internal Boolean function blocks. Controlling GPOs by PMBus commands (GPIO_SELECT and GPIO_CONFIG) can be used to have control over LEDs, enable switches, etc. with the use of an I2C interface. See the UCD90xxx Sequencer and System Health Controller PMBus Command Reference for details on controlling a GPO using PMBus commands. Copyright © 2010–2011, Texas Instruments Incorporated 19 UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com GPO Dependencies GPIOs can be configured as outputs that are based on Boolean combinations of up to two ANDs, all ORed together (Figure 13). Inputs to the logic blocks can include the first 8 defined GPOs, GPIs and rail-status flags. One rail status type is selectable as an input for each AND gate in a Boolean block. For a selected rail status, the status flags of all active rails can be included as inputs to the AND gate. _LATCH rail-status types stay asserted until cleared by a MFR PMBus command or by a specially configured GPI pin. The different rail-status types are shown in Table 5. See the UCD90xxx Sequencer and System Health Controller PMBus Command Reference for complete definitions of rail-status types. The GPO response can be configured to have a delayed assertion or deassertion. Sub block repeated for each of GPI(1:7) GPI_INVERSE(0) GPI_POLARITY(0) GPI_ENABLE(0) 1 AND_INVERSE(0) _GPI(0) GPI(0) _GPI(1:7) _STATUS(0:14) _STATUS(15) _GPO(1:7) There is one STATUS_TYPE_SELECT for each of the two AND gates in a boolean block STATUS_TYPE_SELECT STATUS(0) OR_INVERSE(x) Status Type 1 STATUS(1) Sub block repeated for each of STATUS(0:14) GPOx STATUS_INVERSE(15) Status Type 33 STATUS_ENABLE(15) STATUS(15) ASSERT_DELAY(x) 1 AND_INVERSE(1) DE-ASSERT_DELAY(x) _GPI(0:7) _STATUS(0:15) _GPO(0:7) Sub block repeated for each of GPO(1:7) GPO_INVERSE(0) GPO_ENABLE(0) 1 GPO(0) _GPO(0) Figure 13. Boolean Logic Combinations Figure 14. Fusion Boolean Logic Builder 20 Copyright © 2010–2011, Texas Instruments Incorporated UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com Table 5. Rail-Status Types for Boolean Logic Rail-Status Types POWER_GOOD TON_MAX_FAULT VOUT_UV_WARN_LATCH MARGIN_EN TOFF_MAX_WARN VOUT_UV_FAULT_LATCH MRG_LOW_nHIGH SEQ_ON_TIMEOUT TON_MAX_FAULT_LATCH VOUT_OV_FAULT SEQ_OFF_TIMEOUT TOFF_MAX_WARN_LATCH VOUT_OV_WARN SYSTEM_WATCHDOG_TIMEOUT SEQ_ON_TIMEOUT_LATCH VOUT_UV_WARN VOUT_OV_FAULT_LATCH SEQ_OFF_TIMEOUT_LATCH VOUT_UV_FAULT VOUT_OV_WARN_LATCH SYSTEM_WATCHDOG_TIMEOUT_LATCH GPO Delays The GPOs can be configured so that they manifest a change in logic with a delay on assertion, deassertion, both or none. GPO behavior using delays will have different effects depending if the logic change occurs at a faster rate than the delay. On a normal delay configuration, if the logic for a GPO changes to a state and reverts back to previous state within the time of a delay then the GPO will not manifest the change of state on the pin. In Figure 15 the GPO is set so that it follows the GPI with a 3ms delay at assertion and also at de-assertion. When the GPI first changes to high logic state, the state is maintained for a time longer than the delay allowing the GPO to follow with appropriate logic state. The same goes for when the GPI returns to its previous low logic state. The second time that the GPI changes to a high logic state it returns to low logic state before the delay time expires. In this case the GPO does not change state. A delay configured in this manner serves as a glitch filter for the GPO. 3ms 3ms GPI GPO 1ms Figure 15. GPO Behavior When Not Ignoring Inputs During Delay The Ignore Input During Delay bit allows to output a change in GPO even if it occurs for a time shorter than the delay. This configuration setting has the GPO ignore any activity from the triggering event until the delay expires. Figure 16 represents the two cases for when ignoring the inputs during a delay. In the case in which the logic changes occur with more time than the delay, the GPO signal looks the same as if the input was not ignored. Then on a GPI pulse shorter than the delay the GPO still changes state. Any pulse that occurs on the GPO when having the Ignore Input During Delay bit set will have a width of at least the time delay. Copyright © 2010–2011, Texas Instruments Incorporated 21 UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 3ms www.ti.com 3ms 3ms 3ms GPI GPO 1ms Figure 16. GPO Behavior When Ignoring Inputs During Delay State Machine Mode Enable When this bit within the GPO_CONFIG command is set, only one of the AND path will be used at a given time. When the GPO logic result is currently TRUE, AND path 0 will be used until the result becomes FALSE. When the GPO logic result is currently FALSE, AND path 1 will be used until the result becomes TRUE. This provides a very simple state machine and allows for more complex logical combinations. GPI Special Functions There are five special input functions for which GPIs can be used. There can be no more than one pin assigned to each of these functions. • • • • Sequencing Timeout Source - If SEQ_TIMEOUT is non-zero on any rail, a fault will occur if this GPI pin does not go active within SEQ_TIMEOUT time after the rail reaches its power good state. Latched Statuses Clear Source - When a GPO uses a latched status type (_LATCH), you can configure a GPI that will clear the latched status. Input Source for Margin Enable - When this pin is asserted, all rails with margining enabled will be put in a margined state (low or high). Input Source for Margin Low/Not-High - When this pin is asserted all margined rails will be set to Margin Low as long as the Margin Enable is asserted. When this pin is de-asserted the rails will be set to Margin High. The polarity of GPI pins can be configured to be either Active Low or Active High. The first 3 GPIs that are defined regardless of their main purpose will be used for the PIN_SELECTED_RAIL_STATES command. Power-Supply Enables Each GPIO can be configured as a rail-enable pin with either active-low or active-high polarity. Output mode options include open-drain or push-pull outputs that can be actively driven to 3.3 V or ground. During reset, the GPIO pins are high-impedance except for FPWM/GPIO pins 17–24, which are driven low. External pulldown or pullup resistors can be tied to the enable pins to hold the power supplies off during reset. The UCD90160 can support a maximum of 16 enable pins. NOTE GPIO pins that have FPWM capability (pins 17-24) should only be used as power-supply enable signals if the signal is active high. Cascading Multiple Devices A GPIO pin can be used to coordinate multiple controllers by using it as a power good-output from one device and connecting it to the PMBUS_CNTRL input pin of another. This imposes a master/slave relationship among multiple devices. During startup, the slave controllers initiate their start sequences after the master has completed its start sequence and all rails have reached regulation voltages. During shutdown, as soon as the master starts to sequence-off, it sends the shut-down signal to its slaves. 22 Copyright © 2010–2011, Texas Instruments Incorporated UCD90160 www.ti.com SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 A shutdown on one or more of the master rails can initiate shutdowns of the slave devices. The master shutdowns can be initiated intentionally or by a fault condition. This method works to coordinate multiple controllers, but it does not enforce interdependency between rails within a single controller. The PMBus specification implies that the power-good signal is active when ALL the rails in a controller are regulating at their programmed voltage. The UCD90160 allows GPIOs to be configured to respond to a desired subset of power-good signals. PWM Outputs FPWM1-8 Pins 17–24 can be configured as fast pulse-width modulators (FPWMs). The frequency range is 15.260 kHz to 125 MHz. FPWMs can be configured as closed-loop margining outputs, fan controllers or general-purpose PWMs. Any FPWM pin not used as a PWM output can be configured as a GPIO. One FPWM in a pair can be used as a PWM output and the other pin can be used as a GPO. The FPWM pins are actively driven low from reset when used as GPOs. The frequency settings for the FPWMs apply to pairs of pins: • FPWM1 and FPWM2 – same frequency • FPWM3 and FPWM4 – same frequency • FPWM5 and FPWM6 – same frequency • FPWM7 and FPWM8 – same frequency If an FPWM pin from a pair is not used while its companion is set up to function as a PWM, it is recommended to configure the unused FPWM pin as an active-low open-drain GPO so that it does not disturb the rest of the system. By setting an FPWM, it automatically enables the other FPWM within the pair if it was not configured for any other functionality. The frequency for the FPWM is derived by dividing down a 250MHz clock. To determine the actual frequency to which an FPWM can be set, must divide 250MHz by any integer between 2 and (214-1). The FPWM duty cycle resolution is dependent on the frequency set for a given FPWM. Once the frequency is known the duty cycle resolution can be calculated as Equation 1. Change per Step (%)FPWM = frequency ÷ (250 × 106 × 16) (1) Take for an example determining the actual frequency and the duty cycle resolution for a 75MHz target frequency. 1. 2. 3. 4. Divide 250MHz by 75MHz to obtain 3.33. Round off 3.33 to obtain an integer of 3. Divide 250MHz by 3 to obtain actual closest frequency of 83.333MHz. Use Equation 1 to determine duty cycle resolution to obtain 2.0833% duty cycle resolution. PWM1-4 Pins 31, 32, 41, and 42 can be used as GPIs or PWM outputs. If • • • configured as PWM outputs, then limitations apply: PWM1 has a fixed frequency of 10 kHz PWM2 has a fixed frequency of 1 kHz PWM3 and PWM4 frequencies can be 0.93 Hz to 7.8125 MHz. The frequency for PWM3 and PWM4 is derived by dividing down a 15.625MHz clock. To determine the actual frequency to which these PWMs can be set, must divide 15.625MHz by any integer between 2 and (224-1). The duty cycle resolution will be dependent on the set frequency for PWM3 and PWM4. The PWM3 or PWM4 duty cycle resolution is dependent on the frequency set for the given PWM. Once the frequency is known the duty cycle resolution can be calculated as Equation 2 Change per Step (%)PWM3/4 = frequency ÷ (15.625 × 106) × 100 Copyright © 2010–2011, Texas Instruments Incorporated (2) 23 UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com To determine the closest frequency to 1MHz that PWM3 can be set to calculate as the following: 1. 2. 3. 4. Divide 15.625MHz by 1MHz to obtain 15.625. Round off 15.625 to obtain an integer of 16. Divide 15.625MHz by 16 to obtain actual closest frequency of 976.563kHz. Use Equation 2 to determine duty cycle resolution to obtain 6.25% duty cycle resolution. All frequencies below 238Hz will have a duty cycle resolution of 0.0015%. Programmable Multiphase PWMs The FPWMs can be aligned with reference to their phase. The phase for each FPWM is configurable from 0° to 360°. This provides flexibility in PWM-based applications such as power-supply controller, digital clock generation, and others. See an example of four FPWMs programmed to have phases at 0°, 90°, 180° and 270° (Figure 17). Figure 17. Multiphase PWMs MARGINING Margining is used in product validation testing to verify that the complete system works properly over all conditions, including minimum and maximum power-supply voltages, load range, ambient temperature range, and other relevant parameter variations. Margining can be controlled over PMBus using the OPERATION command or by configuring two GPIO pins as margin-EN and margin-UP/DOWN inputs. The MARGIN_CONFIG command in the UCD90xxx Sequencer and System Health Controller PMBus Command Reference describes different available margining options, including ignoring faults while margining and using closed-loop margining to trim the power-supply output voltage one time at power up. Open-Loop Margining Open-loop margining is done by connecting a power-supply feedback node to ground through one resistor and to the margined power supply output (VOUT) through another resistor. The power-supply regulation loop responds to the change in feedback node voltage by increasing or decreasing the power-supply output voltage to return the feedback voltage to the original value. The voltage change is determined by the fixed resistor values and the voltage at VOUT and ground. Two GPIO pins must be configured as open-drain outputs for connecting resistors from the feedback node of each power supply to VOUT or ground. 24 Copyright © 2010–2011, Texas Instruments Incorporated UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com MON(1:16) 3.3V UCD90160 POWER SUPPLY 10k W GPIO(1:16) 3.3V Vout VOUT /EN VFB Rmrg_HI V FB GPIO GPIO “0” or “1” VOUT “0” or “1” Rmrg_LO 3.3V POWER SUPPLY 10k W /EN Vout VOUT VFB VFB Rmrg_HI VOUT . 3.3V Rmrg_LO Open Loop Margining Figure 18. Open-Loop Margining Closed-Loop Margining Closed-loop margining uses a PWM or FPWM output for each power supply that is being margined. An external RC network converts the FPWM pulse train into a DC margining voltage. The margining voltage is connected to the appropriate power-supply feedback node through a resistor. The power-supply output voltage is monitored, and the margining voltage is controlled by adjusting the PWM duty cycle until the power-supply output voltage reaches the margin-low and margin-high voltages set by the user. The voltage setting resolutions will be the same that applies to the voltage measurement resolution (Table 3). The closed loop margining can operate in several modes (Table 6). Given that this closed-loop system has feed back through the ADC, the closed-loop margining accuracy will be dominated by the ADC measurement. The relationship between duty cycle and margined voltage is configurable so that voltage increases when duty cycle increases or decreases. For more details on configuring the UCD90160 for margining, see the Voltage Margining Using the UCD9012x application note (SLVA375). Table 6. Closed Loop Margining Modes Mode Description DISABLE Margining is disabled. ENABLE_TRI_STATE When not margining, the PWM pin is set to high impedance state. ENABLE_ACTIVE_TRIM When not margining, the PWM duty-cycle is continuously adjusted to keep the voltage at VOUT_COMMAND. ENABLE_FIXED_DUTY_CYCLE When not margining, the PWM duty-cycle is set to a fixed duty-cycle. MON(1:16) 3.3V UCD90160 POWER SUPPLY /EN VOUT 10k W GPIO VFB 250 kHz – 1MHz FPWM 1 Vout R1 VFB Vmarg R3 R4 C1 Closed Loop Margining R2 Figure 19. Closed-Loop Margining SYSTEM RESET SIGNAL The UCD90160 can generate a programmable system-reset pulse as part of sequence-on. The pulse is created by programming a GPIO to remain deasserted until the voltage of a particular rail or combination of rails reach their respective POWER_GOOD_ON levels plus a programmable delay time. The system-reset delay duration can be programmed as shown in Table 7. See an example of two SYSTEM RESET signals Figure 20. The first Copyright © 2010–2011, Texas Instruments Incorporated 25 UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com SYSTEM RESET signal is configured so that it de-asserts on Power Good On and it asserts on Power Good Off after a given common delay time. The second SYSTEM RESET signal is configured so that it sends a pulse after a delay time once Power Good On is achieved. The pulse width can be configured between 0.001s to 32.256s. See the UCD90xxx Sequencer and System Health Controller PMBus Command Reference for pulse width configuration details. Power Good On Power Good On Power Good Off POWER GOOD Delay Delay Delay SYSTEM RESET configured without pulse Pulse Pulse SYSTEM RESET configured with pulse Figure 20. System Reset with and without Pulse Setting The system reset can react to watchdog timing. In Figure 21 The first delay on SYSTEM RESET is for the initial reset release that would get a CPU running once all necessary voltage rails are in regulation. The watchdog is configured with a Start Time and a Reset Time. If these times expire without the WDI clearing them then it is expected that the CPU providing the watchdog signal is not operating. The SYSTEM RESET is toggled either using a Delay or GPI Tracking Release Delay to see if the CPU recovers. Power Good On POWER GOOD WDI Watchdog Start Time Watchdog Reset Time Watchdog Start Time Delay Watchdog Reset Time SYSTEM RESET Delay or GPI Tracking Release Delay Figure 21. System Reset with Watchdog 26 Copyright © 2010–2011, Texas Instruments Incorporated UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com Table 7. System-Reset Delay Delay 0 ms 1 ms 2 ms 4 ms 8 ms 16 ms 32 ms 64 ms 128 ms 256 ms 512 ms 1.02 s 2.05 s 4.10 s 8.19 s 16.38 s 32.8 s WATCH DOG TIMER A GPI and GPO can be configured as a watchdog timer (WDT). The WDT can be independent of power-supply sequencing or tied to a GPIO functioning as a watchdog output (WDO) that is configured to provide a system-reset signal. The WDT can be reset by toggling a watchdog input (WDI) pin or by writing to SYSTEM_WATCHDOG_RESET over I2C. The WDI and WDO pins are optional when using the watchdog timer. The WDI can be replaced by SYSTEM_WATCHDOG_RESET command and the WDO can be manifested through the Boolean Logic defined GPOs or through the System Reset function. The WDT can be active immediately at power up or set to wait while the system initializes. Table 8 lists the programmable wait times before the initial timeout sequence begins. Table 8. WDT Initial Wait Time WDT INITIAL WAIT TIME 0 ms 100 ms 200 ms 400 ms 800 ms 1.6 s 3.2 s 6.4 s 12.8 s 25.6 s 51.2 s 102 s 205 s 410 s 819 s 1638 s Copyright © 2010–2011, Texas Instruments Incorporated 27 UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com The watchdog timeout is programmable from 0.001s to 32.256s. See the UCD90xxx Sequencer and System Health Controller PMBus Command Reference for details on configuring the watchdog timeout. If the WDT times out, the UCD90160 can assert a GPIO pin configured as WDO that is separate from a GPIO defined as system-reset pin, or it can generate a system-reset pulse. After a timeout, the WDT is restarted by toggling the WDI pin or by writing to SYSTEM_WATCHDOG_RESET over I2C. <tWDI WDI <tWDI <tWDI tWDI <tWDI WDO Figure 22. Timing of GPIOs Configured for Watchdog Timer Operation RUN TIME CLOCK The Run-Time clock is given in milliseconds and days. Both are 32-bit numbers. This value is saved in nonvolatile memory whenever a STORE_DEFAULT_ALL command is issued. It can also be saved when a power-down condition is detected (See BROWNOUT FUNCTION). The Run-Time clock may also be written. This allows the clock to be periodically corrected by the host. It also allows the clock to be initialized to the actual, absolute time in years (e.g., March 23, 2010). The user must translate the absolute time to days and milliseconds. The three usage scenarios for the Run-Time Clock are: 1. Time from restart (reset or power-on) – the Run-Time Clock starts from 0 each time a restart occurs 2. Absolute run-time, or operating time – the Run-Time Clock is preserved across restarts, so you can keep up with the total time that the device has been in operation (Note: “Boot time” is not part of this. Only normal operation time is captured here.) 3. Local time – an external processor sets the Run-Time Clock to real-world time each time the device is restarted. The Run-Time clock value is used to timestamp any faults that are logged. DATA AND ERROR LOGGING TO FLASH MEMORY The UCD90160 can log up to 18 faults and the number of device resets to flash memory. Peak voltage measurements are also stored for each rail. To reduce stress on the flash memory, a 30-second timer is started if a measured value exceeds the previously logged value. Only the highest value from the 30-second interval is written from RAM to flash. Multiple faults can be stored in flash memory and can be accessed over PMBus to help debug power-supply bugs or failures. Each logged fault includes: • Rail number • Fault type • Fault time since previous device reset • Last measured rail voltage The total number of device resets is also stored to flash memory. The value can be reset using PMBus. There are three settings for handling the fault log once it reaches its maximum capacity. These settings allow to keep the latest faults by using a First In, First Out (FIFO) mode. • FIFO log disabled - The first 18 faults will be logged. No additional faults will be logged until the fault log is cleared. • FIFO log for all faults - The most recent 18 faults will be logged. Once 18 faults are logged, any additional faults will cause the oldest fault log entry to be lost. • FIFO log for last half of faults - The first 9 faults will be logged. The most recent 9 faults will also be logged. In the FIFO portion of the log, once 9 faults are logged, any additional faults will cause the oldest fault entry to be lost. 28 Copyright © 2010–2011, Texas Instruments Incorporated UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com With the brownout function enabled, the run-time clock value, peak monitor values, and faults are only logged to flash when a power-down is detected. The device run-time clock value is stored across resets or power cycles unless the brownout function is disabled, in which case the run-time clock is returned to zero after each reset. It is also possible to update and calibrate the UCD90160 internal run-time clock via a PMBus host. For example, a host processor with a real-time clock could periodically update the UCD90160 run-time clock to a value that corresponds to the actual date and time. The host must translate the UCD90160 timer value back into the appropriate units, based on the usage scenario chosen. See the REAL_TIME_CLOCK command in the UCD90xxx Sequencer and System Health Controller PMBus Command Reference for more details. BROWNOUT FUNCTION The UCD90160 can be enabled to turn off all nonvolatile logging until a brownout event is detected. A brownout event occurs if VCC drops below 2.9 V. In order to enable this feature, the user must provide enough local capacitance to deliver up to 80 mA (consider additional load based on GPOs sourcing external circuits such as LEDs) on for 5 ms while maintaining a minimum of 2.6 V at the device. If using the brownout circuit (Figure 23), then a schottky diode should be placed so that it blocks the other circuits that are also powered from the 3.3V supply. With this feature enabled, the UCD90160 saves faults, peaks, and other log data to SRAM during normal operation of the device. Once a brownout event is detected, all data is copied from SRAM to Flash. Use of this feature allows the UCD90160 to keep track of a single run-time clock that spans device resets or system power down (rather than resetting the run time clock after device reset). It can also improve the UCD90160 internal response time to events, because Flash writes are disabled during normal system operation. This is an optional feature and can be enabled using the MISC_CONFIG command. For more details, see the UCD90xxx Sequencer and System Health Controller PMBus Command Reference. UCD90160 B340A 3.3V C V33A AVSS1 V33D AVSS2 V33DIO1 AVSS3 V33DIO2 DVSS1 DVSS2 DVSS3 Figure 23. Brownout Circuit PMBUS ADDRESS SELECTION Two pins are allocated to decode the PMBus address. At power up, the device applies a bias current to each address-detect pin, and the voltage on that pin is captured by the internal 12-bit ADC. The PMBus address is calculated as follows. PMBus Address = 12 × bin(VAD01) + bin(VAD00) Where bin(VAD0x) is the address bin for one of eight addresses as shown in Table 9. The address bins are defined by the MIN and MAX VOLTAGE RANGE (V). Each bin is a constant ratio of 1.25 from the previous bin. This method maintains the width of each bin relative to the tolerance of standard 1% resistors. Copyright © 2010–2011, Texas Instruments Incorporated 29 UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com Table 9. PMBus Address Bins RPMBus PMBus RESISTANCE (kΩ) ADDRESS BIN open — 11 200 10 154 9 118 8 90.9 7 69.8 6 53.6 5 41.2 4 31.6 short — A low impedance (short) on either address pin that produces a voltage below the minimum voltage causes the PMBus address to default to address 126 (0x7E). A high impedance (open) on either address pin that produces a voltage above the maximum voltage also causes the PMBus address to default to address 126 (0x7E). Address 0 is not used because it is the PMBus general-call address. Addresses 11 and 127 can not be used by this device or any other device that shares the PMBus with it, because those are reserved for manufacturing programming and test. It is recommended that address 126 not be used for any devices on the PMBus, because this is the address that the UCD90160 defaults to if the address lines are shorted to ground or left open. Table 10 summarizes which PMBus addresses can be used. Other SMBus/PMBus addresses have been assigned for specific devices. For a system with other types of devices connected to the same PMBus, see the SMBus device address assignments table in Appendix C of the latest version of the System Management Bus (SMBus) specification. The SMBus specification can be downloaded at http://smbus.org/specs/smbus20.pdf. Table 10. PMBus Address Assignment Rules Address STATUS 0 Prohibited 1-10 Available 11 Avoid 12 Prohibited 13-125 Available 126 For JTAG Use 127 Prohibited Reason SMBus general address call Causes conflicts with other devices during program flash updates. PMBus alert response protocol Default value; may cause conflicts with other devices. Used by TI manufacturing for device tests. VDD UCD90160 10uA Ibias On/Off Control PMBUS_ADDR0 To 12-bit ADC PMBUS_ADDR1 Resistors to set PMBus address Figure 24. PMBus Address-Detection Method 30 Copyright © 2010–2011, Texas Instruments Incorporated UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com CAUTION Leaving the address in default state as 126 (0x7E) will enable the JTAG and not allow using the JTAG compatible pins (36-39) as GPIOs. DEVICE RESET The UCD90160 has an integrated power-on reset (POR) circuit which monitors the supply voltage. At power up, the POR detects the V33D rise. When V33D is greater than VRESET, the device comes out of reset. The device can be forced into the reset state by an external circuit connected to the RESET pin. A logic-low voltage on this pin for longer than tRESET holds the device in reset. It comes out of reset within 1 ms after RESET is released and can return to a logic-high level. To avoid an erroneous trigger caused by noise, connect RESET to a 10kΩ pullup resistor (from RESET to 3.3 V) and a 1000pF capacitor (from RESET to AVSS). Any time the device comes out of reset, it begins an initialization routine that lasts about 20 ms. During the initialization routine, the FPWM pins are held low, and all other GPIO and GPI pins are open-circuit. At the end of initialization, the device begins normal operation as defined by the device configuration. DEVICE CONFIGURATION AND PROGRAMMING From the factory, the device contains the sequencing and monitoring firmware. It is also configured so that all GPOs are high-impedance (except for FPWM/GPIO pins 17-24, which are driven low), with no sequencing or fault-response operation. See Configuration Programming of UCD Devices, available from the Documentation & Help Center that can be selected from the Fusion GUI Help menu, for full UCD90160 configuration details. After the user has designed a configuration file using Fusion GUI, there are three general device-configuration programming options: 1. Devices can be programmed in-circuit by a host microcontroller using PMBus commands over I2C (see the UCD90xxx Sequencer and System Health Controller PMBus Command Reference). Each parameter write replaces the data in the associated memory (RAM) location. After all the required configuration data has been sent to the device, it is transferred to the associated nonvolatile memory (data flash) by issuing a special command, STORE_DEFAULT_ALL. This method is how the Fusion GUI normally reads and writes a device configuration. 2. The Fusion GUI (Figure 25) can create a PMBus or I2C command script file that can be used by the I2C master to configure the device. Copyright © 2010–2011, Texas Instruments Incorporated 31 UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com Figure 25. Fusion GUI PMBus Configuration Script Export Tool 3. Another in-circuit programming option is for the Fusion GUI to create a data flash image from the configuration file (Figure 26). The configuration files can be exported in Intel Hex, Serial Vector Format (SVF) and S-record. The image file can be downloaded into the device using I2C or JTAG. The Fusion GUI tools can be used on-board if the Fusion GUI can gain ownership of the target board I2C bus. Figure 26. Fusion GUI Device Configuration Export Tool 32 Copyright © 2010–2011, Texas Instruments Incorporated UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com Devices can be programmed off-board using the Fusion GUI tools or a dedicated device programmer. For small runs, a ZIF socketed board with an I2C header can be used with the standard Fusion GUI or manufacturing GUI. The Fusion GUI can also create a data flash file that can then be loaded into the UCD90160 using a dedicated device programmer. To configure the device over I2C or PMBus, the UCD90160 must be powered. The PMBus clock and data pins must be accessible and must be pulled high to the same VDD supply that powers the device, with pullup resistors between 1 kΩ and 2 kΩ. Care should be taken to not introduce additional bus capacitance (<100 pF). The user configuration can be written to data flash using a gang programmer via JTAG or I2C before the device is installed in circuit. To use I2C, the clock and data lines must be multiplexed or the device addresses must be assigned by socket. The Fusion GUI tools can be used for socket addressing. Pre-programming can also be done using a single device test fixture. Table 11. Configuration Options Data Flash via JTAG Data Flash via I2C PMBus Commands via I2C Data Flash Export (.svf type file) Data Flash Export (.srec or hex type file) Project file I2C/PMBus script Dedicated programmer Fusion tools (with exclusive bus access via USB to I2C adapter) Fusion tools (with exclusive bus access via USB to I2C adapter) Fusion tools (with exclusive bus access via USB to I2C adapter) Fusion tools (with exclusive bus access via USB to I2C adapter) Off-Board Configuration On-Board Configuration Data flash export IC The advantages of off-board configuration include: • Does not require access to device I2C bus on board. • Once soldered on board, full board power is available without further configuration. • Can be partially reconfigured once the device is mounted. Full Configuration Update while in Normal Mode Although performing a full configuration of the UCD90160 in a controlled test setup is recommended, there may be times in which it is required to update the configuration while the device is in an operating system. Updating the full configuration based on methods listed in DEVICE CONFIGURATION AND PROGRAMMING section while the device is in an operating system can be challenging because these methods do not permit the UCD90160 to operate as required by application during the programming. During described methods the GPIOs may not be in the desired states which can disable rails that provide power to the UCD90160. To overcome this, the UCD90160 has the capability to allow full configuration update while still operating in normal mode. Updating the full configuration while in normal mode will consist of disabling data flash write protection, erasing the data flash, writing the data flash image and reset the device. It is not required to reset the device immediately but make note that the UCD90160 will continue to operate based on previous configuration with fault logging disabled until reset. See Configuration Programming of UCD Devices, available from the Documentation & Help Center that can be selected from the Fusion GUI Help menu, for details. JTAG INTERFACE The JTAG port can be used for production programming. Four of the six JTAG pins can also be used as GPIOs during normal operation. See the Pin Functions table at the beginning of the document and Table 4 for a list of the JTAG signals and which can be used as GPIOs. The JTAG port is compatible with the IEEE Standard 1149.1-1990, IEEE Standard Test-Access Port and Boundary Scan Architecture specification. Boundary scan is not supported on this device. The JTAG interface can provide an alternate interface for programming the device. It is disabled by default in order to enable the GPIO pins with which it is multiplexed. There are two conditions under which the JTAG interface is enabled: 1. On power-up if the data flash is blank, allowing JTAG to be used for writing the configuration parameters to a programmed device with no PMBus interaction 2. When address 126 (0x7E) is detected at power up. A short to ground or an open condition on either address pin will cause an address 126 (0x7E) to be generated which enables JTAG mode. Copyright © 2010–2011, Texas Instruments Incorporated 33 UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com The Fusion GUI can create SVF files (See DEVICE CONFIGURATION AND PROGRAMMING section) based on a given data flash configuration which can be used to program the desired configuration by JTAG. For Boundary Scan Description Language (BSDL) file that supports the UCD90160 see the product folder in www.ti.com. INTERNAL FAULT MANAGEMENT AND MEMORY ERROR CORRECTION (ECC) The UCD90160 verifies the firmware checksum at each power up. If it does not match, then the device waits for I2C commands but does not execute the firmware. A device configuration checksum verification is also performed at power up. If it does not match, the factory default configuration is loaded. The PMBALERT# pin is asserted and a flag is set in the status register. The error-log checksum validates the contents of the error log to make sure that section of flash is not corrupted. There is an internal firmware watchdog timer. If it times out, the device resets so that if the firmware program is corrupted, the device goes back to a known state. This is a normal device reset, so all of the GPIO pins are open-drain and the FPWM pins are driven low while the device is in reset. Checks are also done on each parameter that is passed, to make sure it falls within the acceptable range. Error-correcting code (ECC) is used to improve data integrity and provide high-reliability storage of Data Flash contents. ECC uses dedicated hardware to generate extra check bits for the user data as it is written into the Flash memory. This adds an additional six bits to each 32-bit memory word stored into the Flash array. These extra check bits, along with the hardware ECC algorithm, allow for any single-bit error to be detected and corrected when the Data Flash is read. 34 Copyright © 2010–2011, Texas Instruments Incorporated UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com APPLICATION INFORMATION 12V 12V OUT V33A V33D 3.3V Supply 12V OUT 5V OUT 3.3V OUT 2.5V OUT 1.8V OUT 1.5V OUT 1.2V OUT 0.8V OUT WDI from main processor WDO VMON1 VMON2 VMON3 VMON4 VMON5 VMON6 VMON7 VMON8 VMON9 VMON10 VMON11 VMON12 VMON13 VMON14 VMON15 VMON16 VIN GPIO1 /EN VOUT 5V OUT DC-DC 1 VFB VIN GPIO1 /EN 3.3V OUT VOUT DC-DC 2 VFB GPIO2 GPIO3 VIN /EN GPIO4 VOUT 2.5V OUT DC-DC 3 VIN VFB /EN GPIO5 VOUT 1.8V OUT LDO1 GPIO6 VIN UCD90160 /EN VIN GPIO8 GPIO7 GPIO18 /EN 0.8V OUT VOUT 1.5V OUT LDO2 VOUT VIN DC-DC 4 VFB /EN POWER_GOOD GPIO12 WARN_OV_0.8V_ OR_12V GPIO13 SYSTEM RESET GPIO14 OTHER SEQUENCER DONE (CASCADE INPUT) GPIO17 VOUT 1.2V OUT LDO3 FPWM1 2MHz Vmarg Closed Loop Margining I2C/ PMBUS JTAG Figure 27. Typical Application Schematic NOTE Figure 27 is a simplified application schematic. Voltage dividers such as the ones placed on VMON1 input have been omitted for simplifying the schematic. All VMONx pins which are configured to measure a voltage that exceeds the 2.5V ADC reference are required to have a voltage divider. Copyright © 2010–2011, Texas Instruments Incorporated 35 UCD90160 SLVSAC8A – NOVEMBER 2010 – REVISED APRIL 2011 www.ti.com Layout guidelines The thermal pad provides a thermal and mechanical interface between the device and the printed circuit board (PCB). Connect the exposed thermal pad of the PCB to the device VSS pins and provide at least a 4 × 4 pattern of PCB vias to connect the thermal pad and VSS pins to the circuit ground on other PCB layers. For supply-voltage decoupling, provide power-supply pin bypass to the device as follows: • 0.1-μF, X7R ceramic in parallel with 0.01-μF, X7R ceramic at pin 47 (BPCAP) • 0.1-μF, X7R ceramic in parallel with 4.7-μF, X5R ceramic at pins 44 (V33DIO2) and 45 (V33D) • 0.1-μF, X7R ceramic at pin 7 (V33DIO1) • 0.1-μF, X7R ceramic in parallel with 4.7-μF, X5R ceramic at pin 46 (V33A) Depending on use and application of the various GPIO signals used as digital outputs, some impedance control may be desired to quiet fast signal edges. For example, when using the FPWM pins for fan control or voltage margining, the pin is configured as a digital clock signal. Route these signals away from sensitive analog signals. It is also good design practice to provide a series impedance of 20 Ω to 33 Ω at the signal source to slow fast digital edges. Estimating ADC Reporting Accuracy The UCD90160 uses a 12-bit ADC and an internal 2.5-V reference (VREF) to convert MON pin inputs into digitally reported voltages. The least significant bit (LSB) value is VLSB = VREF/2N where N = 12, resulting in a VLSB = 610 μV. The error in the reported voltage is a function of the ADC linearity errors and any variations in VREF. The total unadjusted error (ETUE) for the UCD90160 ADC is ±5 LSB, and the variation of VREF is ±0.5% between 0°C and 125°C and ±1% between –40°C and 125°C. VTUE is calculated as VLSB × ETUE. The total reported voltage error is the sum of the reference-voltage error and VTUE. At lower monitored voltages, VTUE dominates reported error, whereas at higher monitored voltages, the tolerance of VREF dominates the reported error. Reported error can be calculated using Equation 3, where REFTOL is the tolerance of VREF, VACT is the actual voltage being monitored at the MON pin, and VREF is the nominal voltage of the ADC reference. æ 1+ REFTOL ö æ VREF ´ ETUE ö RPTERR = ç + VACT ÷ - 1 ÷´ç V 4096 ø ACT è ø è (3) From Equation 3, for temperatures between 0°C and 125°C, if VACT = 0.5 V, then RPTERR = 1.11%. If VACT = 2.2 V, then RPTERR = 0.64%. For the full operating temperature range of –40°C to 125°C, if VACT = 0.5 V, then RPTERR = 1.62%. If VACT = 2.2 V, then RPTERR = 1.14%. SPACER 36 Copyright © 2010–2011, Texas Instruments Incorporated PACKAGE OPTION ADDENDUM www.ti.com 9-May-2011 PACKAGING INFORMATION Orderable Device Status (1) Package Type Package Drawing Pins Package Qty Eco Plan (2) Lead/ Ball Finish MSL Peak Temp (3) UCD90160RGCR ACTIVE VQFN RGC 64 2000 Green (RoHS & no Sb/Br) CU NIPDAU Level-3-260C-168 HR UCD90160RGCT ACTIVE VQFN RGC 64 250 Green (RoHS & no Sb/Br) CU NIPDAU Level-3-260C-168 HR Samples (Requires Login) (1) The marketing status values are defined as follows: ACTIVE: Product device recommended for new designs. LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect. NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in a new design. PREVIEW: Device has been announced but is not in production. Samples may or may not be available. OBSOLETE: TI has discontinued the production of the device. (2) Eco Plan - The planned eco-friendly classification: Pb-Free (RoHS), Pb-Free (RoHS Exempt), or Green (RoHS & no Sb/Br) - please check http://www.ti.com/productcontent for the latest availability information and additional product content details. TBD: The Pb-Free/Green conversion plan has not been defined. Pb-Free (RoHS): TI's terms "Lead-Free" or "Pb-Free" mean semiconductor products that are compatible with the current RoHS requirements for all 6 substances, including the requirement that lead not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, TI Pb-Free products are suitable for use in specified lead-free processes. Pb-Free (RoHS Exempt): This component has a RoHS exemption for either 1) lead-based flip-chip solder bumps used between the die and package, or 2) lead-based die adhesive used between the die and leadframe. The component is otherwise considered Pb-Free (RoHS compatible) as defined above. Green (RoHS & no Sb/Br): TI defines "Green" to mean Pb-Free (RoHS compatible), and free of Bromine (Br) and Antimony (Sb) based flame retardants (Br or Sb do not exceed 0.1% by weight in homogeneous material) (3) MSL, Peak Temp. -- The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature. Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided. TI bases its knowledge and belief on information provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals. TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release. In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis. Addendum-Page 1 IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by government requirements, testing of all parameters of each product is not necessarily performed. TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and applications using TI components. To minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards. TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI. Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional restrictions. Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonably be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governing such use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, and acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products and any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may be provided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in such safety-critical applications. TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are specifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet military specifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at the Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use. TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are designated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designated products in automotive applications, TI will not be responsible for any failure to meet such requirements. Following are URLs where you can obtain information on other Texas Instruments products and application solutions: Products Applications Audio www.ti.com/audio Communications and Telecom www.ti.com/communications Amplifiers amplifier.ti.com Computers and Peripherals www.ti.com/computers Data Converters dataconverter.ti.com Consumer Electronics www.ti.com/consumer-apps DLP® Products www.dlp.com Energy and Lighting www.ti.com/energy DSP dsp.ti.com Industrial www.ti.com/industrial Clocks and Timers www.ti.com/clocks Medical www.ti.com/medical Interface interface.ti.com Security www.ti.com/security Logic logic.ti.com Space, Avionics and Defense www.ti.com/space-avionics-defense Power Mgmt power.ti.com Transportation and Automotive www.ti.com/automotive Microcontrollers microcontroller.ti.com Video and Imaging www.ti.com/video RFID www.ti-rfid.com Wireless www.ti.com/wireless-apps RF/IF and ZigBee® Solutions www.ti.com/lprf TI E2E Community Home Page e2e.ti.com Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265 Copyright © 2011, Texas Instruments Incorporated