Lattice Power Manager II Hercules User manual

Power Manager II
Hercules Development Kit
This document provides a brief introduction and instructions to install and run the Power Manager II
Hercules Standard and Advanced Development Kits on Windows 7/Vista/XP. More documentation
can be downloaded from www.latticesemi.com/herculesdevkit.
Check Kit Contents
The Power Manager II Hercules Development Kit
contains the following items:
• PowerManagerIIHerculesEvaluationBoard
pre-loaded with Hercules support demos
• USBconnectorcable
•12VDCwalladapterpowersupply
• QuickSTARTGuide
Static electricity can shorten the lifespan of electronic
components. Please handle the kit components
carefully.
Powering the Evaluation Board
Runningthepre-loadeddemonstrationdoesnotrequireconnectingtheprovidedUSBcabletoa
PC.TheUSBcableisrequiredtomodifythepre-loadeddemo,interfacetoadvanceddemos,or
loadpre-congureddesigns.DonotplugtheUSBcableintothePCuntilafterloadingLattice’s
USBdrivers(includedwithispVM).Thedefaultoperatingsystemdriversarenotcompatiblewith
Latticeprogrammingtools.
This procedure is continued on the next page.
Main 12V DC Supply Main Supply Toggle Switch 1.2V DC-DC Supply
Supply Status
LEDs
PLD Output
LEDs
3-Digit
LCD
Panel
Demo DIP
Switch
Slide
Pot.
VMON9
Mode
Switch
Interface
Select
Switch
Interface
LEDs
USB
External
3.3V DC
Supply
External 12V
Supply
MachXO
LatticeMico8
Reset Switch

Power Manager II
Hercules Development Kit
ThePowerManagerIIHerculesDevelopmentKitUser’sGuideisavailablefordownloadalongwith
thelatestUSBdriversanddesignsoftwareatwww.latticesemi.com/herculesdevkit.
Inthefollowingsteps,theevaluationboardwillbepoweredandmadereadytorunthepre-loaded
demonstrations.VerifythejumpersJ5(VMON7)andJ6(VMON8)selectthe“12V_OR”optionand
notthe“cPCI_HS”option.
1.ConnecttheACadapterfromawalloutlettothepowersocket.Afteraconnectionismadetothe
12Vwalladapterplug,thegreenPWR_3.3VinterfaceLED(D14)willlightupindicatingtheon-
board3.3Vregulator(U1)isoperational.ThePowerManagerIIwillnextilluminatethreesupply
statusLEDs:12V_HS,1.2V_SEQ,andPWR_GOOD(D1,D2,andD7).TheTDO(D12)and
data(D8throughD11)LEDsmayalsolightup.
Run the Demonstrations
Thisstepdescribesthefunctionalityofthepre-conguredPowerManagerIIHerculesdemos:
voltagesupplytrimming,supplymargining,voltagemonitoring,faultmonitoringandlogging.
Operationofthepre-loadeddemosisaccomplishedbysettingthedemoDIPswitchesandpressing
themodeswitch(SW3).Thefollowingtablessummarizethedemoandswitchsettingspertainingto
each of the pre-loaded demos.
Demo
SW3
Up=1
Pressed=0
Demo DIP Switch Setting
Comment
Mode VMON
7 6 5 4 3 2 1 0
Default n/a 0 0 0 0 0 0 0 0 LCD self-test
1 1=CLT, 0=OLT 0 0 0 0 0 0 0 1 Trim 1.2V to <1% error; SW3 = trim mode;
VMON1/LCD = Measured supply voltage
2 1=CLT, 0=OLT 0 0 0 1 0 0 0 1 Margin 1.2V down 7.5%; SW3 = trim mode;
VMON1/LCD = Measured supply voltage
2a 1=CLT, 0 =OLT 0 0 1 0 0 0 0 1 Margin 1.2V up 7.5%; SW3 = trim mode;
VMON1/LCD = Measured supply voltage
3 n/a 0000101112V_HS voltage
VMON11/LCD = Measured supply voltage
4 n/a 00001001Fault monitoring of slide potentiometer voltage (Vpot);
VMON9/LCD = Measured Vpot voltage (0V to 3.3V)
4a 1=Display
0=Clear All 1 x x x x x x x LCD = Total count of faults logged;
Press SW3 to reset count to zero
Demo
SW3
Default=1
Pressed=0
Demo DIP Switch Setting
Comment
Mode VID
76543210
5 1=Hold, 0=Update 0 1 1 1 v8 v4 v2 v1
Add VID (DIP 0-3) value to 1.2V supply voltage;
VID (v8, v4, v2, v1) is a binary value multiplied by 10mV;
For example: 0000b=0*10mV=0V, 0100b=4*10mV=40mV,
1000b=8·10mV=80mV; 1100b=12*10mV=120mV;
VMON1/LCD=Measured supply voltage
5a 1=Hold, 0=Update 0 1 1 0 v8 v4 v2 v1
Subtract VID (DIP 0-3) value to 1.2V supply voltage;
VID (v8, v4, v2, v1) is a binary value multiplied by 10mV;
VMON1/LCD=Measured supply voltage
5b 1=Hold, 0=Update 0 1 0 x x x x x Turn off 1.2V supply; VMON1=LCD
Notes:
1. Themodeswitch(SW3)isequaltoalogicone(1)whennotpressed.Pressingthemodeswitch(SW3)entersalogiczero(0).
2. ThedemoDIPswitches(SW5)areequaltoalogicones(1)whenup.Placingtheswitchesdownmakesthemzeros(0).
3. CLTmeansclosedlooptrimmingmode(supplysetpointistrimmedtoanaccuratevalue).OLTmeansopenlooptrimtoprede-
terminedvalue(supplysetpointisapresetvoltageandnottrimmed).Inotherwords,Demos1and2useeitherCLTorOLTtrim
modedependingontheconditionofthemodeswitch(SW3).
4. PressingthePLDresetswitch(SW4)resetstheLatticeMico8controllerintheMachXO(U4),notthePOWR1220AT8(U3).
5. ThepositionofInterfaceSelectSwitches(SW2)doesnotaffectanyofthetestingintheQuickSTARTguide.

