July2013DocID024849Rev11/88STM32F030x4STM32F030x6STM32F030x8Value-lineARM-based32-bitMCUwith16to64-KBFlash,timers,ADC,communicationinterfaces,2.4-3.6VoperationDatasheettargetspecificationFeaturesCore:ARM®32-bitCortex™-M0CPU,frequencyupto48MHzMemories–16to64KbytesofFlashmemory–4to8KbytesofSRAMwithHWparitycheckingCRCcalculationunitResetandpowermanagement–Voltagerange:2.4Vto3.6V–Power-on/Powerdownreset(POR/PDR)–Lowpowermodes:Sleep,Stop,StandbyClockmanagement–4to32MHzcrystaloscillator–32kHzoscillatorforRTCwithcalibration–Internal8MHzRCwithx6PLLoption–Internal40kHzRCoscillatorUpto55fastI/Os–Allmappableonexternalinterruptvectors–Upto36I/Oswith5Vtolerantcapability5-channelDMAcontroller1x12-bit,1.0µsADC(upto16channels)–Conversionrange:0to3.6V–Separateanalogsupplyfrom2.4upto3.6VUpto10timers–One16-bit7-channeladvanced-controltimerfor6channelsPWMoutput,withdeadtimegenerationandemergencystop–One16-bittimer,withupto4IC/OC,usableforIRcontroldecoding–One16-bittimer,with2IC/OC,1OCN,deadtimegenerationandemergencystop–Two16-bittimers,eachwithIC/OCandOCN,deadtimegeneration,emergencystopandmodulatorgateforIRcontrol–One16-bittimerwith1IC/OC–One16-bitbasictimer–Independentandsystemwatchdogtimers–SysTicktimer:24-bitdowncounterCalendarRTCwithalarmandperiodicwakeupfromStop/StandbyCommunicationinterfaces–UptotwoI2Cinterfaces:onesupportingFastModePlus(1Mbit/s)with20mAcurrentsink–UptotwoUSARTssupportingmastersynchronousSPIandmodemcontrol;onewithautobaudratedetection–UptotwoSPIs(18Mbit/s)with4to16programmablebitframeSerialwiredebug(SWD)Table1.DevicesummaryReferencePartnumberSTM32F030x4STM32F030F4STM32F030x6STM32F030C6,STM32F030K6STM32F030x8STM32F030C8,STM32F030R8LQFP487x7mmLQFP6410x10mmLQFP327x7mmTSSOP20®CortexTM-M0corewithembeddedFlashandSRAM.........123.2Memories.................................................123.3Bootmodes...............................................123.4Cyclicredundancycheckcalculationunit(CRC)...................133.5Powermanagement.........................................133.5.1Powersupplyschemes.....................................133.5.2Powersupplysupervisors...................................133.5.3Voltageregulator..........................................133.5.4Low-powermodes.........................................143.6Clocksandstartup..........................................143.7General-purposeinputs/outputs(GPIOs).........................163.8Directmemoryaccesscontroller(DMA)..........................163.9Interruptsandevents........................................163.9.1Nestedvectoredinterruptcontroller(NVIC)......................163.9.2Extendedinterrupt/eventcontroller(EXTI)......................163.10Analogtodigitalconverter(ADC)...............................173.10.1Temperaturesensor........................................173.10.2Internalvoltagereference(VREFINT)...........................173.11Timersandwatchdogs.......................................183.11.1Advanced-controltimer(TIM1)...............................183.11.2General-purposetimers(TIM3,TIM14..17)......................193.11.3BasictimerTIM6..........................................193.11.4Independentwatchdog(IWDG)...............................193.11.5Systemwindowwatchdog(WWDG)...........................203.11.6SysTicktimer.............................................203.12Real-timeclock(RTC).......................................203.13Inter-integratedcircuitinterfaces(I2C)...........................213.14Universalsynchronous/asynchronousreceivertransmitters(USART)..22DocID024849Rev13/88STM32F030x4STM32F030x6STM32F030x8Contents43.15Serialperipheralinterface(SPI)................................223.16Serialwiredebugport(SW-DP)................................224Pinoutsandpindescriptions.................................235Memorymapping...........................................336Electricalcharacteristics....................................366.1Parameterconditions........................................366.1.1Minimumandmaximumvalues...............................366.1.2Typicalvalues............................................366.1.3Typicalcurves............................................366.1.4Loadingcapacitor.........................................366.1.5Pininputvoltage..........................................366.1.6Powersupplyscheme......................................376.1.7Currentconsumptionmeasurement...........................386.2Absolutemaximumratings....................................386.3Operatingconditions........................................406.3.1Generaloperatingconditions.................................406.3.2Operatingconditionsatpower-up/power-down..................416.3.3Embeddedresetandpowercontrolblockcharacteristics...........416.3.4Embeddedreference