STM32 ARM Cortex M3 Based Product Introduction

2y ago
28 Views
2 Downloads
1.14 MB
31 Pages
Last View : 1m ago
Last Download : 3m ago
Upload by : Kaden Thurman
Transcription

STM32ARM CortexTMM3 BasedProductIntroductionSept 2007

What is the STM32?STM32 reshapes the Microcontroller MarketFirst MCU family combining 32bit performance and features withthe integration and end-user cost of today’s 16bit MCUFirst ARM CortexTM-M3 MCU family from a leadingsemiconductor supplierThe STM32 family brings new degrees of freedom toMCU users.Eases migration from the 16-bit worldSTM32 removes the last obstacles to 32bit wide usage that areIntegration,Ease of use,Low power,Cost32-bit MicrocontrollersMMS/MCD 32-bit MarketingteamJune 20072www.st.com/stm32

ARM CoreWorld-leading 32-bit coreARM is a UK company that designs innovative 32-bitcores, licensing them to the world’s leading electronicscompaniesARM is rapidly becoming a global standardLeading edge core scalable roadmapARM7 – ARM9 – ARM11 – New CortexBenefitsLow power, High performance, ScalableMany ARM trained engineersHardware and software toolsRapid time to market using 3rd-party SWARM has the widest range of hardware and softwaretools support of any 32-bit architectureDesigned to support RTOS and OS32-bit MicrocontrollersMMS/MCD 32-bit MarketingteamJune 20073www.st.com/stm32

Existing STR7 / STR9 Portfolio80 pinsFlashSizeCAN(bytes)128 pinsUSB,CANCAN911512 K910144 12910912256 K128 K64 7500K710GeneralPurposeCAN64 pins32-bit MicrocontrollersUSBGeneralPurpose3xCANUSBCAN100 pinsUSB,CANEMIGeneralPurpose3xCAN144 pinsMMS/MCD 32-bit MarketingteamJune 20074www.st.com/stm32Pins

Introducing STM32 FamilyFlash Size(bytes)512 K384 K72MHz CortexTM-M3 CPU6KB to 64KB SRAMTwo lines: Performanceand AccessFULL compatibilityacross family256 VAILABLE NOW / Prod Nov STM32F101C6STM32F101R6128 K64 K32 KUNDERDEVELOPMENTSample Q1/08 / Prod Q2/080K36 pins48 pins64 pins100 pins144 pinsQFNLQFPLQFP/QFN ( 256K)LQFP/BGALQFP/BGA32-bit MicrocontrollersMMS/MCD 32-bit MarketingteamJune 20075www.st.com/stm32

STM32F10x : 2 first product linesSTM32F103 Performance LineBest in class 32-bit flash MCUAbility to outperform integer DSP solutionsSuperior control & connectivityExcellent fit for low voltage/low power applicationsSTM32F101 Access Line32-bit performance at 16-bit PricesEntry point to STM32 worldExcellent fit for low voltage/low power applications32-bit MicrocontrollersMMS/MCD 32-bit MarketingteamJune 20076www.st.com/stm32

STM32F10x : 2 first product linesBoth lines include up to:Up to 128KB FLASH3 x USART2 x SPI2 x I2C3 x 16-bit TIMERSPerformance Line STM32F103*72MHzCPUUp to20KBSRAM2x12-bit ADC(1µs)TempsensorUSB 2.0FSCANPWM2.0BtimerMain Osc 4-16MHzInternal 8 MHz RCand 40 kHz RCReal Time Clock2 x WatchdogsReset circuitryPower on / down resetAccess Line STM32F101*36MHzCPUUp to16KBSRAM1x12-bitADC (1µs)TempsensorVoltage detector7 channels DMA80% GPIO ratio32-bit Microcontrollers*DAC, FSMC, I2S, SDIO, additional PWM timer and 3xADCfor some sales types starting at 256kB FlashMMS/MCD 32-bit MarketingteamJune 20077www.st.com/stm32

