UCD9090-Q1 www.ti.com SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 10-Rail Power-Supply Sequencer and Monitor With ACPI Support Check for Samples: UCD9090-Q1 FEATURES DESCRIPTION * * The UCD9090-Q1 is a 10-rail PMBus- and I2Caddressable power-supply sequencer and monitor. The device integrates a 12-bit ADC for monitoring up to 10 power-supply voltage inputs. Twenty-three GPIO pins are usable for powersupply enables, power-on reset signals, external interrupts, cascading, or other system functions. Ten of these pins offer PWM functionality. Using these pins, the UCD9090-Q1 offers support for margining and for general-purpose PWM functions. * * * * * * * * Qualified for Automotive Applications AEC-Q100 Qualified With the Following Results: - Device Temperature Grade 1: -40C to 125C Ambient Operating Temperature Range - Device HBM ESD Classification Level H2 - Device CDM ESD Classification Level C4B Monitor and Sequence 10 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 30 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 Flexible Digital I/O Configuration Pin-Selected Rail States 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, I2C, SMBus, and PMBusTM Interfaces One can achieve specific power states using the pinselected rail-states feature. This feature allows enabling or disabling any rail by the use of up to three GPIs. This feature is useful for implementing system low-power modes and the Advanced Configuration and Power Interface (ACPI) specification that is used for hardware devices. Use of the TI Fusion Digital PowerTM designer software assists in device configuration. This PCbased graphical user interface (GUI) offers an intuitive interface for configuring, storing, and monitoring all system operating parameters. 12V OUT 12V I12V 3.3V Supply INA196 V33A 2 12V OUT V33D 1 TEMP IC GPIO VIN VMON GPIO 3.3V OUT VMON 1.8V OUT VMON 0.8V OUT VMON I0.8V VMON TEMP0.8V VMON I12V VMON TEMP12V VMON TEMP12V /EN 3.3V OUT VOUT DC-DC 1 VFB VIN GPIO /EN VOUT 1.8V OUT LDO1 TEMP IC UCD9090 WDI from main processor GPIO WDO GPIO POWER_GOOD GPIO VIN GPIO /EN VOUT TEMP0.8V 0.8V OUT DC-DC 2 VFB INA196 APPLICATIONS Any System Requiring Sequencing Monitoring of Multiple Power Rails and PWM WARN_OC_0.8V_ OR_12V GPIO SYSTEM RESET GPIO OTHER SEQUENCER DONE (CASCADE INPUT) GPIO 2MHz I0.8V 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 (c) 2013, Texas Instruments Incorporated UCD9090-Q1 SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 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 (10 max) 6 Digital Outputs (10 max) Monitor Inputs 23 SEQUENCING ENGINE Digital Inputs (8 max) 11 12-bit 200ksps, ADC Multi-phase PWM (8 max) (0.5% Int. Ref) FLASH Memory User Data, Fault and Peak Logging BOOLEAN Logic Builder Margining Outputs (10 max) 48-pin QFN ABSOLUTE MAXIMUM RATINGS (1) VALUE UNIT Voltage applied at V33D to DVSS -0.3 to 3.8 V Voltage applied at V33A to AVSS -0.3 to 3.8 V -0.3 to (V33A + 0.3) V Voltage applied to any other pin (2) Storage temperature (Tstg) ESD rating (1) (2) -40 to 150 C Human-body model (HBM) 2.5 kV Charged-device model (CDM) 750 V 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. THERMAL INFORMATION THERMAL METRIC (1) UCD9090-Q1 RGZ (48 PINS) JA Junction-to-ambient thermal resistance 25 JCtop Junction-to-case (top) thermal resistance 8.9 JB Junction-to-board thermal resistance 5.5 JT Junction-to-top characterization parameter 0.3 JB Junction-to-board characterization parameter 1.5 JCbot Junction-to-case (bottom) thermal resistance 1.7 UNITS C/W spacer (1) 2 For more information about traditional and new thermal metrics, see the IC Package Thermal Metrics application report, SPRA953. Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 UCD9090-Q1 www.ti.com SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 RECOMMENDED OPERATING CONDITIONS Supply voltage during operation (V33D, V33DIO, V33A) Operating free-air temperature range, TA MIN NOM MAX 3 3.3 3.6 V 125 C -40 UNIT 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 Supply current (1) IV33D IV33D ANALOG INPUTS (MON1-MON13) VMON Input voltage range MON1-MON10 MON11 INL ADC integral nonlinearity DNL ADC differential nonlinearity Ilkg Input leakage current 3 V applied to pin IOFFSET Input offset current 1-k source impedance 2.5 2.5 -4 4 LSB 2 LSB -2 MON1-MON10, ground reference RIN Input impedance CIN Input capacitance tCONVERT ADC sample period 12 voltages sampled, 3.89 s/sample ADC 2.5 V, internal reference accuracy 0C to 125C VREF 0 0.2 MON11, ground reference 100 -5 5 8 0.5 V V nA A M 1.5 3 M 10 pF s 400 -0.5% 0.5% -40C to 125C -1% 1% 9 11 2.26 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 (1) A V 0.124 V Device programmed but not configured, and no peripherals connected to any pins, are the basis for typical supply current values. Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 3 UCD9090-Q1 SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 www.ti.com ELECTRICAL CHARACTERISTICS (continued) over operating free-air temperature range (unless otherwise noted) PARAMETER TEST CONDITIONS MIN NOM MAX UNIT 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 Dgnd + 0.3 V33DIO -0.6 V V 2.1 3.6 V 1.4 V MARGINING OUTPUTS fPWM_FREQ MARGINING-PWM frequency FPWM1-8 PWM1-2 DUTYPWM MARGINING-PWM duty-cycle range 15.260 125,000 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 = 125C, TA = 25C 240 tretention Retention of configuration parameters TJ = 25C 100 Years Write_Cycles Number of nonvolatile erase-and-write cycles TJ = 25C 20 K cycles (2) (3) 4 0.25 V/ms 2.4 V 260 MHz s 2 250 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. Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 UCD9090-Q1 www.ti.com SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 PMBus, SMBus, I2C The following section shows the timing characteristics and timing diagram for the communications interface that supports I2C, SMBus, and PMBus. I2C, SMBus, PMBus TIMING REQUIREMENTS TA = -40C to 85C, 3 V < VDD < 3.6 V; typical values at TA = 25C and VCC = 2.5 V (unless otherwise noted) PARAMETER f(SMB) TEST CONDITIONS SMBus or PMBus operating frequency 2 f(I2C) I C operating frequency t(BUF) Bus free time between start and stop t(HD:STA) MIN Slave mode, SMBC 50% duty cycle Slave mode, SCL 50% duty cycle MAX UNIT 10 TYP 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 50 ns t(TIMEOUT) Error signal or detect t(LOW) Clock low period t(HIGH) Clock high period Receive mode See (1) 35 See (2) ms s 0.5 0.26 50 s t(LOW:SEXT) Cumulative clock-low slave-extend time See (3) 25 ms tf Clock or data fall time See (4) 120 ns tr Clock or data rise time See (5) 120 ns (1) (2) (3) (4) (5) 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 can 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. Timing Diagram for I2C and SMBus 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 Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 5 UCD9090-Q1 SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 www.ti.com DEVICE INFORMATION Figure 3. UCD9090-Q1 PIN ASSIGNMENT 41 MON6 42 MON7 GPIO1 4 45 MON8 GPIO2 5 46 MON9 GPIO3 6 48 MON10 GPIO4 7 GPIO13 MON4 MON3 MON11 37 MON5 38 MON6 40 39 MON7 41 V33D GPIO2 5 32 DVSS 31 TRST UCD9090 21 GPIO3 GPIO15 24 GPIO4 7 GPIO16 25 PMBUS_CLK 8 29 GPIO17 26 30 TMS/GPIO21 TDI/GPIO20 PMBUS_DATA 9 28 TDO/GPIO19 FPWM1/GPIO5 10 27 TCK/GPIO18 FPWM2/GPIO6 11 26 GPIO17 FPWM3/GPIO7 12 25 GPIO16 16 FPWM8/GPIO12 17 RESET 3 24 FPWM7/GPIO11 GPIO15 15 23 FPWM6/GPIO10 PWM2/GPI2 PWM2/GPI2 22 14 23 PWM1/GPI1 FPWM5/GPIO9 21 PWM1/GPI1 GPIO14 13 22 20 12 FPWM4/GPIO8 PMBUS_CNTRL FPWM3/GPIO7 19 PMBUS_ADDR1 PMBUS_ALERT 43 18 11 GPIO13 FPWM2/GPIO6 17 10 PMBUS_ADDR0 AVSS2 4 GPIO14 44 AVSS1 GPIO1 6 FPWM1/GPIO5 DVSS V33A 33 FPWM8/GPIO12 PMBUS_CNTRL 34 16 PMBUS_ALERT 20 3 FPWM7/GPIO11 19 BPCAP RESET 15 PMBUS_DATA AVSS1 35 FPWM6/GPIO10 PMBUS_CLK 9 36 2 FWPM5/GPIO9 8 18 1 MON2 14 MON11 MON1 13 37 UCD9090 42 31 PMBUS_ADDR0 TRST PMBUS_ADDR1 MON5 43 30 40 MON8 29 TMS/GPIO21 44 TDI/GPIO20 MON4 MON9 MON3 39 45 38 AVSS2 28 46 27 TDO/GPIO19 MON10 TCK/GPIO18 MON2 47 MON1 2 48 1 FPWM4/GPIO8 V33A BPCAP V33D 33 34 35 32 36 47 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 38 I Analog input (0 V-2.5 V) MON4 39 I Analog input (0 V-2.5 V) MON5 40 I Analog input (0 V-2.5 V) MON6 41 I Analog input (0 V-2.5 V) MON7 42 I Analog input (0 V-2.5 V) MON8 45 I Analog input (0 V-2.5 V) MON9 46 I Analog input (0 V-2.5 V) MON10 48 I Analog input (0 V-2.5 V) MON11 37 I Analog input (0.2 V-2.5 V) 4 I/O GPIO GPIO1 6 General-purpose discrete I/O Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 UCD9090-Q1 www.ti.com SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 Table 1. PIN FUNCTIONS (continued) PIN NAME PIN NO. I/O TYPE GPIO2 5 I/O DESCRIPTION General-purpose discrete I/O GPIO3 6 I/O General-purpose discrete I/O GPIO4 7 I/O General-purpose discrete I/O GPIO13 18 I/O General-purpose discrete I/O GPIO14 21 I/O General-purpose discrete I/O GPIO15 24 I/O General-purpose discrete I/O GPIO16 25 I/O General-purpose discrete I/O GPIO17 26 I/O General-purpose discrete I/O FPWM1/GPIO5 10 I/O/PWM PWM (15.259 kHz to 125 MHz) or GPIO FPWM2/GPIO6 11 I/O/PWM PWM (15.259 kHz to 125 MHz) or GPIO FPWM3/GPIO7 12 I/O/PWM PWM (15.259 kHz to 125 MHz) or GPIO FPWM4/GPIO8 13 I/O/PWM PWM (15.259 kHz to 125 MHz) or GPIO FPWM5/GPIO9 14 I/O/PWM PWM (15.259 kHz to 125 MHz) or GPIO FPWM6/GPIO10 15 I/O/PWM PWM (15.259 kHz to 125 MHz) or GPIO FPWM7/GPIO11 16 I/O/PWM PWM (15.259 kHz to 125 MHz) or GPIO FPWM8/GPIO12 17 I/O/PWM PWM (15.259 kHz to 125 MHz) or GPIO PWM1/GPI1 22 I/PWM PWM (0.93 Hz to 7.8125 MHz) or GPI PWM2/GPI2 23 I/PWM PWM (0.93 Hz to 7.8125 MHz) or GPI PWM OUTPUTS PMBus COMM INTERFACE PMBUS_CLK 8 I/O PMBus clock (must have pullup to 3.3 V) PMBUS_DATA 9 I/O PMBus data (must have pullup to 3.3 V) PMBUS_ALERT 19 O PMBus alert, active-low, open-drain output (must have pullup to 3.3 V) PMBUS_CNTRL 20 I PMBus control PMBUS_ADDR0 44 I PMBus analog address input. Least-significant address bit PMBUS_ADDR1 43 I PMBus analog address input. Most-significant address bit TCK/GPIO18 27 I/O Test clock or GPIO TDO/GPIO19 28 I/O Test data out or GPIO TDI/GPIO20 29 I/O Test data in (tie to Vdd with 10-k resistor) or GPIO TMS/GPIO21 30 I/O Test mode select (tie to Vdd with 10-k resistor) or GPIO TRST 31 I JTAG Test reset - tie to ground with 10-k resistor INPUT POWER AND GROUNDS RESET 3 Active-low device reset input. Hold low for at least 2 s to reset the device. V33A 34 Analog 3.3-V supply. See the Layout Guidelines section. V33D 33 Digital core 3.3-V supply. See the Layout Guidelines section. BPCap 35 1.8-V bypass capacitor. See the Layout Guidelines section. AVSS1 36 Analog ground AVSS2 47 Analog ground DVSS 32 Digital ground QFP ground pad NA Thermal pad - tie to ground plane Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 7 UCD9090-Q1 SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 www.ti.com FUNCTIONAL DESCRIPTION TI FUSION GUI The Texas Instruments Fusion Digital Power Designer is available for device configuration. This PC-based graphical user interface (GUI) offers an intuitive I2C or 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, and so forth). The data sheet references Fusion Digital Power Designer throughout as Fusion GUI and many sections include screenshots. Download the Fusion GUI from www.ti.com. PMBUS INTERFACE The PMBus is a serial interface specifically designed to support power management. Its basis is on the SMBus interface, built on the I2C physical specification. The UCD9090-Q1 supports revision 1.1 of the PMBus standard. Wherever possible, standard PMBus commands support the function of the device. For unique features of the UCD9090-Q1, defined MFR_SPECIFIC commands configure or activate those features. The UCD90xxx Sequencer and System Health Controller PMBUS Command Reference (SLVU352) defines these commands. One can find the most-current UCD90xxx PMBusTM Command Reference 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 Power Management Bus Implementers Forum publishes the specification, which is available from www.pmbus.org. The UCD9090-Q1 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 UCD9090-Q1 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 UCD9090-Q1 stores power supply faults to on-chip nonvolatile flash memory for aid in system failure analysis. Four-corner testing during system verification can improve system reliability. During four-corner testing, the system operates 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. One use of the UCD9090-Q1 is to implement accurate closed-loop margining of up to 10 power supplies. The UCD9090-Q1 10-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 having between one and 10 power supplies by using 10 analog voltage-monitor inputs, two GPIs, and 21 highly configurable GPIOs. A rail includes voltage, a power-supply enable, and a margining output. The rail definition must include at least one of these. After defining how the power-supply rails should operate in a particular system, the user can select analog input pins and GPIOs to monitor and enable each supply (Figure 4). 8 Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 UCD9090-Q1 www.ti.com SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 Figure 4. Fusion GUI Pin-Assignment Tab Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 9 UCD9090-Q1 SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 www.ti.com After configuring the pins, select other key monitoring and sequencing criteria 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 * 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 powergood-off voltages, and any timing dependencies between the rails. After a rail voltage has reached its POWER_GOOD_ON voltage and is in regulation, the device compares it against two UV and two OV thresholds in order to determine if it has exceeded a warning or fault limit. In case of a fault detection, the UCD9090-Q1 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. 10 Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 UCD9090-Q1 www.ti.com SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 The user selects fault responses, along with a number of other parameters including user-specific manufacturing information and external scaling and offset values, in the different tabs within the Configure function of the Fusion GUI. Once the configuration satisfies the user requirements, a user can write it to device SRAM if an I2C or PMBus connects the Fusion GUI to a UCD9090-Q1. 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. Figure 6. Fusion GUI Monitor Page The UCD9090-Q1 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. Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 11 UCD9090-Q1 SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 www.ti.com Figure 7. Fusion GUI Rail-Status Register 12 Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 UCD9090-Q1 www.ti.com SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 Figure 8. Fusion GUI Flash-Error Log (Logged Faults) Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 13 UCD9090-Q1 SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 www.ti.com POWER-SUPPLY SEQUENCING The UCD9090-Q1 can control the turnon and turnoff sequencing of up to 10 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, one can also use the PMBUS_CNTRL pin to sequence-on and sequence-off. The auto-enable setting ignores the OPERATION command and the PMBUS_CNTRL pin. Sequence-on starts at power up after each rail has its dependencies and time delays met. Consider a rail 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). Without having the voltage monitoring set for a given rail, that rail is considered ON if an OPERATION command, PMBUS CNTRL pin, or auto-enable commands it on and (TON_DELAY + TON_MAX_FAULT_LIMIT) time passes. Consider a rail OFF when commanded OFF and (TOFF_DELAY + TOFF_MAX_WARN_LIMIT) time passes. Turnon Sequencing The UCD9090-Q1 supports the following sequence-on options 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. Turnoff Sequencing The UCD9090-Q1 supports the following sequence-off options 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 maximum 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. PMBUS_CNTRL PIN RAIL 1 EN TON_DELAY[1] TOFF_DELAY[1] POWER_GOOD_ON[1] POWER_GOOD_OFF[1] RAIL 1 VOLTAGE RAIL 2 EN 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 TON_DELAY[2] TOFF_DELAY[2] RAIL 2 VOLTAGE TON_MAX_FAULT_LIMIT[2] TOFF_MAX_WARN_LIMIT[2] Figure 9. Sequence-On and Sequence-Off Timing (1) 14 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. Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 UCD9090-Q1 www.ti.com SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 Sequencing Configuration Options In addition to the turnon and turnoff sequencing options, the user can configure the time between when a rail is enabled and when the monitored rail voltage must reach its power-good-on setting by using maximum turnon (TON_MAX_FAULT_LIMIT). Maximum turnon 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. Configure a sequenced shutdown by selecting the appropriate rail and GPI dependencies and turnoff delay (TOFF_DELAY) times for each rail. The turnoff delay times begin when the PMBUS_CNTRL pin deasserts, when using the PMBus OPERATION command 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 UCD9090Q1s, it is possible for each controller to be both a master and a slave to another controller. PIN-SELECTED RAIL STATES This feature allows the use of up to three GPIs to enable or 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 presentation of a new state on the input pins requires a rail to change state, it does so with regard to its sequence-on or sequence-off dependencies. This function causing a rail to change its state results in a modification of the OPERATION command. This requires setting ON_OFF_CONFIG to use the OPERATION command for a given rail for this function to have any effect on the rail state. The device uses the first three pins configured with the GPI_CONFIG command to select one of eight system states. After a device reset, the sampling of these pins determines the system state, which if enabled is the basis for updating 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 MONITORING The UCD9090-Q1 has 11 monitor input pins (MONx) that are multiplexed into a 12-bit ADC that has a 2.5-V reference. Configuring the monitor pins is possible so that they can measure voltage signals to report voltage-, current-, and temperature-type measurements. A single rail can include all three measurement types, each monitored on a separate MON pin. If a rail has both voltage and current assigned to it, then the user can calculate power for the rail. Digital filtering applied to each MON input depends on the type of signal. Voltage inputs have no filtering. Current and temperature inputs have a low-pass filter. VOLTAGE MONITORING The UCD9090-Q1 can monitor up to 12 voltages using the analog input pins. The input voltage range is 0 V-2.5 V for all MONx inputs except MON11 (pin 37), which has a range of 0.2 V-2.5 V. Any voltage between 0 V and 0.2 V on these pins reads as 0.2 V. Use external resistors to attenuate voltages higher than 2.5 V. Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 15 UCD9090-Q1 SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 www.ti.com The ADC operates continuously, requiring 3.89 s to convert a single analog input. The sequencing and monitoring algorithm samples each rail 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 using a resistor-divider network to lower the voltage applied to the analog input pins. Configure MON1-MON6 using digital hardware comparators, if desired, 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 disable rails or assert GPOs. The only fault response available for the hardware comparators is to shut down immediately. The ADC uses an internal 2.5-V reference. The ADC reference has a tolerance of 0.5% between 0C and 125C and a tolerance of 1% between -40C and 125C. Monitoring voltages higher than 2.5 V requires an external voltage divider. Enter the nominal rail voltage and the external scale factor into the Fusion GUI to report the actual voltage being monitored instead of the ADC input voltage. The nominal voltage sets the range and precision of the reported voltage according to Table 3. MON1 - MON6 MON1 MON2 . . . . MON13 Analog Inputs (12) M U X Fast Digital Comparators 12-bit SAR ADC 200ksps MON1 - MON13 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 reporting of monitor results can have a resolution of about 15 V, the 2.5-V reference and the 12-bit ADC determine the real conversion resolution of 610 V. CURRENT MONITORING Monitor current by using the analog inputs. Use external circuitry, see Figure 11, in order to convert the current to a voltage within the range of the UCD9090-Q1 MONx input in use. 16 Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 UCD9090-Q1 www.ti.com SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 For a monitor input configured as a current, a sliding-average digital filter smooths the measurements. The device takes a current measurement for one rail every 200 s. If programmed to support 10 rails (with or without monitoring current at all rails), then the current measurement for each rail occurs every 2 ms. The current calculation comprises a sliding average using the last four measurements. The filter reduces the probability of false fault detections, and introduces a small delay to the current reading. If a rail definition includes a voltage monitor and a current monitor, then monitoring for undercurrent warnings begins once the rail voltage reaches POWER_GOOD_ON. If the rail does not have a voltage monitor, then current monitoring begins after TON_DELAY. The device supports multiple PMBus commands related to current, including READ_IOUT, which reads external currents from the MON pins; IOUT_OC_FAULT_LIMIT, which sets the overcurrent fault limit; IOUT_OC_WARN_LIMIT, which sets the overcurrent warning limit; and IOUT_UC_FAULT_LIMIT, which sets the undercurrent fault limit. The UCD90xxx Sequencer and System Health Controller PMBus Command Reference contains a detailed description of how to use MBus commands to implement current-fault responses. IOUT_CAL_GAIN is a PMBus command that allows the user to enter the scale factor of an external current sensor and any amplifiers or attenuators between the current sensor and the MON pin in milliohms. IOUT_CAL_OFFSET is the current that results in 0 V at the MON pin. The combination of these PMBus commands allows the reporting of current in amperes. The following example using the INA196 would require programming IOUT_CAL_GAIN to Rsense(m) x 20. UCD9090 MONx VOUT Vin+ AVSS1 Rsense GND Vin3.3V Current Path INA196 V+ Gain = 20V/V Figure 11. Current Monitoring Circuit Example Using the INA196 REMOTE TEMPERATURE MONITORING AND INTERNAL TEMPERATURE SENSOR The UCD9090-Q1 has support for internal and remote temperature sensing. The internal temperature sensor requires no calibration and can report the device temperature via the PMBus interface. The remote temperature sensor can report the remote temperature by using a configurable gain and offset for the type of sensor being used in the application, such as a linear temperature sensor (LTS) connected to the analog inputs. Use external circuitry to convert the temperature to a voltage within the range of the UCD9090-Q1 MONx input being used. If an input is configured as a temperature, the measurements are smoothed by a sliding-average digital filter. The temperature for one rail is measured every 100 ms. If programmed to support 10 rails (with or without monitoring temperature at all rails), then the current measurement for each rail temperature occurs every 1 s. The temperature calculation comprises a sliding average using the last 16 measurements. The filter reduces the probability of false fault detections, and introduces a small delay to the temperature reading. A silicon diode sensor with an accuracy of 5C, monitored using the ADC, measures the internal device temperature. Temperature monitoring begins immediately after reset and initialization. Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 17 UCD9090-Q1 SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 www.ti.com The device supports multiple PMBus commands related to temperature, including READ_TEMPERATURE_1, which reads the internal temperature; READ_TEMPERATURE_2, which reads external temperatures; and OT_FAULT_LIMIT and OT_WARN_LIMIT, which set the overtemperature fault and warning limit. The UCD90xxx Sequencer and System Health Controller PMBus Command Reference contains a detailed description of how to use PMBus commands to implement temperature-fault responses. TEMPERATURE_CAL_GAIN is a PMBus command that allows the user to enter the scale factor of an external temperature sensor and any amplifiers or attenuators between the temperature sensor and the MON pin in C/V. TEMPERATURE_CAL_OFFSET is the temperature that results in 0 V at the MON pin. The combination of these PMBus commands allows the reporting of temperature in degrees Celsius. UCD9090 TMP20 MONx VOUT AVSS1 GND 3.3V V+ Vout = -11.67mV/C x T + 1.8583 at -40C < T < 85C Figure 12. Remote Temperature Monitoring Circuit Example using the TMP20 TEMPERATURE BY HOST INPUT If the host system has the option of not using the temperature-sensing capability of the UCD9090-Q1, it can still provide the desired temperature to the UCD9090-Q1 through the PMBus. The host may have temperature measurements available through I2C- or SPI-interfaced temperature sensors. The UCD9090-Q1 would use the temperature given by the host in place of an external temperature measurement for a given rail. The temperature provided by the host would still be used for detecting overtemperature warnings or faults, logging peak temperatures, input to Boolean logic-builder functions, and feedback for the fan-control algorithms. To write a temperature associated with a rail, the PMBus command used is the READ_TEMPERATURE_2 command. If the host writes that command, the value written is used as the temperature until the writing of another value. This is true even if the temperature does not have an assigned monitor pin. When there is a monitor pin associated with the temperature, then after writing READ_TEMPERATURE_2 , there is no further use for the monitor pin until the part is reset. When there is not a monitor pin associated with the temperature, the internal temperature sensor senses the temperature until the writing of the READ_TEMPERATURE_2 command. 18 Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 UCD9090-Q1 www.ti.com SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 UCD9090 Faults and Warnings REMOTE TEMP SENSOR I2C I2C or SPI HOST Logged Peak Temperatures READ_TEMPERATURE_2 Boolean Logic Figure 13. Temperature Provided by Host FAULT RESPONSES AND ALERT PROCESSING The UCD9090-Q1 monitors whether 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 asserts immediately, and setting of the appropriate bits in the PMBus status registers occurs (see Figure 7). The UCD90xxx Sequencer and System Health Controller PMBus Command Reference and the PMBus Specification provides detailed descriptions of the status registers. The user can enable or disable a programmable glitch filter for each MON input and then, on a glitch filter for an input defined as a voltage, set that filter between 0 and 102 ms with 400-s resolution. The device bases fault-response decisions on results from the 12-bit ADC. The device cycles through the ADC results and compares them against the programmed limits. Timing of the event within the ADC conversion cycle and the selected fault response determine the time to respond to an individual event. 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 14. Sequencing and Fault-Response Timing Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 19 UCD9090-Q1 SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 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 15. Maximum Turnon Fault The configurable fault limits are: TON_MAX_FAULT - Flagged if an enabled rail 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 MAX_TOFF_WARN - Flagged if a rail not reach 12.5% of the nominal rail voltage within the configured time following a command to shut down 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 -- Flag the status bit -- Assert a GPIO pin (optional) -- Omit logging warnings to flash 20 Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 UCD9090-Q1 www.ti.com SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 Choose from a number of fault-response options: 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 -- 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 faultshutdown slaves. Sequence all selected rails off, including the faulty rail, according to their sequence-off dependencies and T_OFF_DELAY times. For the Do Not Restart selection, sequence off all selected rails on fault detection. 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 measurement for time between restarts is between the rail enable pin deassertion (after any glitch filtering and turnoff delay times, if configured to observe them) and reassertion. That time setting can be between 0 and 1275 ms in 5-ms increments. -- Restart Continuously: Same as Restart Up To N Times except that the device continues to restart until the fault goes away, the specified combination of PMBus OPERATION command and PMBUS_CNTRL pin status commands it off, reset of the device, or removal of power from the device. -- Shut Down Rails and Sequence On (Re-sequence): Shut down the selected rails immediately or after reaching the continue-operation time, and then sequence-on those rails using sequence-on dependencies and T_ON_DELAY times. SHUT DOWN ALL RAILS AND SEQUENCE ON (RESEQUENCE) One can configure the UCD9090-Q1 to turn off a set of rails and then sequence them back on in response to a fault or a RESEQUENCE command. To sequence all rails in the system, select all rails as fault-shutdown slaves of the faulted rail. The rails designated as fault-shutdown slaves do soft shutdowns regardless of whether the setting for the faulted rail is to stop immediately or stop with delay. Only after all retries are exhausted for a given fault does the device perform shut-down-all-rails and sequence-on. While waiting for the rails to turn off, any of the rails reaching its TOFF_MAX_WARN_LIMIT results in the reporting of an error. There is a configurable option to continue with the resequencing operation if an error report occurs. After the faulted rail and fault-shutdown slaves sequence-off, the UCD9090-Q1 waits for a programmable delay time between 0 and 1275 ms in increments of 5 ms and then sequences-on the faulted rail and faultshutdown slaves according to the start-up sequence configuration. This repeats until the faulted rail and faultshutdown slaves successfully achieve regulation, or for a user-selected 1, 2, 3, 4, or unlimited number of times. If the resequence operation is successful, the resequence counter resets if all of the resequenced rails maintain normal operation for one second. Once shut-down-all-rails and sequence-on begin, the device ignores any faults on the fault-shutdown slave rails. The occurrence of two or more simultaneous faults with different fault-shutdown slaves results in taking the more conservative. 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, resequencing that second set of rails only happens 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. Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 21 UCD9090-Q1 SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 www.ti.com GPIOs The UCD9090-Q1 has 21 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 it can actively drive to 3.3 V or ground. The device can use an additional two pins 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. Additional uses are for system-level functions such as external interrupts, power-goods, resets, or for the cascading of multiple devices. Configuring a rail without a MON pin but with a GPIO set as an enable can sequence a GPO up or down. Table 4. GPIO Pin-Configuration Options PIN NAME PIN RAIL EN (10 MAX) GPI (8 MAX) GPO (10 MAX) PWM OUT (10 MAX) MARGIN PWM (10 MAX) FPWM1/GPIO5 10 X X X X X FPWM2/GPIO6 11 X X X X X FPWM3/GPIO7 12 X X X X X FPWM4/GPIO8 13 X X X X X FPWM5/GPIO9 14 X X X X X FPWM6/GPIO10 15 X X X X X FPWM7/GPIO11 16 X X X X X FPWM8/GPIO12 17 X X X X X GPI1/PWM1 22 X X X GPI2/PWM2 23 X X X GPIO1 4 X X X GPIO2 5 X X X GPIO3 6 X X X GPIO4 7 X X X GPIO13 18 X X X GPIO14 21 X X X GPIO15 24 X X X GPIO16 25 X X X GPIO17 26 X X X TCK/GPIO18 27 X X X TDO/GPIO19 28 X X X TDI/GPIO20 29 X X X TMS/GPIO21 30 X X X GPO Control PMBus commands or logic defined in internal Boolean function blocks can control the GPIOs when configured as outputs. Controlling GPOs by PMBus commands (GPIO_SELECT and GPIO_CONFIG) can provide control over LEDs, enable switches, and so forth, 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. GPO Dependencies A user can configure GPIOs as outputs that are based on Boolean combinations of up to two ANDs all ORed together (Figure 16). Inputs to the logic blocks can include the first eight defined GPOs, GPIs, and rail-status flags. The user can select one rail-status type as an input for each AND gate in a Boolean block, and for a selected rail status, include the status flags of all active rails 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. Table 5 shows the different rail-status types. See the UCD90xxx Sequencer and System Health Controller PMBus Command Reference for complete definitions of rail-status types. The GPO response is configurable to have a delayed assertion or deassertion. 22 Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 UCD9090-Q1 www.ti.com SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 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:8) _STATUS(9) _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:8) GPOx STATUS_INVERSE(9) Status Type 31 ASSERT_DELAY(x) STATUS_ENABLE(9) 1 STATUS(9) AND_INVERSE(1) DE-ASSERT_DELAY(x) _GPI(0:7) _STATUS(0:9) _GPO(0:7) Sub block repeated for each of GPO(1:7) GPO_INVERSE(0) GPO_ENABLE(0) 1 _GPO(0) GPO(0) Figure 16. Boolean Logic Combinations Figure 17. Fusion Boolean Logic Builder Table 5. Rail-Status Types for Boolean Logic Rail-Status Types POWER_GOOD IOUT_UC_FAULT TOFF_MAX_WARN_LATCH MARGIN_EN TEMP_OT_FAULT SEQ_ON_TIMEOUT_LATCH MRG_LOW_nHIGH TEMP_OT_WARN SEQ_OFF_TIMEOUT_LATCH VOUT_OV_FAULT SEQ_ON_TIMEOUT SYSTEM_WATCHDOG_TIMEOUT_LATCH VOUT_OV_WARN SEQ_OFF_TIMEOUT IOUT_OC_FAULT_LATCH VOUT_UV_WARN SYSTEM_WATCHDOG_TIMEOUT IOUT_OC_WARN_LATCH VOUT_UV_FAULT VOUT_OV_FAULT_LATCH IOUT_UC_FAULT_LATCH TON_MAX_FAULT VOUT_OV_WARN_LATCH TEMP_OT_FAULT_LATCH TOFF_MAX_WARN VOUT_UV_WARN_LATCH TEMP_OT_WARN_LATCH IOUT_OC_FAULT VOUT_UV_FAULT_LATCH IOUT_OC_WARN TON_MAX_FAULT_LATCH Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 23 UCD9090-Q1 SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 www.ti.com GPO Delays A user can configure the GPOs so that they manifest a change in logic with a delay on assertion, deassertion, both, or none. GPO behavior using delays has different effects depending on whether 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 the previous state within the time of a delay, then the GPO does not manifest the change of state on the pin. In Figure 18, the GPO setting is such that it follows the GPI with a 3-ms delay at assertion and also at de-assertion. When the GPI first changes to a high logic state, the device maintains the state for a time longer than the delay, allowing the GPO to follow with an appropriate logic state. The same goes 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 a 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 18. GPO Behavior When Not Ignoring Inputs During Delay The Ignore Input During Delay bit allows the output of 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 19 represents the two cases for 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 when not ignoring the input. 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 has a duration of at least the time delay. 3ms 3ms 3ms 3ms GPI GPO 1ms Figure 19. GPO Behavior When Ignoring Inputs During Delay State Machine Mode Enable With this bit in the GPO_CONFIG command set, the device uses only one of the AND paths at a given time. When the GPO logic result is currently TRUE, the device uses AND path 0 until the result becomes FALSE. When the GPO logic result is currently FALSE, the device uses AND path 1 until the result becomes TRUE. This provides a very simple state machine and allows for more-complex logical combinations. 24 Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 UCD9090-Q1 www.ti.com SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 GPI Special Functions There are five special input functions which use GPIs. There can be no more than one pin assigned to each of these functions. * * * * GPI Fault Enable - When set, the device treats de-assertion of the GPI as a fault. Latched Statuses Clear Source - When a GPO uses a latched status type (_LATCH), one can configure a GPI that clears the latched status. Input Source for Margin Enable - With this pin asserted, the device puts all rails with margining enabled in a margined state (low or high). Input Source for Margin Low or Not-High - With this pin asserted, the device sets all margined rails to margin low as long as the input source asserts the margin enable. With this pin deasserted, the device sets the rails to margin high. The configuration of GPI pin polarity can be either active-low or active-high. The PIN_SELECTED_RAIL_STATES command uses the first three GPIs defined, regardless of their main purpose. Power-Supply Enables Configuration of ach GPIO can be as a rail-enable pin with either active-low or active-high polarity. Output mode options include open-drain or push-pull outputs that one can actively drive to 3.3 V or ground. During reset, the GPIO pins are high-impedance except for FPWM/GPIO pins 17-24, which the device drives low. To hold the power supplies off during reset, tie external pulldown or pullup resistors to the enable pins. The UCD9090-Q1 can support a maximum of 10 enable pins. NOTE The only use of GPIO pins that have FPWM capability (pins 10-17) should be as powersupply enable signals if the signal is active-high. Cascading Multiple Devices One can use a GPIO pin to coordinate multiple controllers by using the pin 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 start-up, 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 shutdown signal to its slaves. 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 UCD9090-Q1 allows configuring of GPIOs to respond to a desired subset of power-good signals. PWM Outputs FPWM1-FPWM8 Pins 10-17 are configurable 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 is configurable as a GPIO. A designer can use one FPWM in a pair as a PWM output and the other pin as a GPO. The device actively drives FPWM pins 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 Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 25 UCD9090-Q1 SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 www.ti.com If not using an FPWM pin from a pair while the setting of its companion is to function as a PWM, TI recommends configuring the unused FPWM pin as an active-low open-drain GPO so that it does not disturb the rest of the system. Setting an FPWM automatically enables the other FPWM within the pair if not configured for any other functionality. Derive the frequency for the FPWM by dividing down a 250-MHz clock. To determine an actual frequency to which an FPWM can be set, divide 250 MHz by any integer between 2 and (214 - 1). The FPWM duty-cycle resolution depends on the frequency setting for a given FPWM. After determining the frequency, calculate the duty-cycle resolution using Equation 1. Change per Step (%)FPWM = frequency / (250 x 106 x 16) x 100 (1) Take for an example determining the actual frequency and the duty-cycle resolution for a 75-MHz target frequency. 1. 2. 3. 4. Divide 250 MHz by 75 MHz to obtain 3.33. Round off 3.33 to obtain an integer of 3. Divide 250 MHz by 3 to obtain the actual closest frequency of 83.333 MHz. Use Equation 1 to calculate the duty-cycle resolution of 2.0833%. PWM1-2 Pins 22 and 23 are usable as GPIs or PWM outputs. These PWM outputs have an output frequency of 0.93 Hz to 7.8125 MHz. Derive the frequency for PWM1 and PWM2 by dividing down a 15.625-MHz clock. To determine a possible frequency setting for these PWMs, one must divide 15.625 MHz by any integer between 2 and (224 - 1). The duty-cycle resolution depends on the set frequency for PWM1 and PWM2. The PWM1 or PWM2 duty-cycle resolution depends on the frequency set for the given PWM. Knowing the frequency, one can calculate the duty-cycle resolution using Equation 2. Change per Step (%)PWM1/2 = frequency / 15.625 x 106 x 100 (2) Calculate as follows to determine the PWM1 frequency setting closest 1 MHz: 1. 2. 3. 4. Divide 15.62 5 MHz by 1 MHz to obtain 15.625. Round off 15.625 to obtain an integer of 16. Divide 15.625 MHz by 16 to obtain the actual closest frequency of 976.563 kHz. Use Equation 2 to calculate the duty-cycle resolution of 6.25%. All frequencies below 238 Hz have a duty-cycle resolution of 0.0015%. 26 Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 UCD9090-Q1 www.ti.com SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 Programmable Multiphase PWMs The user can align FPWMs 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 20). Figure 20. Multiphase PWMs MARGINING Product validation testing uses margining 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 powersupply output voltage one time at power up. Open-Loop Margining To perform open-loop margining, connect 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 fixed resistor values and the voltage at VOUT and ground determine the voltage change. It is necessary to configure two GPIO pins as open-drain outputs for connecting resistors from the feedback node of each power supply to VOUT or ground. Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 27 UCD9090-Q1 SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 www.ti.com MON(1:10) 3.3V UCD9090 POWER SUPPLY 10k W GPIO(1:10) VOUT /EN 3.3V Vout 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 21. Open-Loop Margining Closed-Loop Margining Closed-loop margining uses a PWM or FPWM output for each power supply 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 device monitors the power-supply output voltage and controls the margining voltage 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 are the same that apply to the voltage measurement resolution (Table 3). Closed-loop margining can operate in several modes (Table 6). Given that this closed-loop system has feedback through the ADC, the ADC measurement dominates the closed-loop margining accuracy. 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 UCD9090-Q1 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 in the high-impedance state. ENABLE_ACTIVE_TRIM When not margining, continuous adjustment of the PWM duty cycle keeps the voltage at VOUT_COMMAND. ENABLE_FIXED_DUTY_CYCLE When not margining, the PWM duty-cycle setting is for a fixed duty cycle. 28 Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 UCD9090-Q1 www.ti.com SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 MON(1:10) 3.3V UCD9090 POWER SUPPLY /EN VOUT 10k W GPIO Vout VFB 250 kHz - 1MHz FPWM 1 R1 VFB Vmarg R3 R4 C1 Closed Loop Margining R2 Figure 22. Closed-Loop Margining RUN-TIME CLOCK The run-time clock value is in milliseconds and days. Both are 32-bit numbers. Issuing a STORE_DEFAULT_ALL command saves this value in nonvolatile memory. Detection of a power-down condition can also save the value (see BROWNOUT FUNCTION). The run-time clock is also writable. This allows the host to correct the clock periodically. It also allows initializing the clock to the actual, absolute time in years (for example, March 23, 2010). The user must translate the absolute time to days and milliseconds. The three usage scenarios for the run-time clock are: * Time from restart (reset or power-on) - the run-time clock starts from 0 each time a restart occurs * Absolute run-time, or operating time - the device preserves the run-time clock setting across restarts, for tracking 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.) * Local time - an external processor sets the run-time clock to real-world time at each time the device restarts. The run-time clock value is the timestamp for any logged faults. SYSTEM RESET SIGNAL The UCD9090-Q1 can generate a programmable system-reset pulse as part of sequence-on. Programming a GPIO to remain deasserted until the voltage of a particular rail or combination of rails reaches its respective POWER_GOOD_ON levels, plus a programmable delay time, creates the pulse. Program the system-reset delay duration as shown in Table 7. See an example of two SYSTEM RESET signals in Figure 23. Configuration of the first SYSTEM RESET signal is such that it becomes de-asserted on Power Good On and asserted on Power Good Off after a given common delay time. Configurationn of the second SYSTEM RESET signal is such that it sends a pulse after a delay time on achieving Power Good On. The pulse duration is configurable between 0.001 s and 32.256 s. See the UCD90xxx Sequencer and System Health Controller PMBus Command Reference for pulse-duration 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 23. System Reset With and Without Pulse Setting Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 29 UCD9090-Q1 SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 www.ti.com The system reset can react to watchdog timing. In Figure 24, 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 configuration includes a start time and a reset time. If these times expire without the WDI clearing them, then the expectation is that the CPU providing the watchdog signal is not operating. Either a delay or GPI tracking-release delay toggles the SYSTEM RESET to determine 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 24. System Reset With Watchdog 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 WATCHDOG TIMER The user can configure a GPI and GPO as a watchdog timer (WDT). The WDT can be independent of powersupply sequencing or tied to a GPIO functioning as a watchdog output (WDO) configured to provide a systemreset signal. One can reset the WDT 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 SYSTEM_WATCHDOG_RESET command can replace the WDI and the Boolean-logic-defined GPOs or the system-reset function can manifest the WDO. 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 time-out sequence begins. 30 Submit Documentation Feedback Copyright (c) 2013, Texas Instruments Incorporated Product Folder Links :UCD9090-Q1 UCD9090-Q1 www.ti.com SLVSBH9A - JANUARY 2013 - REVISED FEBRUARY 2013 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 The watchdog time-out is programmable from 0.001s to 32.256 s. See the UCD90xxx Sequencer and System Health Controller PMBus Command Reference for details on configuring the watchdog time-out. If the WDT times out, the UCD9090-Q1 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 time-out, toggling the WDI pin or writing to SYSTEM_WATCHDOG_RESET over I2C restarts the WDT. WDI