Example: bachelor of science

MIXED SIGNAL MICROCONTROLLER - TI.com

FEBRUARY2010 REVISEDFEBRUARY2013 MIXEDSIGNALMICROCONTROLLER1 FEATURES LowSupply- 16-BitTimer_AWithTwoCapture/CompareRegis ters Ultra-LowPowerConsumption UniversalSerialInterface(USI)SupportingS PI ActiveMode:220 A at1 MHz, (SeeTable1) A BrownoutDetector OffMode(RAMR etention) A 10-Bit200-kspsA/DConverterWithInternal FivePower-SavingModesReference,Sample-an d-Hold,andAutoscan Ultra-FastWake-UpFromStandbyModein(SeeTa ble1)LessThan1 s SerialOnboardProgramming, 16-BitRISCA rchitecture, ,CycleTimeProgrammableCodeProtectionbySe curity BasicClockModuleConfigurationsFuse InternalFrequenciesupto16 MHzWith On-ChipEmulationLogicWithSpy-Bi-WireOneC alibratedFrequencyInterface InternalVeryLowPowerLow-Frequency ForFamilyMembersDetails,SeeTable1(LF)Os

MSP430G2x31 MSP430G2x21 www.ti.com SLAS694J – FEBRUARY 2010– REVISED FEBRUARY 2013 MIXED SIGNAL MICROCONTROLLER 1FEATURES • Low Supply-VoltageRange: 1.8 V to 3.6 V • 16-BitTimer_A With Two Capture/Compare

Tags:

  Mixed, Signal, Microcontrollers, Mixed signal microcontroller

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of MIXED SIGNAL MICROCONTROLLER - TI.com

1 FEBRUARY2010 REVISEDFEBRUARY2013 MIXEDSIGNALMICROCONTROLLER1 FEATURES LowSupply- 16-BitTimer_AWithTwoCapture/CompareRegis ters Ultra-LowPowerConsumption UniversalSerialInterface(USI)SupportingS PI ActiveMode:220 A at1 MHz, (SeeTable1) A BrownoutDetector OffMode(RAMR etention) A 10-Bit200-kspsA/DConverterWithInternal FivePower-SavingModesReference,Sample-an d-Hold,andAutoscan Ultra-FastWake-UpFromStandbyModein(SeeTa ble1)LessThan1 s SerialOnboardProgramming, 16-BitRISCA rchitecture, ,CycleTimeProgrammableCodeProtectionbySe curity BasicClockModuleConfigurationsFuse InternalFrequenciesupto16 MHzWith On-ChipEmulationLogicWithSpy-Bi-WireOneC alibratedFrequencyInterface InternalVeryLowPowerLow-Frequency ForFamilyMembersDetails,SeeTable1(LF)Osc illator Availablein14-PinPlasticSmall-OutlineThi n 32-kHzCrystalPackage(TSSOP)(PW), 14-PinPlasticDual ExternalDigitalClockSourceInlinePackage( PDIP)(N),and16-PinQFNP ackage(RSA)

2 ForCompleteModuleDescriptions,SeetheMSP4 30x2xxFamilyUser s Guide(SLAU144) ,combinedwithfivelow-powermodes,is optimizedtoachieveextendedbatterylifein ,16-bitregisters, (DCO)allowswake-upfromlow-powermodestoac tivemodein lessthan1 built-in16- 10-bitA/Dconverterandbuilt-incommunicati oncapabilityusingsynchronousprotocols(SP IorI2C).Forconfigurationdetails, ,convertthemtodigitalvalues,andthenproce ssthedatafordisplayorfortransmissiontoa ,standardwarranty,andusein 2010 2013, FEBRUARY2010 (1)FlashRAMADC10 PackageDeviceBSLEEMT imer_AUSIC lockI/O(KB)(B)ChannelType(2)

