STM32F103器件采用Cortex-M3内核,CPU速度达72 MHz。该产品系列具有16KB ~ 1MB Flash、多种控制外设、USB全速接口和CAN。
STM32F103器件介绍:
实时时钟(RTC)精度在大多数嵌入式应用的要求,但由于外部环境–温度变化、频率变化的晶体时钟RTC–RTC精度可能不准确的预期。
RTC嵌入在STM32F101xx和STM32F103xx附带一个数字时钟适用于制造环境校准电路,允许应用程序补偿晶体和温度变化。
本应用笔记讨论了RTC校准和解释了RTC校准可用于提高计时精度。
Key Features
-
ARM 32-bit Cortex™-M3 CPU Core
-
72 MHz maximum frequency,1.25 DMIPS/MHz (Dhrystone 2.1) performance at 0 wait state memory access
-
Single-cycle multiplication and hardware division
-
Memories
-
16 or 32 Kbytes of Flash memory
-
6 or 10 Kbytes of SRAM
-
Clock, reset and supply management
-
2.0 to 3.6 V application supply and I/Os
-
POR, PDR, and programmable voltage detector (PVD)
-
4-to-16 MHz crystal oscillator
-
Internal 8 MHz factory-trimmed RC
-
Internal 40 kHz RC
-
PLL for CPU clock
-
32 kHz oscillator for RTC with calibration
-
Low power
-
Sleep, Stop and Standby modes
-
VBAT supply for RTC and backup registers
-
2 x 12-bit, 1 μs A/D converters (up to 16 channels)
-
Conversion range: 0 to 3.6 V
-
Dual-sample and hold capability
-
Temperature sensor
-
DMA
-
7-channel DMA controller
-
Peripherals supported: timers, ADC, SPIs, I2 Cs and USARTs
-
Up to 51 fast I/O ports
-
26/37/51 I/Os, all mappable on 16 external interrupt vectors and almost all 5 V-tolerant
-
Debug mode
-
Serial wire debug (SWD) & JTAG interfaces
-
6 timers
-
Two 16-bit timers, each with up to 4 IC/OC/PWM or pulse counter and quadrature (incremental) encoder input
-
16-bit, motor control PWM timer with dead-time generation and emergency stop
-
2 watchdog timers (Independent and Window)
-
SysTick timer 24-bit downcounter
-
6 communication interfaces
-
1 x I2 C interface (SMBus/PMBus)
-
2 × USARTs (ISO 7816 interface, LIN, IrDA capability, modem control)
-
1 × SPI (18 Mbit/s)
-
CAN interface (2.0B Active)
-
USB 2.0 full-speed interface
-
CRC calculation unit, 96-bit unique ID
-
Packages are ECOPACK®
电路原理图