DataSheet39.com

STM8TL52F4 PDF Datasheet - STMicroelectronics

Part Number STM8TL52F4
Description 8-bit ultralow power touch sensing microcontroller
Manufacturers STMicroelectronics 
Logo STMicroelectronics Logo 
Preview
Preview ( 30 pages )
		
STM8TL52F4 datasheet, circuit
STM8TL52G4 STM8TL52F4
STM8TL53C4 STM8TL53G4 STM8TL53F4
8-bit ultralow power touch sensing microcontroller
with 16 Kbytes Flash, ProxSense™, timers, USART, SPI, I2C
Datasheet - production data
5&1&0.
XMM
5&1&0.
XMM
433/0
Features
Operating conditions
– Operating power supply: 1.65 V to 3.6 V
– Temperature range: –40 °C to 85 °C
Low power features
– 4 low power modes: Wait, Active-halt with
AWU (1 µA), Active-halt with ProxSense™
(10 µA with scan every 200 ms),
Halt (0.4 µA)
– Dynamic power consumption: 150 µA/MHz
– Fast wakeup from Halt mode: 4.7 µs
– Ultralow leakage per I/O: 50 nA
Advanced STM8 Core
– Harvard architecture with 3-stage pipeline
– Max freq.16 MHz,16 CISC MIPS peak
Memories
– Up to 16 Kbytes of Flash program including
up to 2 Kbytes of data EEPROM
– Error correction code (ECC)
– Flexible write and read protection modes
– In-application and in-circuit programming
– Data EEPROM capability
– 4 Kbytes of static RAM
Clock management
– Internal 16 MHz factory-trimmed RC
– Internal 38 kHz low consumption RC
driving both the IWDG and the AWU
Reset and supply management
– Ultralow power, ultrasafe power-on reset/
power-down reset
Interrupt management
– Nested interrupt controller with software
priority control
– Up to 22 external interrupt sources
I/Os
– Up to 23 with 22 mappable on external
interrupt vectors
– I/Os with programmable input pull-ups, high
sink/source capability
ProxSense™ patented acquisition technology
with up to 300 touch sensing channels (20
receiver/transmitter channels and 15
transmitter channels) supporting projected
capacitive acquisition method suitable for
proximity detection.
Timers
– Two 16-bit general purpose timers (TIM2
and TIM3) with up and down counter and 2
channels (used as IC, OC, PWM)
– One 8-bit timer (TIM4) with 7-bit prescaler
– Independent watchdog
– Window watchdog
– Auto-wakeup unit
– Beeper timer with 1, 2 or 4 kHz frequencies
Communication interfaces
– SPI synchronous serial interface
– Fast I2C Multimaster/slave 400 kHz
– USART with fractional baud rate generator
Development support
– Hardware single wire interface module
(SWIM) for fast on-chip programming and
non intrusive debugging
– In-circuit emulation (ICE)
August 2013
This is information on a product in full production.
DocID022344 Rev 4
1/79
www.st.com

1 page
line_dark_gray
STM8TL52F4 pdf, schematic
Contents
Contents
STM8TL5xxx
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3 Product overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.1 Central processing unit STM8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
3.2 Development tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.3 Single wire data interface (SWIM) and debug module . . . . . . . . . . . . . . . 12
3.4 Interrupt controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.5 Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.6 Low power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.7 Voltage regulators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.7.1 Dual-mode voltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.7.2 ProxSense voltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.8 Clock control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.9 System configuration controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.10 Independent watchdog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.11 Window watchdog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.12 Auto-wakeup counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.13 General purpose and basic timers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.14 Beeper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.15 USART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.16 SPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.17 I2C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.18 ProxSense . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.19 TouchSensing dedicated library available upon request . . . . . . . . . . . . . 16
4 Pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5 Memory and register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6 Interrupt vector mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
2/79 DocID022344 Rev 4

2 Page
line_dark_gray
STM8TL52F4 equivalent
STM8TL5xxx
List of tables
List of tables
Table 1.
Table 2.
Table 3.
Table 4.
Table 5.
Table 6.
Table 7.
Table 8.
Table 9.
Table 10.
Table 11.
Table 12.
Table 13.
Table 14.
Table 15.
Table 16.
Table 17.
Table 18.
Table 19.
Table 20.
Table 21.
Table 22.
Table 23.
Table 24.
Table 25.
Table 26.
Table 27.
Table 28.
Table 29.
Table 30.
Table 31.
Table 32.
Table 33.
Table 34.
Table 35.
Table 36.
Table 37.
Table 38.
Table 39.
Table 40.
Table 41.
Table 42.
Device features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Legends/abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
STM8TL5xxx pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
I/O Port hardware register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
General hardware register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
CPU/SWIM/debug module/interrupt controller registers . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Interrupt mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Option bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Option byte description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Unique ID registers (96 bits) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Thermal characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
General operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Operating conditions at power-up / power-down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
ProxSense voltage regulator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Total current consumption in Run mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Total current consumption in Wait mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Total current consumption in Halt mode and Active-halt mode
VDD = 1.65 V to 3.6 V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Peripheral current consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
ProxSense peripheral current consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
HSI oscillator characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
HSI_PXS oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
LSI oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
RAM and hardware registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Flash program memory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Program memory endurance & retention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Data memory endurance & retention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
I/O static characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Output driving current (high sink ports). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
NRST pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
SPI characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
I2C characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
EMS data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
EMI data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
ESD absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Electrical sensitivities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Thermal characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
UFQFPN48 - 48-lead ultra thin fine pitch quad flat no-lead package (7x7),
package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
UFQFPN28 - 28-lead ultra thin fine pitch quad flat no-lead package (4x4),
package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
TSSOP20 - 20-pin thin shrink small outline package mechanical data . . . . . . . . . . . . . . . 73
Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
DocID022344 Rev 4
5/79
5