STM32F103 Performance Line (up to 128K)5V tolerant I/OsLow-powermodes elsChannelsInternal RCEmbedded reset-40/ 105 C11xx16-bit erUpUptoto 1616 -bit MicrocontrollersFlashI/FI/FFlash32kB128kB32kB --128kBFlashMemoryFlash Memory10kB-20kB SRAM10kB10kB-20kBSRAM20B20BBackupBackup R/PVDPOR/PDR/PVDXTALXTAL oscillatorsoscillators32KHz32KHz 4 16MHz4 16MHzInt.Int. RCRC oscillatorsoscillators40KHz40KHz RTCRTC // AWUAWUARM Peripheral Bus(max 36MHz)BridgeBridge2/3-bit Timer162/3xx1616-bitTimer(max 72MHz)Excellent safeclock modesJTAG/SWJTAG/SW DebugDebugNestedvectNested vectITITCtrlCtrlHi--Speed BusARM LiteLite Hi-SpeedHiBusARM(max72MHz)72MHz)Matrix // ArbiterArbiter (maxMatrix7272MHzMHzARM Peripheral Bus2V-3.6V SupplyTM ol22xx12-bit /1xxSPISPITempTemp SensorSensor21/21/2xxII2CCMMS/MCD 32-bit MarketingteamJune 20078www.st.com/stm32

1xADCSRAM up to 16K-40/ 85 /SW DebugDebugNestedvectNested ChannelsChannelsARM LiteHi--Speed BusARMLite Hi-SpeedHiBusARM (max36MHz)36MHz)Matrix // ArbiterArbiter 101 Access Line (Up to 128K)32kB128kB32kB --128kBFlashMemoryFlash Memory6kB-16kB SRAM6kB6kB-16kBSRAM20B20BBackupBackup R/PVDPOR/PDR/PVDXTALXTAL oscillatorsoscillators32KHz32KHz 4 16MHz4 16MHzInt.Int. RCRC oscillatorsoscillators40KHz40KHz RTCRTC // AWUAWUARM Peripheral Bus(max tcard/IrDaModemControlModemModem-Control32-bit Microcontrollers2/3-bit Timer162/3xx1616-bitTimer(max 36MHz)UpUptoto 1616 Ext.Ext.ITsITsARM Peripheral rol11xx12-bit /1xxSPISPITempTemp SensorSensor21/21/2xxII2CCMMS/MCD 32-bit MarketingteamJune 20079www.st.com/stm32

FSMCI2S12 nnelsChannels2xPWM timers3xADCsUp to 112 I/Os(144 pinspackage)22xx16-bit erUpUptoto 1616 Ext.Ext.ITsITs51/80/11251/80/112 odem-Control32-bit moryFlash Memory32kB32kB-64kB SRAM20B20BBackupBackup RegsRegsFlexibleFlexible lyRegReg1.8V1.8VPOR/PDR/PVDPOR/PDR/PVDXTALXTAL oscillatorsoscillators32KHz32KHz 4 16MHz4 16MHzInt.Int. RCRC oscillatorsoscillators40KHz40KHz 8MHz8MHzPLLPLLRTCRTC // AWUAWUARM Peripheral Bus11xxSDIOSDIO(max 36MHz)11xxUSBUSB2.0FS2.0FSBridgeBridge(max 36/72MHz)SDIOJTAG/SWJTAG/SW DebugDebugNestedvectNested vectITITCtrlCtrl LiteARM MHz)Matrix // ArbiterArbiter (maxMatrix36/72 MHzARM Peripheral Bus2x 12-bit DACCORTEXTM-M3CPUFlashI/FI/FFlashSTM32F10x 256-512Kb Flash44xx16-bit xx12-bit II22CCTempTemp SensorSensorMMS/MCD 32-bit MarketingteamJune 200710www.st.com/stm32