Power Manager II
Hercules Development Kit
Power Manager II Hercules Demos:
• Default State–WithdemoDIPswitchessetasshown(all0’s)theLCDwillcyclethroughitsself-
testsequencealongwiththePLDoutputLEDs.Thisisthedefault(shipped)turn-oncondition.
•Demo 1: Switching Power Supply Trim–ThePowerManagerIITrim-DACoutputtrimsthe
1.2Vsupplytobetterthan1%ofitsfactorysetvalue.ThisisdonebytheispPAC®-POWR1220AT8
andMachXO™usinganexternalclosedlooptrimtoadjustthefeedbackintotheregulatortrim
pin.TheLCDdisplaystheoutputvoltageofthe1.2VswitchingregulatoratVMON1usingthe
ADCinthePOWR1220AT8.Pressingandholdingdownthemode(SW3)switchchangesthetrim
modefromclosedlooptoopenloop.Inthismode,theTrim-DACoutputissettoaxed(stored)
digitalvaluewhichisselectedbytheVoltageProleSelectpinsofthePowerManagerII.
•Demo 2: Power Supply Margin Down–WithdemoDIPswitchessetasshown,thesupplyis
trimmedto-7.5%ofitsfactoryvalue(1.2V-0.09V=1.11V)usingclosedlooptrim.VMON1is
chosentomeasurethe1.2VDC-DCpowersupplyandthevalueisreadbythePOWR1220AT8
ADCanddisplayedontheLCD.Pressingthemodeswitchresultsinthetrimmodeswitching
fromclosedlooptoopenlooptrim.Thismeanstheoutputissettoaxed(stored)digitalvalue
and will not be as accurate as closed loop trim.
•Demo 2a: Power Supply Margin Up–WithdemoDIPswitchessetasshown,thesupplyis
trimmedto+7.5%ofitsfactoryvalue(1.2V+0.09V=1.29V)usingclosedlooptrim.VMON1
ischosentomeasurethe1.2VDC-DCpowersupplyandthevalueisreadbythePOWR1220AT8
ADCanddisplayedontheLCD.Pressingthemodeswitchresultsinthetrimmodeswitching
fromclosedlooptoopenlooptrim.Thismeanstheoutputissettoaxed(stored)digitalvalue
and will not be as accurate as closed loop trim.
•Demo 3: 12V Voltage–ThisisaPOWR1220AT8-enabledversionoftheinput12V.Theinput
12Vcancomefromthe12Vwallpluginputoranexternalsource.ThisvoltageexceedsVMON’s
6Vmaximuminputlimit.Anintermediatevoltageiscreatedbydividingbya4:1resistordivider
network.TheintermediatevoltageisreadatVMON11andappliedtotheinternalADCformea-
surement.Themeasuredvalueisthendigitallymultipliedby4anddisplayedontheLCD.
•Demo 4: Power Supply Fault Monitoring – The slider potentiometer simulates an over/under
voltageconditionona2.5VpowersupplyandismonitoredbyVMON9.Thefullrangeofvoltage
is0Vto3.25V.TheLCDdisplaysthevoltage.VMON9isconguredinthePowerManagerII
in“window”modewithalowertrippointof0.75Vandanuppertrippointof2.25V.Whenthe
voltageatVMON9isabovetheupperorbelowthelowertrippointafaultisdetectedbythe
PowerManagerII.ThesefaultsaredetectedandcountedforreadoutinDemo4a.Cyclingboard
power will also result in a fault being recorded. Note: These faults were not programmed to cause
a PWR_GOOD failure.
•Demo 4a: Fault Logging–TheLCDdisplaysthetotalcountoffaultsrecordedbythePower
ManagerIIandMachXO.Pressingthemodeswitch(SW3)clearsalltherecordedfaults.Faults
aredetectedbythePowerManagerIIwhenthesliderpotentiometerisoutsidethewindowlimits
(seeDemo4)orwhenpowerisremovedfromtheboard.
•Demos 5 and 5a: VID Voltage–TheTrim-DACoutputofthePowerManagerIIisusedtostep
the1.2VDC-DCsupplybasedonthevalueoftheVID-DIPswitches.Switches3-0providea
4-bitunsignedbinaryvaluerangingfrom0-15.Thisvalueismultipliedby10mVandaddedto,
orsubtractedfrom,thenominal1.2VbasedonthepolarityofdemoDIPswitch4.Forexample,
0000b=0*10mV=0V,0100b=4*10mV=40mV,1000b=8*10mV=80mV;1100b=12*10mV=120mV.
This procedure is continued on the next page.