3 MSP430G2231 IRSA1616-QFNMSP430G2231 IPW14-121281xTA218LF,DCO,VLO1014-TSSOPMS P430G2231IN1414-PDIPMSP430G2221 IRSA1616-QFNMSP430G2221 IPW14-121281xTA21-LF,DCO,VLO1014-TSSOPMS P430G2221IN1414-PDIPMSP430G2131 IRSA1616-QFNMSP430G2131 IPW14-111281xTA218LF,DCO,VLO1014-TSSOPMS P430G2131IN1414-PDIPMSP430G2121 IRSA1616-QFNMSP430G2121 IPW14-111281xTA21-LF,DCO,VLO1014-TSSOPMS P430G2121IN1414-PDIP(1)Forthemostcurrent packageandorderinginformation,seethePack ageOptionAddendumattheendofthisdocument, (2)Packagedrawings,thermaldata, 2010 2013, FEBRUARY2010 REVISEDFEBRUARY2013 DevicePinout,MSP430G2x21N ORPWPACKAGE(TOPVIEW)NOTE:Seeportschemati csin (TOPVIEW)NOTE:Seeportschematicsin 2010 2013, +/VEREF+ +/VEREF+ FEBRUARY2010 ,MSP430G2x31N ORPWPACKAGE(TOPVIEW)NOTE:Seeportschemati csin (TOPVIEW)NOTE:Seeportschematicsin 2010 2013,TexasInstrumentsIncorporatedClockSy stemBrownoutProtectionRST/NMIDVCCDVSSMCL KW atchdogWDT+15-BitTimer0_A22 CCRegisters16 MHzCPUincl.

4 16 RegistersEmulation2 BPJTAGI nterfaceSMCLKACLKMDBMABPort P18 I/OInterruptcapabilitypull- ch P22 I/OInterruptcapabilitypull-up/downresist ors2 USIU niversalSerialInterfaceSPI, I2 CClockSystemBrownoutProtectionRST/NMIDVC CDVSSMCLKW atchdogWDT+15-BitTimer0_A22 CCRegisters16 MHzCPUincl. 16 RegistersEmulation2 BPJTAGI nterfaceSMCLKACLKMDBMABPort P18 I/OInterruptcapabilitypull- P22 I/OInterruptcapabilitypull-up/downresist ors2 USIU niversalSerialInterfaceSPI, FEBRUARY2010 REVISEDFEBRUARY2013 FunctionalBlockDiagram,MSP430G2x21 FunctionalBlockDiagram,MSP430G2x31 Copyright 2010 2013,TexasInstrumentsIncorporatedSubmitD ocumentationFeedback5 MSP430G2x31 MSP430G2x21 SLAS694J FEBRUARY2010 , ,clocksignalTACLK input21I/OACLK/ACLK signaloutputA0 ADC10analoginputA0(1) ,capture.

5 CCI0 Ainput,compare:Out0outputA1 ADC10analoginputA1(1) ,capture:CCI1 Ainput,compare:Out1outputA2 ADC10analoginputA2(1) ,conversionclockoutput(1)54I/OA3/ADC10an aloginputA3(1)VREF-/VEREFADC10negativere ferencevoltage(1) (1)VREF+/VEREF+/ADC10positivereferencevo ltage(1)TCKJTAG testclock, ,compare:Out0outputA5/76I/OADC10analogin putA5(1)SCLK/USI:clockinputin I2 Cmode;clockinput/outputin SPImodeTMSJTAG testmodeselect, ,capture:CCI1 Ainput,compare:Out1outputA6/ADC10analogi nputA6(1)87I/OSDO/USI:Dataoutputin SPImodeSCL/USI:I2 Cclockin I2 (1)SDI/98I/OUSI:Datainputin SPImodeSDA/USI:I2 Cdatain I2 CmodeTDO/TDI(2) ,compare:Out1outputXOUT/Outputterminalof crystaloscillator(3)1211 ,16 NASupplyvoltageDVSS1413,14 NAGroundreferenceQFNPad-PadNAQFN packagepadconnectiontoVSSrecommended.

6 (1)MSP430G2x31only(2)TDOorTDIis selectedviaJTAG instruction.(3)If usedasaninput, 2010 2013,TexasInstrumentsIncorporatedProgram CounterPC/R0 Stack PointerSP/R1 Status RegisterSR/CG1/R2 Constant GeneratorCG2/R3 General-Purpose RegisterR4 General-Purpose RegisterR5 General-Purpose RegisterR6 General-Purpose RegisterR7 General-Purpose RegisterR8 General-Purpose RegisterR9 General-Purpose RegisterR10 General-Purpose RegisterR11 General-Purpose RegisterR12 General-Purpose RegisterR13 General-Purpose RegisterR15 General-Purpose FEBRUARY2010.