Samples Q1 08Production Q2 08STM32F103 Performance LineFlash SizeSamples NOWProduction Nov 07(bytes)512 KSTM32F103RxSTM32F103VxSTM32F103Zx64 KB RAM64 KB RAM64 KB RAMSTM32F103RxSTM32F103VxSTM32F103Zx64 KB RAM64 KB RAM64 KB RAMSTM32F103RxSTM32F103VxSTM32F103Zx48 KB RAM48 KB RAM48 KB RAMSTM32F103CxSTM32F103RxSTM32F103Vx20 KB RAM20 KB RAM20 KB RAMSTM32F103TxSTM32F103CxSTM32F103RxSTM32F103Vx20 KB RAM20 KB RAM20 KB RAM20 KB RAMSTM32F103TxSTM32F103CxSTM32F103Rx10 KB RAM10 KB RAM10 KB RAM36 pins48 pinsQFNLQFP384 K256 K128 K64 K32 K32-bit Microcontrollers64 pins5xUSART4x16-bit timer3xSPI, 2xI2CUSB, CAN, 2xPWM3xADC, 2xDAC, 2xI2S, SDIOFSMC (100 and 144 pins)3xUSART*3x16-bit timer2xSPI, 2XI2C*USB, CAN, 1xPWM2xADC*1xSPI, 1I2C, 2xUSART forQFN362xUSART2x16-bit timer1xSPI, 1xI2CUSB, CAN, 1xPWM2xADC100 pins144 pinsLQFP/QFN (256Kb only) LQFP/BGALQFP/BGAMMS/MCD 32-bit MarketingteamJune 200711www.st.com/stm32

Samples Q1 08Production Q2 08STM32F101 Access LineFlash SizeSamples NOWProduction Nov 07(bytes)512 KSTM32F101Zx48 KB RAM48 KB RAM48 KB RAMSTM32F101VxSTM32F101Zx48 KB RAM48 KB RAM48 KB RAMSTM32F101RxSTM32F101VxSTM32F101Zx32 KB RAM32 KB RAM32 KB RAMSTM32F101CxSTM32F101RxSTM32F101Vx16 KB RAM16 KB RAM16 KB RAMSTM32F101TxSTM32F101CxSTM32F101RxSTM32F101Vx10 KB RAM10 KB RAM10 KB RAM10 KB RAMSTM32F101TxSTM32F101CxSTM32F101Rx6 KB RAM6 KB RAM6 KB RAM36 pins48 pins64 pins100 pins144 pinsQFNLQFPLQFPLQFPLQFP256 K128 K32 KSTM32F101VxSTM32F101Rx384 K64 KSTM32F101Rx32-bit Microcontrollers5xUSART4x16-bit timer3xSPI, 2xI2C, 1xADC2xDAC,FSMC (100 and 144 pins)3xUSART3x16-bit timer2xSPI, 2xI2C, 1xADC*1xSPI, 1I2C, 2xUSART for QFN362xUSART2x16-bit timer1xSPI, 1xI2C, 1xADCMMS/MCD 32-bit MarketingteamJune 200712www.st.com/stm32

STM32 family extensionsSmaller packages (less than 5x5) under evaluationDie deliveryUnder qualification for volume applications32-bit MicrocontrollersMMS/MCD 32-bit MarketingteamJune 200713www.st.com/stm32

STM32: What else?Click on the topic you want to developLeading-edge architecture CortexTM-M3 core Low power Rich peripheral set Security and safetyEase of UseCost saving Tools and software support Minimal external componentsneeded High level of integrationRationalize development Standard architecture Complete family and compatibility Multi application fit Fast migration path32-bit MicrocontrollersMMS/MCD 32-bit MarketingteamJune 200714www.st.com/stm32

ConclusionSTM32 brings Everything you have been expectingLeading edge 32bit ARM MCU, CortexTM-M3Excellent low-power capabilitiesFirst class peripheralsMaximum integrationSimple architecture and easy to use toolsAt a cost that makes it accessible for all32-bit MicrocontrollersMMS/MCD 32-bit MarketingteamJune 200715www.st.com/stm32

STM32 platform choiceRATIONALIZESTM32 ConceptStandard ARM CortexTM-M3CoreHigh performance peripherals2 Complete families offerTools and Software supportFull compatibilityacross theFamiliesToolsFamilyPeriphsCore32-bit Microcontrollers1.2.3.4.BenefitsScalable architectureSet the cursor for your applicationSame “look and feel” for the userUnique Software and developmentinvestmentMMS/MCD 32-bit MarketingteamJune 200716www.st.com/stm32

STM32: Driving Convergence32 bit Higher cost Higher power consumption Less integration Perceived complexity16 bit Proprietary architecture Code constraints Limited performance Limited software and toolsR The oldADilemmaTIONALThe STM32 way !IZE32-bit MicrocontrollersSTM32 Standard ARM 32bit architecture Leading edge performance and low power capability Best code compactness, wide memory range ARM Tools and Software Ecosystem Maximum integration and Accessible costMMS/MCD 32-bit MarketingteamJune 200717www.st.com/stm32

