32-bit MCU+FPU. STM32F318K8 Datasheet

STM32F318K8 MCU+FPU. Datasheet pdf. Equivalent

Part STM32F318K8
Description 32-bit MCU+FPU
Feature STM32F318C8 STM32F318K8 ARM®-based Cortex®-M4 32-bit MCU+FPU, 64 KB Flash, 16 KB SRAM, ADC, DAC, 3 .
Manufacture STMicroelectronics
Datasheet
Download STM32F318K8 Datasheet



STM32F318K8
STM32F318C8 STM32F318K8
ARM®-based Cortex®-M4 32-bit MCU+FPU, 64 KB Flash,
16 KB SRAM, ADC, DAC, 3 COMP, Op-Amp, 1.8 V
Datasheet - production data
Features
Core: ARM® 32-bit Cortex®-M4 CPU with FPU
(72 MHz max.), single-cycle multiplication and
HW division, DSP instruction
Memories
– 64 Kbytes of Flash memory
– 16 Kbytes of SRAM on data bus
CRC calculation unit
Power management
– Supply: VDD = 1.8 V ± 8%
VDDA voltage range = 1.65 V to 3.6 V
– External POR pin
– Low-power: Sleep, Stop
– VBAT supply for RTC and backup registers
Clock management
– 4 to 32 MHz crystal oscillator
– 32 kHz oscillator for RTC with calibration
– Internal 8 MHz RC with x 16 PLL option
– Internal 40 kHz oscillator
Up to 36 fast I/O ports, all mappable on
external interrupt vectors, several 5 V-tolerant
Interconnect matrix
7-channel DMA controller supporting timers,
ADCs, SPIs, I2Cs, USARTs and DAC
1 × ADC 0.20 μs (up to 11 channels) with
selectable resolution of 12/10/8/6 bits, 0 to
3.6 V conversion range, single
ended/differential mode, separate analog
supply from 1.8 to 3.6 V
Temperature sensor
1 x 12-bit DAC channel with analog supply from
2.4 to 3.6 V
Three fast rail-to-rail analog comparators with
analog supply from 1.8 to 3.6 V
1 x operational amplifier that can be used in
PGA mode, all terminal accessible with analog
supply from 2.4 to 3.6 V
LQFP48
(7x7 mm)
UFQFPN32
(5x5 mm)
WLCSP49
(3.417x3.151 mm)
Up to 17 capacitive sensing channels
supporting touchkey, linear and rotary sensors
Up to 9 timers
– One 32-bit timer with up to 4 IC/OC/PWM
or pulse counter and quadrature
(incremental) encoder input
– One 16-bit 6-channel advanced-control
timer, with up to 6 PWM channels,
deadtime generation and emergency stop
– Three 16-bit timers with IC/OC/OCN or
PWM, deadtime gen. and emergency stop
– One 16-bit basic timer to drive the DAC
– 2 watchdog timers (independent, window)
– SysTick timer: 24-bit downcounter
Calendar RTC with alarm, periodic wakeup
from Stop
Communication interfaces
– Three I2Cs with 20 mA current sink to
support Fast mode plus
– Up to 3 USARTs, 1 with ISO 7816 I/F, auto
baudrate detect and Dual clock domain
– Up to two SPIs with multiplexed full duplex
I2S
– Infrared transmitter
Serial wire debug (SWD), JTAG
96-bit unique ID
June 2017
This is information on a product in full production.
DocID026294 Rev 6
1/126
www.st.com



STM32F318K8
Contents
Contents
STM32F318C8 STM32F318K8
1
2
3
2/126
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.1 ARM® Cortex®-M4 core with FPU, embedded Flash and SRAM . . . . . . . 12
3.2 Memories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.2.1 Embedded Flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.2.2 Embedded SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.3 Boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.4 Cyclic redundancy check calculation unit (CRC) . . . . . . . . . . . . . . . . . . . 13
3.5 Power management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.5.1 Power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.5.2 Power supply supervisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.5.3 Low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.6 Interconnect matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.7 Clocks and startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.8 General-purpose inputs/outputs (GPIOs) . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.9 Direct memory access (DMA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.10 Interrupts and events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.10.1 Nested vectored interrupt controller (NVIC) . . . . . . . . . . . . . . . . . . . . . . 18
3.11 Fast analog-to-digital converter (ADC) . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.11.1 Temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.12
3.11.2 Internal voltage reference (VREFINT) . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.11.3 VBAT battery voltage monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Digital-to-analog converter (DAC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.13 Operational amplifier (OPAMP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.14 Ultra-fast comparators (COMP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.15 Timers and watchdogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.15.1 Advanced timer (TIM1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.15.2 General-purpose timers (TIM2, TIM15, TIM16, TIM17) . . . . . . . . . . . . . 22
3.15.3 Basic timer (TIM6) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.15.4 Independent watchdog (IWDG) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
DocID026294 Rev 6





@ 2014 :: Datasheetspdf.com :: Semiconductors datasheet search & download site (Privacy Policy & Contact)