Power Manager II
Hercules Development Kit
Done!
Congratulations!YouhavesuccessfullydemonstratedthePowerManagerIIHerculesDevelop-
mentKit.PleaserefertothePowerManagerIIHerculesDevelopmentKitUser’sGuideavailable
ontheLatticewebsiteatwww.latticesemi.com/herculesdevkit for the following:
• Runningadvanceddemos,includingvoltagemonitoring,viaI2CusingthePOWR1220AT8
•Detailsonadditionaldevelopmentboardfeaturesandoperation
•ModifyingthegeneratingthedemoprogramlesfromthePAC-Designer®projectsources
•Schematics
•GerberPCBlayoutartwork
Technical Support
IfyouexperienceproblemsrunningthekitdemospleaserefertotheTroubleshootingappendixin
thePowerManagerIIHerculesDevelopmentKitUser’sGuide.Ifproblemspersistorifanykit
contentsaremissing,pleaseemailusat[email protected]orcall1-800-528-8423(USA)
or+1503-268-8001(otherlocations).
QS008
November 2010
latticesemi.com
Copyright © 2010 Lattice Semiconductor Corporation. Lattice Semiconductor, L (stylized)
Lattice Semiconductor Corp., and Lattice (design), ispPAC, LatticeMico8, MachXO and
PAC-Designer are either registered trademarks or trademarks of Lattice Semiconductor
Corporation in the United States and/or other countries. Other product names used in this
publication are for identication purposes only and may be trademarks of their respective
companies.
Whenthemodeswitch(SW3)ispressedthevalueiscomputedfromtheDIPswitchsettingsand
storedasatargetvaluefortheclosedlooptrim.Note:thetrimmingofthe1.2Vsupplyislimited
to+/-150mVof1.2VbasedonTrim-DACrangeandinterfacecircuits.NotallpositiveVID
valuesinsidethisrangecanberealized.TheguaranteedpositiveVIDrangeis110mV,orasetting
of1011b.
•Demo 5b: VID Supply Shut-Down–SettingDIPswitch5toalogiczero(0)andpressingthe
modeswitch(SW3)willresultindisablingthe1.2Vsupply.SettingDIPswitch5toalogicone
(1)andpressingthemodeswitch(SW3)willenablethe1.2Vsupply.Note:Withoutanexternal
load,theoutputofthe1.2VDC-DCsupplywilloatuptoafewtenthsofavolt.
Table of contents
Other Lattice Microcontroller manuals
Popular Microcontroller manuals by other brands

Texas Instruments
Texas Instruments LaunchPad MSP430FR2311 user guide

Eurotech
Eurotech ANTARES user manual

PEI
PEI Enviro-Septic/SimpleSeptic Template 1A 2003 instruction manual

Lantronix
Lantronix Open-Q 660 mSOM user guide

Cypress Semiconductor
Cypress Semiconductor enCoRe II user guide

Silicon Laboratories
Silicon Laboratories SiM3U1xx manual