Ease Of UseSingle architecture – Multi applicationsRATIONALIZEPoint of SalesBank card readersCash registers, thermal printersBill validation, package trackingVendingScannerUSB devicesSecurity and biometricsCard readersIndustrial AutomationCircuit breakersProgrammable logic controllersIndustrial networkingBuilding Security/Fire/HVACAlarm systemsControl panelMedicalCardio monitorsPortable test equipmentGlucosemeterAppliancesMajor appliancesUser interfaces and VectorControl driveOtherMetering, battery operated applications ConsumerPC Peripherals, GamingDigital Cameral, GPS platformRemotes, Satellite radio32-bit MicrocontrollersClick here to return to “menu” slideMMS/MCD 32-bit MarketingteamJune 200718www.st.com/stm32

Why CortexTM-M3?Latest Standard Core from ARM ARCHITECTUREHigh-performance with low dynamic power1.25DMIPS/MHz with Harvard Architecture, delivers .19mW/MHz30% improvement over ARM7Single cycle multiply and hardware divisionAtomic Bit manipulation allows optimized access to RAM, I/Os andregistersBest code densityThumb-2 instruction set brings 32-bit instruction set performance with 16bit code density (30 to 45% code size reduction)Deterministic – Real Time behaviourInterrupt controller inside the Core, inter-interrupt latency down to 6 CPUcycles6 CPU cycles wake up time from Low Power ModeImproved Debug FeaturesSerial Wire debug and JTAG2 data watch points, 8 hardware breakpoints32-bit MicrocontrollersMMS/MCD 32-bit MarketingteamJune 200719www.st.com/stm32

LOWPOWERPower managementCore efficiencyCortexTM-M3 delivers .19mW/MHz vs .39mW/MHz for ARM7TDMITMFor the same processing power, CortexTM-M3 runs with about 30% lessspeed and consumes ¼ of the power vs ARM7TDMITMLow power designAutomatic clock gatingLow power Flash with Auto-offInternal automatic switch from Vbat to Vdd with NO consumption onVbat when Vdd suppliedLow power modesSLEEP (WFE,WFI), STOP and STANDBY modesUltra fast startup from low power modes / 8MHz internal RC enables 7us from STOP modeLow power RTCVbat Independent power supply for battery operationClocked from 32.768KHz dedicated oscillator or Low Power internal RC32-bit MicrocontrollersMMS/MCD 32-bit MarketingteamJune 200720www.st.com/stm32

LOWPOWERLow power figuresFeatureSTM32F10x typ@3.3VConso in run mode (typical configuration)36mA @ 72MHzConso in RUN Mode (peripherals OFF)27mA @ 72MHzSTOPAll clocks stopped but MCU status, RAM and registersare preserved (no reset)14µASTANDBYMain Voltage Regulator switched off, kernel of device ispowered off, RTC OFF2µAStartup time From STOP7µsStartup time From STANDBY/Reset55µsVoltage range2.0V – 3.6VRTC on VBATRTC powered by a battery, no power on the rest of thechip1.4µA @ 3.3V32-bit MicrocontrollersMMS/MCD 32-bit MarketingteamJune 200721www.st.com/stm32

STM3210x Low Power diagramRESET32-bit MicrocontrollersCIRCUITRYISALWAYMMS/MCD 32-bit MarketingteamSACTIJune 2007VE22www.st.com/stm32

ConnectivityCommunication:PERIPHERALSUSB-FS 2.0 device : USB CertifiedCAN 2.0BUSART, LIN Master/Slave, ISO7816 (SmartCard), IrDA,Modem Control,SPI with SD/MMC supportI2C with SMBus/PMBus supportIncrease Peripherals Speed for better performanceDual Advanced Peripheral buses (APB) architecturew/ High Speed APB (APB2) allows to optimize use ofperipherals (18MHz SPI, 4.5Mbps USART, 72MHzPWM Timer, 18MHz toggling I/Os)Need for SpeedUSB: 12 MbpsUART: 4.5 MbpsSPI: 18 MHzmaster and slaveI2C: 400 kHzGPIO: 18 MHz maxtoggle80% I/O ratio (5V tolerant, 20mA drive)Excellent for communication gateways32-bit MicrocontrollersMMS/MCD 32-bit MarketingteamJune 200723www.st.com/stm32