7 Otherthanprogram-flowinstructions, ,R0toR3,arededicatedasprogramcounter,sta ckpointer,statusregister,andconstantgene rator, ,address,andcontrolbuses, ; ,source-destinationADDR4,R5R4+ R5---> R5 Singleoperands,destinationonlyCALLR8PC-- >(TOS),R8--> PCRelativejump,un/conditionalJNEJump-on- equalbit= (1)ADDRESSMODESDSYNTAXEXAMPLEOPERATIONR egister MOVRs,RdMOVR10,R11R10-- --> R11 Indexed MOVX(Rn),Y(Rm)MOV2(R5),6(R6)M(2+R5)-- --> M(6+R6)Symbolic(PCrelative) MOVEDE,TONIM(EDE)-- --> M(TONI)Absolute MOV&MEM,&TCDATM(MEM)-- --> M(TCDAT)Indirect MOV@Rn,Y(Rm)MOV@R10,Tab(R6)M(R10)-- --> M(Tab+R6)M(R10)

8 -- --> R11 Indirectautoincrement MOV@Rn+,RmMOV@R10+,R11R10+ 2----> R10 Immediate MOV#X,TONIMOV#45,TONI#45-- --> M(TONI)(1)S = source,D = destinationCopyright 2010 2013,TexasInstrumentsIncorporatedSubmitD ocumentationFeedback7 MSP430G2x31 MSP430G2x21 SLAS694J FEBRUARY2010 ,servicetherequest, : Activemode(AM) Allclocksareactive Low-powermode0 (LPM0) CPUis disabled ACLKandSMCLK remainactive,MCLKis disabled Low-powermode1 (LPM1) CPUis disabled ACLKandSMCLK remainactive,MCLKis disabled DCO'sdcgeneratoris disabledif DCOnotusedin activemode Low-powermode2 (LPM2) CPUis disabled MCLKandSMCLK aredisabled DCO'sdcgeneratorremainsenabled ACLK remainsactive Low-powermode3 (LPM3) CPUis disabled MCLKandSMCLK aredisabled DCO'sdcgeneratoris disabled ACLK remainsactive Low-powermode4 (LPM4)

9 CPUis disabled ACLKis disabled MCLKandSMCLK aredisabled DCO'sdcgeneratoris disabled Crystaloscillatoris stopped8 SubmitDocumentationFeedbackCopyright 2010 2013, FEBRUARY2010 theresetvector(locatedataddress0 FFFEh)contains0 FFFFh(forexample,flashisnotprogrammed) ,Flags,andVectorsSYSTEMWORDINTERRUPTSOUR CEINTERRUPTFLAGPRIORITYINTERRUPTADDRESSP ower-UpPORIFGE xternalResetRSTIFGW atchdogTimer+WDTIFGR eset0 FFFEh31,highestFlashkeyviolationKEYV(2)P Cout-of-range(1)NMINMIIFG(non)-maskableO scillatorfaultOFIFG(non)-maskable0 FFFCh30 FlashmemoryaccessviolationACCVIFG(2)(3)( non)-maskable0 FFFAh290 FFF8h280 FFF6h27 WatchdogTimer+WDTIFG maskable0 FFF4h26 Timer_A2 TACCR0 CCIFG(4)maskable0 FFF2h25 Timer_A2 TACCR1 CCIFG,TAIFG(2)(4)maskable0 FFF0h240 FFEEh230 FFECh22 ADC10(5)ADC10 IFG(4)(5)maskable0 FFEAh21 USIUSIIFG,USISTTIFG(2)(4)maskable0 FFE8h20I/OPortP2(twoflags) (2)(4)maskable0 FFE6h19I/OPortP1(eightflags) (2)(4)maskable0 FFE4h180 FFE2h170 FFE0h16 See(6)

10 0 FFDEhto15to0,lowest0 FFC0h(1)A resetis generatedif theCPUtriestofetchinstructionsfromwithin themoduleregistermemoryaddressrange(0hto 01 FFh)orfromwithinunusedaddressranges.(2)M ultiplesourceflags(3)(non)-maskable:thei ndividualinterrupt-enablebitcandisablean interruptevent,butthegeneralinterruptena blecannot.(4)Interruptflagsarelocatedin themodule.(5)MSP430G2x31only(6)Theinterr uptvectorsataddresses0 FFDEhto0 FFC0harenotusedin 2010 2013,TexasInstrumentsIncorporatedSubmitD ocumentationFeedback9 MSP430G2x31 MSP430G2x21 SLAS694J FEBRUARY2010 (SFRs) functionalpurposearenotphysicallypresent i


Related search queries