Difference between revisions of "STM32L031K6 Microcontroller"

From ScienceZero
Jump to: navigation, search
Line 70: Line 70:
 
=== Pinout ===
 
=== Pinout ===
 
[[File:STM32F031K6 pinout.JPG|320px]]
 
[[File:STM32F031K6 pinout.JPG|320px]]
 +
 +
===Alternate function mapping===
 +
{| class="wikitable" border="1" cellspacing="0"
 +
|+ '''Alternate Functions for available pins on chip'''
 +
! Pin
 +
! AF0
 +
! AF1
 +
! AF2
 +
! AF3
 +
! AF4
 +
! AF5
 +
! AF6
 +
! AF7
 +
! AF8
 +
! AF9
 +
! AF10
 +
! AF11
 +
! AF12
 +
! AF13
 +
! AF14
 +
! AF15
 +
|-
 +
| PA0
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
 +
|}

Revision as of 09:06, 8 June 2016

STM32F031K6 Microcontroller Overview

STM32L031K6 chip.JPG


  • Core: ARM® 32-bit Cortex® -M0 CPU, frequency up to 48 MHz
  • Memories
    • 16 to 32 Kbytes of Flash memory
    • 4 Kbytes of SRAM with HW parity
  • CRC calculation unit
  • Reset and power management
    • Digital and I/Os supply: 2.0 to 3.6 V
    • Analog supply: VDDA = from VDD to 3.6 V
    • Power-on/Power-down reset (POR/PDR)
    • Programmable voltage detector (PVD)
    • Low power modes: Sleep, Stop and Standby
    • 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 x6 PLL option
    • Internal 40 kHz RC oscillator
  • Up to 39 fast I/Os
    • All mappable on external interrupt vectors
    • Up to 26 I/Os with 5 V tolerant capability
  • 5-channel DMA controller
  • 1 × 12-bit, 1.0 μs ADC (up to 10 channels)
    • Conversion range: 0 to 3.6V
    • Separate analog supply from 2.4 up to 3.6 V
  • Up to 9 timers
    • 1 x 16-bit 7-channel advanced-control timer for 6 channels PWM output, with deadtime generation and emergency stop
    • 1 x 32-bit and 1 x 16-bit timer, with up to 4 IC/OC, usable for IR control decoding
    • 1 x 16-bit timer, with 2 IC/OC, 1 OCN, deadtime generation and emergency stop
    • 1 x 16-bit timer, with IC/OC and OCN, deadtime generation, emergency stop and modulator gate for IR control
    • 1 x 16-bit timer with 1 IC/OC
    • Independent and system watchdog timers
    • SysTick timer: 24-bit downcounter
  • Calendar RTC with alarm and periodic wakeup from Stop/Standby
  • Communication interfaces
    • 1 x I2 C interface, supporting Fast Mode Plus (1 Mbit/s) with 20 mA current sink, SMBus/PMBus, and wakeup from Stop mode
    • 1 x USART supporting master synchronous SPI and modem control, ISO7816 interface, LIN, IrDA capability auto baud rate detection and wakeup feature
    • 1 x SPI (18 Mbit/s) with 4 to 16 programmable bit frames, with I2 S interface multiplexed
  • Serial wire debug (SWD)
  • 96-bit unique ID
  • Extended temperature range: -40 to +105°C
  • All packages ECOPACK® 2


STM32F031K6 block diagram
STM32F031K6 block diagram.JPG


STM32F031K6 clock tree
STM32F031K6 clock tree.JPG

Memory map

*I = Instruction bus, D = Data bus, S = System bus

Documents and files

Datasheet
Specifications
Getting started
Reference manual
Programming manual
Getting started with STM32F0
STM32 - 32-bit ARM Cortex-M MCUs
Migrating between STM32F1 and STM32F0 series microcontrollers
Errata

Pinout

STM32L031K6 pinout.JPG

Alternate function mapping

Alternate Functions for available pins on chip
Pin AF0 AF1 AF2 AF3 AF4 AF5 AF6 AF7 AF8 AF9 AF10 AF11 AF12 AF13 AF14 AF15
PA0