ControlMultiply the control capabilitiesPERIPHERALS16-bit Timers each offer 4 Input Capture / 4 Output Compare or 4 PWM signalsAdvance Control timer can be used with complementary signals and dead timesembedded OR in General Purpose timer with up to 4 IC / 4 OC or 6PWMs (13.9nsresolution)Timer Link system to cascade and synchronize timersTotal of up to 18 PWMs or 16 IC / 16 OC on LQFP100 packageSave time entering the External Interrupt routineExternal Interrupt Controller improved to decrease interrupt latencyDetection on rising, falling or both edges ( 1 CPU cycle signal for detection).Get the best of external signalsUp to 2x12 bit ADC (1µs) with Dual sample and Hold capability and synchronizedwith the Timers; Down to 500ns when both ADC combined on same channelAlternate functions remapping allows optimization of the pin outTimers, USART, CAN, SPI, I2C pins can be remappedTest your hardware / Boundary scan32-bit MicrocontrollersMMS/MCD 32-bit MarketingteamJune 200724www.st.com/stm32

Security and SafetyReset circuitryBack-up clockSAFETYDual watchdogFlash protectionAnti-tamperBack-up registersI/O locking32-bit lick here to return to “menu” slideMMS/MCD 32-bit MarketingteamJune 200725www.st.com/stm32

Minimal External ComponentsBuilt-in Supervisor reduces need for external componentsCOSTFiltered reset input, Power-On reset, Low-Voltage Detect, Brown-OutDetect, Watchdog Timer with independent clockOne main crystal drives entire system (with help from PLL)Inexpensive 4-16 MHz crystal drives CPU, USB, all peripheralsEmbedded 8 MHz RC can be used as main clockSAVINGOptional 32 kHz crystal needed additionally for RTC, can run on internal40 kHz RCOnly 7 external passive components for base system onLQFP100 package!!Click here to return to “menu” slide32-bit MicrocontrollersMMS/MCD 32-bit MarketingteamJune 200726www.st.com/stm32

Extensive Tools and FirmwareLibrary SupportEASEOFUSEDramatically Reduce your Design TimeStandard ARM ArchitectureSpend the development effort onceSupport from many third-parties worldwideMany development and starter kits to choose from (Keil,IAR, Raisonance, Hitex) to start the designMany engineers trained worldwideUsing free STM32 firmware library from STGet everything you need to start, right out-of-the-box32-bit MicrocontrollersMMS/MCD 32-bit MarketingteamJune 200727www.st.com/stm32

Easy-to-Use ToolsEASECompilers and IDEDevice ProgrammingOFUSEIDE and debuggers, GNU compilers32-bit MicrocontrollersMMS/MCD 32-bit MarketingteamJune 200728www.st.com/stm32

Royalty free RTOSSupplierCMXfreeRTOS.org(open source)IARKeilMicriumSeggerARM7 footprint(bytes)ProductSTM32 footprint(bytes)CMX-RTXROM: 10 KRAM: 1 KROM: 5 KRAM: 1 KCMX-TCP/IPROM: 10 KRAM: 1 K bufferNot applicablefreeRTOSROM: 4.2 KRAM: 1 KROM: 2.7-3.6 KRAM: 0.2 KPowerPacROM: 2-4 KRAM: 51 bytesROM: 2-4 KRAM: 51 bytesARTX-ARMROM: 6KRAM: 0.5K bytesROM: 1.5-3 KRAM: 0.5 KuC/OSIIROM: 20 KRAM: 2 KROM: 16 KRAM: 2KembOSROM: 3 KRAM: 51 bytesROM: 1.7 KRAM: 51 bytesemWin––ROM: 2 KRAM: 20 bytes/window32-bit MicrocontrollersMMS/MCD 32-bit MarketingteamJune 200729www.st.com/stm32

USB Developer’s KitEASEOFUSEComplete source file with documented, thoroughlytested C source code, compatible with major IDEtoolsets for ARM Supports any flavor of USB firmware with:Control transfer for generic device managementtasksInterrupt transfer with HID Mouse/JoystickBulk transfer with mass storageIsochronous transfer with Voice Speaker/microDFU for firmware updates on USBVirtual COM (CDC class) for emulation of RS23232-bit MicrocontrollersMMS/MCD 32-bit MarketingteamFree fromST webJune 200730www.st.com/stm32

