STM32 및 개발보드 소개 Jang Hyunsung Embedded Systems Lab. Dept. of CSE, PNU
2 Contents STM32 소개 STM32F103 Module Board 소개 References STM32 소개 2
Features Core: ARM 32-bit Cortex™-M3 CPU 72 MHz, 90 DMIPS with 1.25 DMIPS/MHz Single-cycle multiplication and hardware division Memories 32-to-512 Kbytes of Flash memory 6-to-64 Kbytes of SRAM Low power Sleep, Stop and Standby modes VBAT supply for RTC and backup registers Up to 9 communication interfaces Up to 3 USARTs (ISO 7816 interface, LIN, IrDA capability, modem control) Up to 2 SPIs (18 Mbit/s) CAN, I2C interfaces USB 2.0 full speed interface STM32 소개 3
STM32 key benefits Leading-edge architecture with Cortex-M3 core Harvard architecture 1.25 DMIPS/MHz and 0.19 mW/MHz Thumb-2 instruction set brings 32-bit performance with 16-bit code density Single cycle multiply and hardware division Embedded, fast interrupt controller is now inside the core allowing: Excellent real-time behavior Low latency down to six CPU cycles inter-interrupt Six CPU cycles wake-up time from low-power mode Up to 35% faster and up to 45% less code than ARM7TDMI® STM32 소개 4
Cortex-M3 performance versus ARMTDMI STM32 소개 5
Cortex-M3 interrupt versus ARM7TDMI STM32 소개 6
Outstanding power efficiency High performance does not mean high power consumption –Current consumption as low as 27 72MHz The STM32 has three different low-power modes Sleep mode (Cortex-M3 core stopped, peripherals kept running) Stop mode (all clocks are stopped) Standby mode (1.8v domain powered-off) Auto-wakeup (AWU) from low-power mode The RTC can be used to wakeup the MCU from low-power mode STM32 소개 7
High level of integration Built-in supervisor reduces need for external components: Power-on reset, low-voltage detect, brown-out detect, watchdog timer with independent clock One main crystal drives entire system: Inexpensive 4-16 MHz crystal drives CPU, USB and all peripherals Embedded PLL generates multiple frequencies Optional 32 kHz crystal for RTC Embedded factory trimmed 8 MHz RC oscillator can be used as main clock Only 7 external passive components required for base system on LQFP100 package STM32 소개 8
STM32F10x block diagram STM32 소개 9
Superior and innovative peripherals STM32 소개 10
STM32F10x: first two product lines STM32 소개 11
STM32 (ARM Cortex-M3) - 32-bit Microcontroller Families STM32 소개 12
STM32103 Module Board STM32 소개 13 제품 개요 8Mhz CLK 을 사용하여 90DMIPS 동작 (72MHz) 128K Flash, 20K RAM ( 충분한메모리 ->RTOS 포팅가능 ) PWM 18Port 내장 Timer 7 개 내장 (Watchdog 포함 ) I/O Max 49 개 사용 USB 2.0 Full Speed(12MBit/s) 지원 3CH UART(IrDA 지원 ) CAN 인터페이스 지원 16CH 12bit A/D Converter 3.3V Operaing Voltage 부트로더 내장 <- 시리얼로 프로그램 가능
시리얼 커넥터 결선 방법 ( 프로그램 다운로드 및 시리얼 통신 ) STM32 소개 14
References STM32F103x6 datasheet ST 홈페이지 STM32F103 Module Board 제작사 STM32 소개 및 리더개발현황 15