![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
www.latticesemi.com 1 6at6_01.0 ISPPAC-POWR6AT6 in-system programmable power supply monitoring and margining controller april 2006 preliminary data sheet ?2006 lattice semiconductor corp. all lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www .latticesemi.com/legal. all other brand or product names are trademarks or registered trademarks of their respective holders. the speci?ations and information h erein are subject to change without notice. description lattice s power manager ii ISPPAC-POWR6AT6 is a general-purpose power-supply monitoring and margin- ing controller, incorporating in-system programmable analog functions implemented in non-volatile e 2 cmos technology. the ISPPAC-POWR6AT6 device provides six independent analog input channels to monitor up to six power supply test points. each of these input chan- nels offers a differential input to support remote ground sensing. the ISPPAC-POWR6AT6 incorporates six dacs for gen- erating a trimming voltage to control the output voltage of a power supply. the trimming voltage can be set to four hardware selectable preset values (voltage pro?es) or can be dynamically loaded in to the dac through the i 2 c bus. additionally, each power supply output voltage can be maintained typically within 0.5% tolerance across various load conditions using the digital closed loop control mode. the operating voltage pro?e can be selected using external hardware pins. features power supply margin and trim functions trim and margin up to six power supplies dynamic voltage control through i 2 c four hardware selectable voltage pro?es independent digital closed-loop trim function for each output analog input monitoring six analog monitor inputs differential input architecture for accurate remote ground sensing 10-bit adc for direct voltage measurements 2-wire (i 2 c/smbus compatible) interface readout of the adc dynamic trimming/margining control other features programmable analog circuitry wide supply range, 2.8v to 3.96v in-system programmable through jtag industrial temperature range: -40? to +85? 32-pin qfn package, only 5mm x 5mm, lead- free option application block diagram po w er s u pply margin/trim control 6 analog monitor inp u ts i 2 c interface 6 analog trim o u tp u ts adc ISPPAC-POWR6AT6 3.3 v 2.5 v 1. 8v pol#1 pol#2 pol#3 other board circ u itry trim v o u t trim v o u t trim v o u t trim v o u t trim v o u t trim v o u t cpu i 2 c b u s the on-chip 10-bit a/d converter can both be used to monitor the v mon voltage through the i 2 c bus as well as for implementing digital closed loop mode for maintain- ing the output voltage of all power supplies controlled by the monitoring and trimming section of the isppac- powr6at6 device. the i 2 c bus/smbus interface allows an external micro- controller to measure the voltages connected to the v mon analog monitor inputs and load the dacs for the generation of the trimming voltages of the external dc- dc converters.
lattice semiconductor ISPPAC-POWR6AT6 data sheet 2 figure 1. ISPPAC-POWR6AT6 block diagram adc trim1 trim2 trim3 trim4 trim5 trim6 control logic i 2 c interface scl sda jtag interface osc set point registers decoder ISPPAC-POWR6AT6 vmon1gs cltenb vps0 vps1 vccd vcca cltlock/smba vmon1 vmon2gs vmon2 vmon3gs vmon3 vmon4gs tms tck tdi tdo vccj gnd vmon4 vmon5gs vmon5 vmon6gs vmon6 dac trimcell 1 dac trimcell 2 dac trimcell 3 dac trimcell 4 dac trimcell 5 dac trimcell 6 lattice semiconductor ISPPAC-POWR6AT6 data sheet 3 pin descriptions number name pin type voltage range description 7 vps0 digital input vccd trim select input 0 8 vps1 digital input vccd trim select input 1 6 cltenb digital input vccd enables closed loop trim process (asserted low) 9 cltlock/ smba open drain output 1 0v to 5.5v signals that all trimcells selected for closed- loop trim have reached a trim locked condi- tion. can be con?ured to be compliant with smbus alert protocol. 2 15 vmon1 analog input -0.3v to 5.75v voltage monitor 1 input 14 vmon1gs analog input -0.3v to 0.3v 3 voltage monitor 1 ground sense 17 vmon2 analog input -0.3v to 5.75v voltage monitor 2 input 16 vmon2gs analog input -0.3v to 0.3v 3 voltage monitor 2 ground sense 19 vmon3 analog input -0.3v to 5.75v voltage monitor 3 input 18 vmon3gs analog input -0.3v to 0.3v 3 voltage monitor 3 ground sense 21 vmon4 analog input -0.3v to 5.75v voltage monitor 4 input 20 vmon4gs analog input -0.3v to 0.3v 3 voltage monitor 4 ground sense 23 vmon5 analog input -0.3v to 5.75v voltage monitor 5 input 22 vmon5gs analog input -0.3v to 0.3v 3 voltage monitor 5 ground sense 25 vmon6 analog input -0.3v to 5.75v voltage monitor 6 input 24 vmon6gs analog input -0.3v to 0.3v 3 voltage monitor 6 ground sense 32 gnd ground ground ground 12 vccd 4 power 2.8v to 3.96v core vcc, main power supply 13 vcca 4 power 2.8v to 3.96v analog power supply 2 vccj power 2.25v to 3.6v vcc for jtag logic interface pins 31 trim1 analog output -320mv to +320mv from programmable dac offset trim dac output 1 30 trim2 analog output -320mv to +320mv from programmable dac offset trim dac output 2 29 trim3 analog output -320mv to +320mv from programmable dac offset trim dac output 3 28 trim4 analog output -320mv to +320mv from programmable dac offset trim dac output 4 27 trim5 analog output -320mv to +320mv from programmable dac offset trim dac output 5 26 trim6 analog output -320mv to +320mv from programmable dac offset trim dac output 6 lattice semiconductor ISPPAC-POWR6AT6 data sheet 4 1 tdo digital output jtag test data out 3 tck digital input jtag test clock input 5 tms digital input jtag test mode select; internal pullup 4 tdi digital input jtag test data in; internal pullup 10 scl digital input i 2 c serial clock input 11 sda digital i/o i 2 c serial data, bi-directional pin 1. open-drain outputs require an external pull-up resistor to a supply. 2. normally asserted low, but can be programmed to assert high (open) if desired. 3. the vmonxgs inputs are the ground sense line for each given vmon pin. the vmon input pins along with the vmonxgs ground sense pins implement a differential pair for each voltage monitor to allow remote sense at the load. vmonxgs lines must be connected and are not to exceed -0.3v to +0.3v in reference to the gnd pin. 4. vcca and vccd pins must be connected together on the circuit board. pin descriptions (cont.) number name pin type voltage range description lattice semiconductor ISPPAC-POWR6AT6 data sheet 5 absolute maximum ratings absolute maximum ratings are shown in the table below. stresses beyond those listed may cause permanent dam- age to the device. functional operation of the device at these or any other conditions beyond those indicated in the recommended operating conditions of this speci?ation is not implied. recommended operating conditions analog speci?ations analog voltage monitor inputs (v mon ) symbol parameter conditions min. max. units v ccd core supply -0.5 4.5 v v cca analog supply -0.5 4.5 v v ccj jtag logic supply -0.5 6 v v in digital input voltage (all digital i/o pins) -0.5 6 v v mon+ v mon input voltage -0.5 6 v v mongs v mon input voltage ground sense -0.5 6 v t s storage temperature -65 150 o c t a ambient temperature -65 125 o c symbol parameter conditions min. max. units v ccd, v cca core supply voltage at pin 2.8 3.96 v v ccj jtag logic supply voltage at pin 2.25 3.6 v v in input voltage at digital input pins -0.3 5.5 v v mon input voltage at v mon pins -0.3 5.9 v v mongs input voltage at v mongs pins -0.3 0.3 v v out open-drain output voltage cltlock/smba -0.3 5.5 v t aprog ambient temperature during programming -40 85 o c t a ambient temperature power applied -40 85 o c symbol parameter conditions min. typ. max. units i cc 1 supply current 10 ma i ccj supply current 1ma 1. includes currents on v ccd and v cca supplies. symbol parameter conditions min. typ. max. units r in input resistance input mode = attenuated 1 50 65 80 k input mode = unattenuated 10 m c in input capacitance 12 pf 1. true for vmon input voltage from 600mv to 2.048v. values less than 600mv will see higher input impedance values. lattice semiconductor ISPPAC-POWR6AT6 data sheet 6 margin/trim dac output characteristics adc characteristics adc error budget across entire operating temperature range symbol parameter conditions min typ max units resolution 8(7+sign) bits fsr full scale range +/-320 mv lsb lsb step size 2.5 mv i out output source/sink current -125 125 ? v bpz bipolar zero output voltage (code=80h) offset 1 0.6 v offset 2 0.8 offset 3 1.0 offset 4 1.25 ts trimcell output voltage settling time 1 dac code changed from 80h to ffh or 80h to 00h 2.5 ms single dac code change 256 ? c_load maximum load capacitance 50 pf t updatem update time through i 2 c port 2 260 ? tose total open loop supply voltage error 3 full scale dac corre- sponds to ?% supply voltage variation -0.75 +0.75 % 1. to 1% of set value with 50pf load connected to trim pins. 2. total time required to update a single trimx output value by setting the associated dac through the i 2 c port. 3. this is the total resultant error in the trimmed power supply output voltage referred to any dac code due to the dac s inl, d nl, gain, out- put impedance, offset error and bipolar offset error across the industrial temperature range and the ISPPAC-POWR6AT6 operating v cca and v ccd ranges. symbol parameter conditions min. typ. max. units adc resolution 10 bits vin input range full scale programmable attenuator = 1 0 2.048 v programmable attenuator = 3 0 5.75 1 v t convert conversion complete time time from i 2 c request to complete one conversion cycle 200 2 ? adc step size lsb programmable attenuator = 1 2 mv programmable attenuator = 3 6 mv eattenuator error due to attenuator programmable attenuator = 3 +/- 0.1 % 1. maximum voltage is limited by v monx pin (theoretical maximum is 6.144v). 2. minimum time to wait for valid adc result. applies when not reading the done status bit (via i 2 c) to determine adc. symbol parameter conditions min. typ. max. units tadc error total measurement error at any voltage 1 measurement range 600 mv to 2.048v, vmonxgs > -100mv, attenuator =1 -8 +/-4 8 mv measurement range 600 mv to 2.048v, vmonxgs > -200mv, attenuator =1 +/-6 mv measurement range 0 to 2.048v, vmonxgs > -200mv, attenuator =1 +/-10 mv 1. total error, guaranteed by characterization, includes inl, dnl, gain, offset, and psr specs of the adc. lattice semiconductor ISPPAC-POWR6AT6 data sheet 7 digital speci?ations over recommended operating conditions i 2 c port characteristics symbol parameter conditions min. typ. max. units i il ,i ih input leakage, no pull-up/pull-down +/-10 ? i pu input pull-up current (tms, tdi) 70 ? v il voltage input, logic low 1 vps[0:1], tdi, tms, cltenb, 3.3v supply 0.8 v vps[0:1], tdi, tms, cltenb, 2.5v supply 0.7 v ih voltage input, logic high 1 vps[0:1], tdi, tms, cltenb, 3.3v supply 2.0 v vps[0:1], tdi, tms, cltenb, 2.5v supply 1.7 v ol cltlock/smba i sink = 20ma 0.8 v 1. cltenb, vps[0:1] referenced to v ccd ; tdo, tdi, tms referenced to v ccj . symbol de?ition 100khz 400khz units min. max. min. max. f i2c i 2 c clock/data rate 100 1 400 1 khz t su;sta after start 4.7 0.6 us t hd;sta after start 4 0.6 us t su;dat data setup 250 100 ns t su;sto stop setup 4 0.6 us t hd;dat data hold; scl= vih_min = 2.1v 0.3 3.45 0.3 0.9 us t low clock low period 4.7 1.3 us t high clock high period 4 0.6 us t f fall time; 2.25v to 0.65v 300 300 ns t r rise time; 0.65v to 2.25v 1000 300 ns t timeout detect clock low timeout 25 35 25 35 ms t por device must be operational after power-on reset 500 500 ms t buf bus free time between stop and start condition 4.7 1.3 us 1. if f i2c is less than 50khz, then the adc done status bit is not guaranteed to be set after a valid conversion request is completed. in this case, waiting for the t convert minimum time after a convert request is made is the only way to guarantee a valid conversion is ready for readout. when f i2c is greater than 50khz, adc conversion complete is ensured by waiting for the done status bit. lattice semiconductor ISPPAC-POWR6AT6 data sheet 8 timing for jtag operations figure 2. erase (user erase or erase all) timing diagram figure 3. programming timing diagram symbol parameter conditions min. typ. max. units t ispen program enable delay time 10 ? t ispdis program disable delay time 30 ? t hvdis high voltage discharge time, program 30 s t hvdis high voltage discharge time, erase 200 ? t cen falling edge of tck to tdo active 10 ns t cdis falling edge of tck to tdo disable 10 ns t su1 setup time 5 ns t h hold time 10 ns t ckh tck clock pulse width, high 20 ns t ckl tck clock pulse width, low 20 ns f max maximum tck clock frequency 25 mhz t co falling edge of tck to valid output 10 ns t pwv verify pulse width 30 ? t pwp programming pulse width 20 ms vih vil vih vil update-ir run-test/idle (erase) select-dr scan clock to shift-ir state and shift in the discharge instruction, then clock to the run-test/idle state run-test/idle (discharge) specified by the data sheet tms tck state t h t h t h t h t h t h t su1 t su1 t su1 t su1 t su1 t su1 t su2 t ckh t ckh t ckh t ckh t ckh t gkl t gkl tms tck state vih vil vih vi l update-ir run-test/idle (program) select-dr scan clock to shift-ir state and shift in the next instruction, which will stop the discharge process update-ir t su1 t su1 t su1 t su1 t su1 t h t h t h t h t h t ckl t pwp t ckh t ckh t ckh t ckh t ckl lattice semiconductor ISPPAC-POWR6AT6 data sheet 9 figure 4. verify timing diagram figure 5. discharge timing diagram tms tck state vih vil vih vil update-ir run-test/idle (program) select-dr scan clock to shift-ir state and shift in the next instruction update-ir t h t h t h t h t h t ckh t ckh t ckh t ckl t pwv t ckh t ckl t su1 t su1 t su1 t su1 t su1 tms tck state vih vil vih vil update-ir run-test/idle (erase or program) select-dr scan clock to shift-ir state and shift in the verify instruction, then clock to the run-test/idle state run-test/idle (verify) specified by the data sheet actual t h t h t h t h t h t h t su1 t ckh t hvdis (actual) t ckh t ckh t ckh t ckl t pwp t pwv t ckh t ckl t pwv t su1 t su1 t su1 t su1 t su1 lattice semiconductor ISPPAC-POWR6AT6 data sheet 10 theory of operation voltage measurement with the on-chip analog to digital converter (adc) the ISPPAC-POWR6AT6 has an on-chip analog to digital converter that can be used for measuring the voltages at the vmon inputs. the adc is also used in closed loop trimming of dc-dc converters. close loop trimming is cov- ered later in this document. figure 6. adc monitoring vmon1 to vmon6 figure 6 shows the adc circuit arrangement within the ISPPAC-POWR6AT6 device. the adc can measure all ana- log input voltages through the multiplexer, adc mux. the programmable attenuator between the adc mux and vmon pins can be con?ured as divided-by-3 or divided-by-1 (no attenuation). the divided-by-3 setting is used to measure voltages from 0v to 6v range and divided-by-1 setting is used to measure the voltages from 0v to 2v range. a microcontroller can place a request for any vmon voltage measurement at any time through the i 2 c bus. upon the receipt of an i 2 c command, the adc will be connected to the i 2 c selected vmon through the adc mux. the adc output is then latched into the i 2 c readout registers. ? / ? ? / ? ? / ? ? / ? v mo n 1 v mo n 2 v mo n 3 v mo n 4 10 adc adc mux pro g rammable attenuator from closed loop trim circ u it to closed loop trim circ u it to i 2 c reado u t register internal v ref- 2.04 8v from i 2 c adc mux address 3 + + + + ? / ? v mo n 5 + ? / ? v mo n 6 + lattice semiconductor ISPPAC-POWR6AT6 data sheet 11 calculation the algorithm to convert the adc code to the corresponding voltage takes into consideration the attenuation bit value. in other words, if the attenuation bit is set, then adc output logic multiplies the 10-bit adc code by 3 to cal- culate the actual voltage at that vmon input. the following formula can always be used to calculate the actual volt- age from the adc code. voltage at the vmonx pins vmonx = adc code (12 bits 1 , converted to decimal) * 2mv 1 note: adc_value_high (8 bits), adc_value_low (4 bits) read from i 2 c/smbus interface controlling power supply output voltage with the margin/ trim block one of the key features of the ISPPAC-POWR6AT6 is its ability to make adjustments to the power supplies that it may also be monitoring. this is accomplished through the trim and margin block of the device. the trim and mar- gin block can adjust voltages of up to six different power supplies through trimcells as shown in figure 7. the dc- dc blocks in the ?ure represent virtually any type of dc power supply that has a trim or voltage adjustment input. this can be an off-the-shelf unit or custom circuit designed around a switching regulator ic. the interface between the ISPPAC-POWR6AT6 and the dc power supply is represented by a single resistor (r1 to r6) to simplify the diagram. each of these resistors represents a resistor network. other control signals driving the margin/trim block are: vps [1:0] ?control signals from device pins common to all six trimcells, which are used to select the active voltage pro?e for all trimcells together. adc input ?used to determine the trimmed dc-dc converter voltage. cltenb ?used to enable closed loop trimming of all trimcells together. next to each dc-dc converter, four voltages are shown. these voltages correspond to the operating voltage pro?e of the margin/trim block. when the vps[1:0] = 00, representing voltage pro?e 0: (voltage pro?e 0 is recommended to be used for the nor- mal circuit operation) the output voltage of the dc-dc converter controlled by the trim 1 pin of the ISPPAC-POWR6AT6 will be 1v and that trimcell is operating in closed loop trim mode. at the same time, the dc-dc converters controlled by trim 2, trim 3 and trim 6 pins output 1.2v, 1.5v and 3.3v respectively. when the vps[1:0] = 01, representing voltage pro?e 1 being active: the dc-dc output voltage controlled by trim 1, 2, 3, and 6 pins will be 1.05v, 1.26v, 1.57v, and 3.46v. these sup- ply voltages correspond to 5% above their respective normal operating voltage (also called as margin high). similarly, when vps[1:0] = 11, all dc-dc converters are margined low by 5%. lattice semiconductor ISPPAC-POWR6AT6 data sheet 12 figure 7. ISPPAC-POWR6AT6 trim and margin block there are six trimcells in the ISPPAC-POWR6AT6 device, enabling simultaneous control of up to six individual power supplies. each trimcell can generate up to four trimming voltages to control the output voltage of the dc-dc converter. figure 8. trimcell driving a typical dc-dc converter trimcell #1 (closed loop) trimcell #2 (i 2 c update) trimcell #3 (i 2 c update) trimcell #6 (register 0) dc-dc trim-in v i n 0123 1 v (clt) 1.05 v 0.97 v 0.95 v dc-dc output volta g e controlled by profiles dc-dc dc-dc di g ital closed loop and i 2 c interface control ISPPAC-POWR6AT6 mar g in/trim block trim 1 trim 2 trim 3 trim 6 trim-in trim-in r1* r2* r3* r6* *indicates resistor net w ork (see fig u re 8 ). inp u t from adc m u x read ?10- b it adc code v ps[0:1] clte nb cltlock/smba v i n v i n dc-dc trim-in v i n 1.2 v (i 2 c) 1.26 v 1.16 v 1.14 v 1.5 v (i 2 c) 1.57 v 1.45 v 1.42 v 3.3 v (ee) 3.46 v 3.20 v 3.13 v v out v i n r 3 r 1 r 2 trimcell # n dac dc-dc con v erter trim v out lattice semiconductor ISPPAC-POWR6AT6 data sheet 13 figure 8 shows the resistor network between the trimcell #n in the ISPPAC-POWR6AT6 and the dc-dc converter. the values of these resistors depend on the type of dc-dc converter used and its operating voltage range. the method to calculate the values of the resistors r1, r2, and r3 are described in a separate application note. voltage pro?e control the margin / trim block of ISPPAC-POWR6AT6 consists of six trimcells. because all six trimcells in the margin / trim block are controlled by a common voltage pro?e control signals, they all operate at the same voltage pro?e. the voltage pro?e control input comes from a pair of device pins: vps0, vps1. trimcell architecture the trimcell block diagram is shown in figure 9. the 8-bit dac at the output provides the trimming voltage required to set the output voltage of a programmable supply. each trimcell can be operated in any one of the four voltage pro?es. in each voltage pro?e the output trimming voltage can be set to a preset value. there are six 8-bit registers in each trimcell that, depending on the operational mode, set the dac value. of these, four dac values (dac register 0 to dac register 3) are stored in the e 2 cmos memory while the remaining register contents are stored in volatile registers. two multiplexers (mode mux and pro?e mux) control the routing of the code to the dac. the pro?e mux can be controlled by common trimcell voltage pro?e control signals. figure 9. ISPPAC-POWR6AT6 output trimcell figure 7 shows four power supply voltages next to each dc-dc converter. when the pro?e mux is set to voltage pro?e 3, the dc supply controlled by trim 1 will be at 0.95v, the dc supply controlled by trim 2 will be at 1.14v, 1.42v for trim 3 and 3.13v for trim 8. when voltage pro?e 0 is selected, trim 1 will set the supply to 1v, trim 2 and trim 3 will be set by the values that have been loaded using i 2 c at 1.2 and 1.5v, and trim 6 will be set to 3.3v. the following table summarizes the voltage pro?e selection and the corresponding dac output trimming voltage. the voltage pro?e selection is common to all six trimcells. dac register 0 (e 2 cmos) closed loop trim register dac register 3 (e 2 cmos) voltage profile 0 mode select (e2cmos) mode mux profile mux dac 00 01 10 11 trimx 2 8 8 8 8 8 8 8 dac register (i 2 c) 8 voltage profile 3 voltage profile 2 voltage profile 1 voltage profile 0 dac register 2 (e 2 cmos) dac register 1 (e 2 cmos) from closed loop trim circuit trimcell architecture common trimcell voltage profile control lattice semiconductor ISPPAC-POWR6AT6 data sheet 14 table 1. trimcell voltage pro?e and operating modes trimcell operation in voltage pro?es 1, 2 and 3: the output trimming voltage is determined by the code stored in the dac registers 1, 2, and 3 corresponding to the selected voltage pro?e. trimcell operation in voltage pro?e 0: the voltage pro?e 0 has three operating modes. they are dac register 0 select mode, dac register i 2 c select mode and closed loop trim mode. the mode selection is stored in the e 2 cmos con?uration memory. each of the six trimcells can be independently set to different operating modes during voltage pro?e 0 mode of operation. dac register 0 select mode: the contents of dac register 0 are stored in the on-chip e 2 cmos memory. when voltage pro?e 0 is selected, the dac will be loaded with the value stored in dac register 0. dac register i 2 c select mode: this mode is used if the power management arrangement requires an external microcontroller to control the dc-dc converter output voltage. the microcontroller updates the contents of the dac register i 2 c on the ? to set the trimming voltage to a desired value. the dac register i 2 c is a volatile register and is reset to 80h (dac at bipolar zero) upon power-on. the external microcontroller writes the correct dac code in this dac register i 2 c before enabling the programmable power supply. digital closed loop trim mode closed loop trim mode operation can be used when tight control over the dc-dc converter output voltage at a desired value is required. the closed loop trim mechanism operates by comparing the measured output voltage of the dc-dc converter with the internally stored voltage setpoint. the difference between the setpoint and the actual dc-dc converter voltage generates an error voltage. this error voltage adjusts the dc-dc converter output volt- age toward the setpoint. this operation iterates until the setpoint and the dc-dc converter voltage are equal. figure 10 shows the closed loop trim operation of a trimcell. at regular intervals (as determined by the update rate control register) the ISPPAC-POWR6AT6 device initiates the closed loop power supply voltage correction cycle through the following blocks: non-volatile setpoint register stores the desired output voltage on-chip adc is used to measure the voltage of the dc-dc converter three-state comparator is used to compare the measured voltage from the adc with the setpoint regis- ter contents. the output of the three state comparator can be one of the following: ?+1 if the setpoint voltage is greater than the dc-dc converter voltage ?-1 if the setpoint voltage is less than the dc-dc converter voltage ?0 if the setpoint voltage is equal to the dc-dc converter voltage channel polarity control determines the polarity of the error signal closed loop trim register is used to compute and store the dac code corresponding to the error voltage. the contents of the closed loop trim will be incremented or decremented depending on the channel polar- ity and the three-state comparator output. if the three-state comparator output is 0, the closed loop trim reg- ister contents are left unchanged. the dac in the trimcell is used to generate the analog error voltage that adjusts the attached dc-dc con- verter output voltage. vps[1:0] selected voltage pro?e selected mode trimming voltage is controlled by 11 voltage pro?e 3 dac register 3 (e 2 cmos) 10 voltage pro?e 2 dac register 2 (e 2 cmos) 01 voltage pro?e 1 dac register 1 (e 2 cmos) 00 voltage pro?e 0 dac register 0 select dac register 0 (e 2 cmos) dac register i 2 c select dac register (i 2 c) digital closed loop trim closed loop trim register lattice semiconductor ISPPAC-POWR6AT6 data sheet 15 figure 10. digital closed loop trim operation the closed loop trim cycle interval is programmable and is set by the update rate control register. the following table lists the programmable update interval that can be selected by the update rate register. table 2. output dac update rate in digital closed loop mode closed loop trim control using the cltenb pin there is a one-to-one relationship between the selected trimcell and the corresponding vmon input for the closed loop operation. for example, if trimcell 3 is used to control the power supply in the closed loop trim mode, vmon3 must be used to monitor its output power supply voltage. the cltenb enable pin (active low) simultaneously starts the closed loop trimming process for all isppac- powr6at6 trim outputs so con?ured. behavior of individual trim output pins is de?ed using lattice pac- designer design software and stored in the ISPPAC-POWR6AT6's non-volatile e 2 cmos memory. in addition to a closed-loop trim control option, two other con?uration alternatives are available. the ?st stores a ?ed, or static, value for a given trim output in e 2 cmos memory. the second enables dynamic trim adjustments to be made using an external microcontroller via the ISPPAC-POWR6AT6's i 2 c interface bus. neither of these options is affected by the cltenb pin, however. when the ISPPAC-POWR6AT6's cltenb pin goes low, closed-loop trimming is enabled. when cltenb subse- quently goes high, there is a brief delay after which closed-loop trimming is suspended. the delay is the time required for ISPPAC-POWR6AT6 control logic to complete a trim update cycle. table 2 shows typical times for update cycles based on which of four trim rates is initially chosen in pac-designer. when the trim process is halted, it should also be noted the trim output dacs have constant voltage output levels (corresponding to their last input code setting). this condition can be safely maintained inde?itely, but resuming closed-loop trimming (by tak- ing cltenb low) better insures power supplies remain precisely adjusted under all possible conditions. when re- enabled, closed-loop trimming restarts where it left off. in this sense, the cltenb pin can be thought of as a ?ause control for closed-loop trim. update rate control value update interval 00 432 ? 01 1.06 ms 10 8.74 ms 11 16.9 ms adc three-state digital compare +/-1 setpoi n t (e 2 cmos) e 2 cmos registers (+1/0/-1) cha nn el polarity (e 2 cmos) trimx r* *indicates resistor net w ork (see fig u re 8 ). v mo n x trimi n dc-dc co nv erter v out g n d powr6at6 dac register 3 dac register 2 closed loop trim register dac trimcell update rate co n trol e 2 cmos dac register 1 dac register 0 dac register i 2 c profile 0 mode control (e 2 cmos) profile control lattice semiconductor ISPPAC-POWR6AT6 data sheet 16 it should also be noted that whenever the vps0 and vps1 pins are not both low, they effectively stop closed-loop trim the same way the cltenb pin does when it goes high. that is, whenever an alternate trim mode (other than vps0=0 and vps1=0) is selected, the trim process is suspended as described above. assuming the cltenb pin is asserted, when both vps0 and vps1 are low again, closed-loop trimming will resume where it left off. it is recommended that the cltenb pin not be activated until after any necessary power supply sequencing is completed to prevent an ?pen loop condition from occurring. otherwise, if control of when closed-loop trimming begins is not critical, the cltenb pin can be tied to ground. this will cause closed-loop trim to begin immediately after the initial power on of the ISPPAC-POWR6AT6 is completed. closed loop trim start-up behavior the contents of the closed loop register, upon power-up, will contain a value 80h (bipolar-zero) value. the dac output voltage will be equal to the programmed offset voltage. usually under this condition, the power supply out- put will be close to its nominal voltage. if the power supply trimming should start after reaching its desired output voltage, the corresponding dac code can be loaded into the closed loop trim register through i 2 c (same address as the dac register i 2 c mode) before activating the cltenb pin. details of the digital to analog converter (dac) each trimcell has an 8-bit bipolar dac to set the trimming voltage (figure 11). the full-scale output voltage of the dac is +/- 320 mv. a code of 80h results in the dac output set at its bi-polar zero value. the voltage output from the dac is added to a programmable offset value and the resultant voltage is then applied to the trim output pin. the offset voltage is typically selected to be approximately equal to the dc-dc converter open circuit trim node voltage. this results in maximizing the dc-dc converter output voltage range. the programmed offset value can be set to 0.6v, 0.8v, 1.0v or 1.25v. this value selection is stored in e 2 cmos memory and cannot be changed dynamically. figure 11. vbpz offset voltage is added to dac output voltage to derive trim pad voltage reset command via jtag or i 2 c issuing a reset instruction via jtag or i 2 c will force all trim outputs selected for digital closed-loop trim control back to their initial output level (code 80h + vbpz). after that, assuming the cltenb is still asserted, digital closed loop dac 7 bits + sign (-320mv to +320mv) vbpz offset (0.6v,0.8v,1.0v,1.25v) e 2 cmos 8 trimx pad from trim registers trimcell x lattice semiconductor ISPPAC-POWR6AT6 data sheet 17 trim will begin and cltlock/smba will only reassert when the trim process is complete. contents of the i 2 c cltlock_status register (0x00), however are not fully reset to initial conditions until the cltlock/smba pin achieves a reasserted state. caution: issuing a reset command through i 2 c or jtag during the ISPPAC-POWR6AT6 device operation, results in the device aborting all operations and returning to the power-on reset state except for the one condition mentioned above. i 2 c/smbus interface i 2 c and smbus are low-speed serial interface protocols designed to enable communications among a number of devices on a circuit board. the ISPPAC-POWR6AT6 supports a 7-bit addressing of the i 2 c communications proto- col, as well as smbtimeout and smbalert features of the smbus, enabling it to easily integrated into many types of modern power management systems. figure 12 shows a typical i 2 c con?uration, in which one or more isppac- powr6at6s are slaved to a supervisory microcontroller. sda is used to carry data signals, while scl provides a synchronous clock signal. the smbalert line is only present in smbus systems. the 7-bit i 2 c address of the powr6at6 is fully programmable through the jtag port. figure 12. ISPPAC-POWR6AT6 in i 2 c/smbus system in both the i 2 c and smbus protocols, the bus is controlled by a single master device at any given time. this mas- ter device generates the scl clock signal and coordinates all data transfers to and from a number of slave devices. the ISPPAC-POWR6AT6 is con?ured as a slave device, and cannot independently coordinate data transfers. each slave device on a given i 2 c bus is assigned a unique address. the ISPPAC-POWR6AT6 implements the 7-bit addressing portion of the standard. any 7-bit address can be assigned to the ISPPAC-POWR6AT6 device by pro- gramming through jtag. when selecting a device address, one should note that several addresses are reserved by the i 2 c and/or smbus standards, and should not be assigned to ISPPAC-POWR6AT6 devices to assure bus compatibility. table 3 lists these reserved addresses. microprocessor (i 2 c master) ISPPAC-POWR6AT6 (i 2 c slave) sda sda sda scl scl scl scl/smclk (clock) sda/smdat (data) smbalert out5/ smba out5/ smba to other i 2 c devices interrupt v+ ISPPAC-POWR6AT6 (i 2 c slave) lattice semiconductor ISPPAC-POWR6AT6 data sheet 18 table 3. i 2 c/smbus reserved slave device addresses the ISPPAC-POWR6AT6 |