5 Page
line_blue
STM8TL52F4 diode, scr
STM8TL5xxx
Description
Table 1. Device features
Features
STM8TL52F4 STM8TL53F4 STM8TL52G4 STM8TL53G4 STM8TL53C4
Flash (Kbytes)
16
Data EEPROM
(Kbytes)
2
RAM (Kbytes)
4
Timers
Basic
General
purpose
1 (8-bit)
2 (16-bit)
Communi
cation
Interfaces
SPI
I2C
USART
1
1
1
GPIOs
12
17 23
ProxSense
Up to 12 touch
sensing
channels
(5 receiver/
transmitter
channels and 2
transmitter
channels)
Up to 30 touch
sensing
channels
(5 receiver/
transmitter
channels and 6
transmitter
channels)
Up to 25 touch
sensing
channels
(8 receiver/
transmitter
channels and 2
transmitter
channels)
Up to 72 touch
sensing
channels
(8 receiver/
transmitter
channels and 9
transmitter
channels)
Up to 300 touch
sensing
channels
(20 receiver/
transmitter
channels and 15
transmitter
channels)
Others
Window watchdog, independent watchdog, two 16-MHz and one 38-kHz internal RC, auto-
wakeup counter, beeper
CPU frequency
16 MHz
Operating voltage
1.65 to 3.6 V
Operating
temperature
-40 to +85 °C
Packages
TSSOP20
UFQFPN28
UFQFPN48
DocID022344 Rev 4
9/79
25

9 Page
line_dark_gray
STM8TL52F4 transistor, igbt
STM8TL5xxx
Pin description
Type
Table 2. Legends/abbreviations
I = input, O = output, S = power supply
Level
Input
Output
FT = 5 V tolerant, TC = 3 V capable
HS = high sink/source (20 mA)
Port and control Input
configuration Output
float = floating, wpu = weak pull-up
T = true open drain, OD = open drain, PP = push-pull
Reset state
Bold X (pin state after reset release).
Unless otherwise specified, the pin state is the same during the reset phase
(i.e. “under reset”) and after internal reset release (i.e. at reset state).
Pin no.
Table 3. STM8TL5xxx pin description
Input
Output
Alternate function
Pin name
Default
Remap
1 PB6/ PXS_TX14 I/O TC X X X HS X X Port B6
2
27
2
PA0(1)/SWIM/
BEEP
I/O TC X X X HS X X SWIM
3
28
3
PA1/SPI_NSS/
[TIM3_CH1]
I/O FT X X X HS X X Port A1
PA2/SPI_SCK/
4 1 4 USART_CK/
[TIM3_CH2](2)
I/O FT X X X HS X X Port A2
PA3/SPI_MISO/
5 2 5 USART_TX/
I2C_SDA(2)
I/O FT X X X HS X X Port A3
ProxSense
transmit 14
Port A0(1)
SWIM input and
output
Beep output
SPI master/
slave select
Timer 3 -
channel
1
SPI clock
USART
synchronous
clock
Timer 3 -
channel
2
SPI master in/
slave out
USART transmit
I2C data
DocID022344 Rev 4
21/79
25

21 Page





Information Total 30 Pages
Download[ STM8TL52F4.PDF Datasheet ]

Share Link :

Electronic Components Distributor

SparkFun Electronics Allied Electronics DigiKey Electronics Arrow Electronics
Mouser Electronics Adafruit Element14 Chip One Stop



Featured Datasheets

Part NumberDescriptionManufacturers
STM8TL52F4The function of this parts is a 8-bit ultralow power touch sensing microcontroller.STMicroelectronics
STMicroelectronics

Quick jump to:

STM8  1N4  2N2  2SA  2SC  74H  ADC  BC  BF  BU  CXA  HCF  IRF  KA  KIA  LA  LM  MC  NE  ST  STK  TDA  TL  UA 


DataSheet39.com is an Online Datasheet PDF Search Site.
It offers a large amount of data sheet, You can free PDF files download.
The updated every day, always provide the best quality and speed.



Index : 0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  SCR

www.DataSheet39.com    |   2018   |  Privacy Policy  |  Contact Us   |  New  |  Search