Standard Firmware LibraryComplete Firmware Library in C (MISRA compliant)EASEOFCollection of C functions written, tested, and documented professionally by STStandard ANSI-C, compatible with Third Party compilersFree distribution to customers from ST (www.st.com/mcu)Insulates from having to deal with low-level registers and bits of peripheralsand functionsConsistent API covering all family devicesDrivers for each peripheral including USBUSEDramatically reduces design time chance for errorRequires less in depth study of datasheetEasy migration from one device to anotherClick here to return to “menu” slide32-bit MicrocontrollersMMS/MCD 32-bit MarketingteamJune 200731www.st.com/stm32

32-bit Microcontrollers MMS/MCD 32-bit Marketing 2 team What is the STM32? . XTAL oscillators 32KHz 4 16MHz XTAL oscillators 32KHz 4 16MHz Power Supply Reg 1.8V POR/PDR/PVD Power Supply Reg 1.8V POR/PDR/PVD DMA 12 Channels DMA 12 Channels Nested

Related Documents:

STM32 and ultra‑low‑power. 4 9 product series – more than 40 product lines . proliferation of hardware IPs and higher‑level programming languages greatly facilitates the work of developers. High‑ performance Cortex‑M STM32 F7 Ultra‑ low‑power Mainstream Cortex‑M3 STM32 F2 STM32 L1 STM32 F1 Cortex‑M STM32 F4 STM32 L4 STM32 F3 Cortex‑M M STM32 L0 STM32 F0 STM32 H7 ST .

programming Interrupt handling Ultra-low power Cortex-M4 low power. STM32 F4 Series highlights 1/4 ST is introducing STM32 products based on Cortex M4 core. Over 30 new part numbersOver 30 new part numbers pin-to-pin and software compatiblepin and software compatible with existing STM32 F2 Series. Th DSP d FPU i t ti bi d tThe new DSP and FPU instructions combined to 168Mhz performance open .

STM32 32-bit Cortex -M MCUs Releasing your creativity . What does a developer want in an MCU? 2 Software libraries Cost sensitive Advanced peripherals Scalable device portfolio Rich choice of tools Leading edge core Ultra-low-power . STM32 platform key benefits More than 450 compatible devices Releasing your creativity 3 . STM32 a comprehensive platform Flash size (bytes) Select your fit .

processors support a significantly larger physical memory address space as compared to Cortex-M processors. This section discusses two approaches to address these differences at the system level. TABLE III. ADDRESS SPACE DIFFERENCES BETWEEN CORTEX-A AND CORTEX-M PROCESSORS Cortex-A Cortex-M Physical addressing ARMv7-A: Upto 40-bits

Simulink to STM32 MCUs Automate –the process from "C" code generation to programming STM32 F4 or STM32F30x –Code generation reporting –Code execution profiling reporting for PIL execution. 13 Summary for STM32 embedded target for MATLAB and Simulink release 3.1: Supported MCUs: STM32 F4 and F30x series Automated Processor-in-the-Loop (PIL) Testing using USART communication link Support .

A programming manual is also available for each Arm Cortex version and can be used for MPU (memory protection unit) description: STM32 Cortex -M33 MCUs programming manual (PM0264) STM32F7 Series and STM32H7 Series Cortex -M7 processor programming manual (PM0253) STM32 Cortex -M4 MCUs and MPUs programming manual (PM0214)

Cortex-M4 Technical Reference Manual, ARM DDI0337G, ARM Ltd. ARMv7-M Architecture Reference Manual, ARM DDI0403D, ARM Ltd. . Since the Cortex-M3 is used as the reference, the Cortex-M4 performance is calculated by taking the reciprocal of its relative cycle count. As an example, for the PID function, .

hardware IP re-use and consistency accross product families and higher level programming language makes the development job far more convenient when dealing with the STM32 families. HIGH-PERFORMANCE HIGH DEGREE OF INTEGRATION AND RICH CONNECTIVITY STM32H7: highest performance STM32 MCUs with advanced features including DSP and FPU instructions based on Cortex -M7 with 1 to 2 Mbytes of .