Example: biology

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)Osc illator Availablein14-PinPlasticSmall-OutlineThi n 32-kHzCrystalPackage(TSSOP)(PW), 14-PinPlasticDual ExternalDigitalClockSourceInlinePackage( PDIP)(N)

MIXED SIGNAL MICROCONTROLLER - TI.com ... 2231

Tags:

  Mixed, Signal, Microcontrollers, 2132, Mixed signal microcontroller

Information

Domain:

Source:

Link to this page:

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

Other abuse

Advertisement

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)

2 ,and16-PinQFNP ackage(RSA) 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)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)

3 Forthemostcurrentpackageandorderinginfor mation,seethePackageOptionAddendumatthee ndofthisdocument, (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. 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.

4 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: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.

5 (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 ,otherthanprogram-flowinstructions, ,R0toR3,arededicatedasprogramcounter,sta ckpointer,statusregister,andconstantgene rator, ,address,andcontrolbuses.

6 ,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)-- --> 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.

7 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) 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)

8 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)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 in ,1 is (0,1) is notpresentin watchdogmodeis WatchdogTimeris (Non) and2 Address7654321002hNMIIFGRSTIFGPORIFGOFIF GWDTIFGrw-0rw-(0)rw-(1)rw-1rw-(0)WDTIFGS etonwatchdogtimeroverflow(inwatchdogmode ) resetconditionattheRST/NMIpinin resetconditionatRST/NMIpinin 2010 2013, FEBRUARY2010 :interruptvectorFlash0xFFFFto0xFFC00xFFF Fto0xFFC00xFFFFto0xFFC0 Main.

9 CodememoryFlash0xFFFFto0xFE000xFFFFto0xF C000xFFFFto0xF800 InformationmemorySize256 Byte256 Byte256 ByteFlash010 FFhto01000h010 FFhto01000h010 FFhto01000hRAMSize128B128B128B027 Fhto0200h027 Fhto0200h027 Fhto0200hPeripherals16-bit01 FFhto0100h01 FFhto0100h01 FFhto0100h8-bit0 FFhto010h0 FFhto010h0 FFhto010h8-bitSFR0 Fhto00h0 Fhto00h0 Fhto00hFlashMemoryTheflashmemorycanbepro grammedviatheSpy-Bi- : Flashmemoryhasn segmentsofmainmemoryandfoursegmentsofinf ormationmemory(AtoD) mainmemoryis 512bytesin size. Segments0 ton maybeerasedin onestep,oreachsegmentmaybeindividuallyer ased. SegmentsA toD canbeerasedindividuallyorasa groupwithsegments0 toD arealsocalledinformationmemory. SegmentA is 2010 2013,TexasInstrumentsIncorporatedSubmitD ocumentationFeedback11 MSP430G2x31 MSP430G2x21 SLAS694J FEBRUARY2010 ,address, ,seetheMSP430x2xxFamilyUser'sGuide(SLAU1 44).

10 OscillatorandSystemClockTheclocksystemis supportedbythebasicclockmodulethatinclud essupportfora 32768-Hzwatchcrystaloscillator,aninterna lvery-low-powerlow-frequencyoscillatoran daninternaldigitallycontrolledoscillator (DCO). fastturn-onclocksourceandstabilizesinles sthan1 : Auxiliaryclock(ACLK),sourcedeitherfroma 32768-HzwatchcrystalortheinternalLFoscil lator. Mainclock(MCLK),thesystemclockusedbytheC PU. Sub-Mainclock(SMCLK), (ProvidedFromFactoryInFlashInformationMe morySegmentA)CALIBRATIONDCOFREQUENCYSIZE ADDRESSREGISTERCALBC1_1 MHZbyte010 FFh1 MHzCALDCO_1 MHZbyte010 FEhBrownoutThebrownoutcircuitis one8-bitI/Oportimplemented portP1 andtwobitsofI/OportP2: AllindividualI/Obitsareindependentlyprog rammable.


Related search queries