C69151
The C69151 is an electronic component. View the full C69151 datasheet below including electrical characteristics, absolute maximum ratings.
Overview
Part: STM8L151x6/8 STM8L152x6/8
Type: 8-bit ultra-low-power MCU
Description: 8-bit ultra-low-power MCU with up to 64 KB Flash, 2 KB data EEPROM, RTC, LCD, and a maximum frequency of 16 MHz.
Operating Conditions:
- Supply voltage: 1.65 to 3.6 V
- Operating temperature: -40 to 125 °C
- Max CPU frequency: 16 MHz
Absolute Maximum Ratings:
- Max supply voltage: 4.0 V
- Max total current into VDD: 100 mA
- Max storage temperature: -60 to 150 °C
Key Specs:
- Flash memory: Up to 64 Kbytes
- Data EEPROM: Up to 2 Kbytes
- RAM: Up to 4 Kbytes
- CPU frequency: 16 MHz (16 CISC MIPS peak)
- ADC: 12-bit, up to 1 Msps, 28 channels
- DAC: 2x12-bit (dual mode)
- Halt mode current consumption: 400 nA
- Low-power run mode current consumption: 5.9 μA
Features:
- 5 low-power modes (Wait, Low-power run, Low-power wait, Active-halt, Halt)
- Advanced STM8 core with Harvard architecture and 3-stage pipeline
- LCD controller: 8x40 or 4x44 with step-up converter
- Up to 16 capacitive sensing channels
- DMA: 4 channels for peripherals, 1 channel for memory-to-memory
- Low-power RTC with alarm interrupt and anti-tamper detection
Applications:
- Ultra-low-power applications
- Portable devices with LCD
- Touch sensing interfaces
Package:
- UFQFPN48 (7x7mm)
- LQFP80 (14x14mm)
- LQFP64 (10x10mm)
- LQFP48 (7x7mm)
- WLCSP32
Features
- Operating conditions
- -Operating power supply: 1.65 to 3.6 V (without BOR), 1.8 to 3.6 V (with BOR)
- -Temp. range: -40 to 85, 105 or 125 °C
- Low-power features
- -5 low-power modes: Wait, Low-power run (5.9 μA), Low-power wait (3 μA), Activehalt with full RTC (1.4 μA), Halt (400 nA)
- -Consumption: 200 μA/MHz+330 μA
- -Fast wake up from Halt mode (4.7 μs)
- -Ultra low leakage per I/0: 50 nA
- Advanced STM8 core
- -Harvard architecture and 3-stage pipeline
- -Max freq: 16 MHz, 16 CISC MIPS peak
- -Up to 40 external interrupt sources
- Reset and supply management
- -Low-power, ultra safe BOR reset with five programmable thresholds
- -Ultra-low-power POR/PDR
- -Programmable voltage detector (PVD)
- Clock management
- -32 kHz and 1-16 MHz crystal oscillators
- -Internal 16 MHz factory-trimmed RC and 38 kHz low consumption RC
- -Clock security system
- Low-power RTC
- -BCD calendar with alarm interrupt
- -Digital calibration with +/- 0.5ppm accuracy
- -Advanced anti-tamper detection
- LCD: 8x40 or 4x44 w/ step-up converter
- DMA
- -4 ch. for ADC, DACs, SPIs, I 2 C, USARTs, Timers, 1 ch. for memory-to-memory
- 2x12-bit DAC (dual mode) with output buffer
- 12-bit ADC up to 1 Msps/28 channels
- -Temp. sensor and internal ref. voltage
- Memories
- -Up to 64-Kbytes of Flash memory with up to 2 Kbytes of data EEPROM with ECC and RWW
- -Flexible write/read protection modes
- -Up to 4 Kbytes of RAM
- 2 ultra-low-power comparators
- -1 with fixed threshold and 1 rail to rail
- -Wake up capability
- Timers
- -Three 16-bit timers with 2 channels (IC, OC, PWM), quadrature encoder
- -One 16-bit advanced control timer with 3 channels, supporting motor control
- -One 8-bit timer with 7-bit prescaler
- -One window, one independent watchdog
- -Beeper timer with 1, 2 or 4 kHz frequencies
- Communication interfaces
- -Two synchronous serial interface (SPI)
- -Fast I 2 C 400 kHz SMBus and PMBus
- -Three USARTs (ISO 7816 interface + IrDA)
- Up to 67 I/Os, all mappable on interrupt vectors
- Up to 16 capacitive sensing channels supporting touchkey, proximity, linear touch and rotary touch sensors
- Fast on-chip programming and non-intrusive debugging with SWIM, Bootloader using USART
- 96-bit unique ID
LQFP80 (14x14mm) LQFP64 (10x10mm) LQFP48 (7x7mm)
Table 1. Device summary
| Reference | Part number |
|---|---|
| STM8L151x6/8 | STM8L151R6, STM8L151C8, STM8L151M8, STM8L151R8 |
| STM8L152x6/8 | STM8L152R6, STM8L152C8, STM8L152K8, STM8L152M8, STM8L152R8 |
Table 1. Device summary
Pin Configuration
Figure 3. STM8L151M8 80-pin package pinout (without LCD)
- Pin 22 is reserved and must be tied to V DD .
- The above figure shows the package top view.
- The above figure shows the package top view.
Figure 4. STM8L152M8 80-pin package pinout (with LCD)
Figure 5. STM8L151R8 and STM8L151R6 64-pin pinout (without LCD)
- Pin 18 is reserved and must be tied to V DD .
- The above figure shows the package top view.
- The above figure shows the package top view.
Figure 6. STM8L152R8 and STM8L152R6 64-pin pinout (with LCD)
63
Figure 7. STM8L151C8 48-pin pinout (without LCD)
- Pin 13 is reserved and must be tied to V DD .
- The above figure shows the package top view.
- The above figure shows the package top view.
Figure 8. STM8L152C8 48-pin pinout (with LCD)
Figure 9. STM8L152K8 32-ball ballout
Warning:
For the 32-pin STM8L152K8 devices, some active I/O pins are not bonded out of the package. Effectively, all ports available on 48-pin devices must be considered as active ports also for 32-pin devices - see Table 5: High-density and medium+ density STM8L15x pin description for more details. To avoid spurious effects, users have to configure active ports as input pull-up. A small increase in consumption (typ. < 300 μ A) may occur during the power up and reset phase until these ports are properly configured.
63
Table 4. Legend/abbreviation
| Type | I= input, O = output, S = power supply | I= input, O = output, S = power supply |
|---|---|---|
| Level | FT: Five-volt tolerant | FT: Five-volt tolerant |
| Level | Output | HS = high sink/source (20 mA) |
| Port and control configuration | Input | float = floating, wpu = weak pull-up |
| Port and control configuration | Output | 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). | 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). |
Table 5. High-density and medium+ density STM8L15x pin description
| Pin number | Pin number | Pin number | Pin name WLCSP32 | Input | Input | Output | Output | Output | PP | ||
|---|---|---|---|---|---|---|---|---|---|---|---|
| LQFP80 | LQFP64 | UFQFPN48 and LQFP48 | Type | I/O level | floating | wpu | Ext. interrupt | High sink/source | OD | ||
| 1 | - | - | - PH0/LCD SEG 36 (3) | I/O | FT (6) | X | X | X | HS | X | X |
| 2 | - | - | - PH1/LCD SEG 37 (3) | I/O | FT (6) | X | X | X | HS | X | X |
| 3 | - | - | - PH2/LCD SEG 38 (3) | I/O | FT (6) | X | X | X | HS | X | X |
| 4 | - | - | - PH3/LCD SEG 39 (3) | I/O | FT (6) | X | X | X | HS | X | X |
| 6 | 2 | 2 | C3 NRST/PA1 (1) | I/O | - | - | X | HS | - | X | |
| 7 | 3 | 3 | B4 PA2/OSC_IN/ [USART1_TX] (2) / [SPI1_MISO] (2) | I/O | - | X | X | X | HS | X | X |
| 8 | 4 | 4 | C4 PA3/OSC_OUT/ [USART1_RX] (2) /[ SPI1_MOSI] (2) | I/O | - | X | X | X | HS | X | X |
| 9 | 5 | 5 | D3 PA4/TIM2_BKIN/ [TIM2_ETR] (2) LCD_COM0 (3) /ADC1_IN2 [COMP1_INP] | I/O | FT (6) | X | X | X | HS | X | X |
| 10 | 6 | 6 | D4 PA5/TIM3_BKIN/ [TIM3_ETR] (2) / LCD_COM1 (3) /ADC1_IN1/ [COMP1_INP] | I/O | FT (6) | X | X | X | HS | X | X |
Table 5. High-density and medium+ density STM8L15x pin description
Table 5. High-density and medium+ density STM8L15x pin description (continued)
| Pin number | Pin number | Pin number | Pin number | Input | Input | Output | Output | Output | function reset) | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| LQFP80 | LQFP64 | UFQFPN48 and LQFP48 | WLCSP32 | Pin name | Type | I/O level | floating | wpu | Ext. interrupt | High sink/source | OD | PP | function reset) |
| 11 | 7 | 7 | - (4) | PA6/ADC1_TRIG/ LCD_COM2 (3) /ADC1_IN0/ [COMP1_INP] | I/O | FT (6) | X | X | X | HS | X | X | Port A6 |
| 12 | 8 | 8 | - (4) | PA7/LCD_SEG0 (3) / TIM5_CH1 | I/O | FT (6) | X | X | X | HS | X | X | Port A7 |
| 39 | 31 | 24 | E3 | PB0 (5) /TIM2_CH1/ LCD_SEG10 (3) /ADC1_IN18 / [COMP1_INP] | I/O | FT (6) | X | X | X | HS | X | X | Port B0 |
| 40 | 32 | 25 | G1 | PB1/TIM3_CH1/ LCD_SEG11 (3) /ADC1_IN17 / [COMP1_INP] | I/O | FT (6) | X | X | X | HS | X | X | Port B1 |
| 41 | 33 | 26 | F2 | PB2/ TIM2_CH2/LCD_SEG12 (3) / ADC1_IN16/ [COMP1_INP] | I/O | FT (6) | X | X | X | HS | X | X | Port B2 |
| 42 | 34 | 27 | E2 | PB3/TIM2_ETR/ LCD_SEG13 (3) /ADC1_IN15 / [COMP1_INP] | I/O | FT (6) | X | X | X | HS | X | X | Port B3 |
| 43 | 35 | - | - | PB4 (5) /SPI1_NSS/ LCD_SEG14 (3) /ADC1_IN14 / [COMP1_INP] | I/O | FT (6) | X | X | X | HS | X | X | Port B4 |
| - | - | 28 | D2 | PB4 (5) /SPI1_NSS/ LCD_SEG14 (3) /ADC1_IN14 /DAC_OUT2/ [COMP1_INP] | I/O | FT (6) | X | X | X | HS | X | X | Port B4 |
Table 5. High-density and medium+ density STM8L15x pin description (continued)
63
Electrical Characteristics
In the following table, data are guaranteed by design.
Table 50. DAC characteristics
| Symbol | Parameter | Conditions | Min. | Typ. | Max. | Unit |
|---|---|---|---|---|---|---|
| V DDA | Analog supply voltage | - | 1.8 | - | 3.6 | V |
| V REF+ | Reference supply voltage | - | 1.8 | - | V DDA | V |
| I VREF | Current consumption on V REF+ supply | V REF+ = 3.3 V, no load, middle code (0x800) | - | 130 | 220 | μA |
| I VREF | Current consumption on V REF+ supply | V REF+ = 3.3 V, no load, worst code (0x000) | - | 220 | 350 | μA |
| I VDDA | Current consumption on V DDA supply | V DDA = 3.3 V, no load, middle code (0x800) | - | 210 | 320 | μA |
| I VDDA | Current consumption on V DDA supply | V DDA = 3.3 V, no load, worst code (0x000) | - | 320 | 520 | μA |
| T A | Temperature range | -40 | - | 125 | °C | |
| R L (1) (2) | Resistive load | DACOUT buffer ON | 5 | - | - | k Ω |
| R O | Output impedance | DACOUT buffer OFF | - | 8 | 10 | k Ω |
| C L (3) | Capacitive load | - | - | 50 | pF | |
| DAC_OUT (4) | DAC_OUT voltage | DACOUT buffer ON | 0.2 | - | V DDA - 0.2 | V |
| DAC_OUT (4) | DAC_OUT voltage | DACOUT buffer OFF | 0 | - | V REF+ -1 LSB | V |
| t settling | Settling time (full scale: for a 12- bit input code transition between the lowest and the highest input codes when DAC_OUT reaches the final value ±1LSB) | R L ≥ 5 k Ω , C L ≤ 50 pF | - | 7 | 12 | μs |
| Update rate | Max frequency for a correct DAC_OUT (@95%) change when small variation of the input code (from code i to i+1LSB). | R L ≥ 5 k Ω , C L ≤ 50 pF | - | - | 1 | Msps |
| t WAKEUP | Wakeup time from OFF state. Input code between lowest and highest possible codes. | R L ≥ 5 k Ω , C L ≤ 50 pF | - | 9 | 15 | μs |
| PSRR+ | Power supply rejection ratio (to V DDA ) (static DC measurement) | R L ≥ 5 k Ω , C L ≤ 50 pF | - | -60 | -35 | dB |
- Resistive load between DACOUT and GNDA
- Output on PF0 or PF1
- Capacitive load at DACOUT pin
- It gives the output excursion of the DAC
In the following table, data based on characterization results.
Table 51. DAC accuracy
| Symbol | Parameter | Conditions | Typ. | Max. | Unit |
|---|---|---|---|---|---|
| DNL | Differential non linearity (1) | R L ≥ 5 k Ω , C L ≤ 50 pF DACOUT buffer ON (2) | 1.5 | 3 | 12-bit LSB |
| DNL | Differential non linearity (1) | No load DACOUT buffer OFF | 1.5 | 3 | 12-bit LSB |
| INL | Integral non linearity (3) | R L ≥ 5 k Ω , C L ≤ 50 pF DACOUT buffer ON (2) | 2 | 4 | 12-bit LSB |
| INL | Integral non linearity (3) | No load DACOUT buffer OFF | 2 | 4 | 12-bit LSB |
| Offset | Offset error (4) | R L ≥ 5 k Ω , C L ≤ 50 pF DACOUT buffer ON (2) | ±10 | ±25 | 12-bit LSB |
| Offset | Offset error (4) | No load DACOUT buffer OFF | ±5 | ±8 | 12-bit LSB |
| Offset1 | Offset error at Code 1 (5) | DACOUT buffer OFF | ±1.5 | ±5 | 12-bit LSB |
| Gain error | Gain error (6) | R L ≥ 5 k Ω , C L ≤ 50 pF DACOUT buffer ON (2) | +0.1/-0.2 | +0.2/-0.5 | % |
| Gain error | Gain error (6) | No load DACOUT buffer OFF | +0/-0.2 | +0/-0.4 | % |
| TUE | Total unadjusted error | R L ≥ 5 k Ω , C L ≤ 50 pF DACOUT buffer ON (2) | 12 | 30 | 12-bit LSB |
| TUE | Total unadjusted error | No load -DACOUT buffer OFF | 8 | 12 | 12-bit LSB |
- Difference between two consecutive codes - 1 LSB.
- In 48-pin package devices the DAC2 output buffer must be kept off and no load must be applied on the DAC_OUT2 output.
- Difference between measured value at Code i and the value at Code i on a line drawn between Code 0 and last Code 1023.
- Difference between the value measured at Code (0x800) and the ideal value = V REF+ /2.
- Difference between the value measured at Code (0x001) and the ideal value.
- Difference between the ideal slope of the transfer function and the measured slope computed from Code 0x000 and 0xFFF when buffer is ON, and from Code giving 0.2 V and (V DDA -0.2) V when buffer is OFF.
In the following table, data are guaranteed by design.
Table 52. DAC output on PB4-PB5-PB6 (1)
| Symbol | Parameter | Conditions | Max | Unit |
|---|---|---|---|---|
| R int | Internal resistance between DAC output and PB4-PB5-PB6 output | 2.7 V < V DD < 3.6 V | 1.4 | k Ω |
| R int | Internal resistance between DAC output and PB4-PB5-PB6 output | 2.4 V < V DD < 3.6 V | 1.6 | k Ω |
| R int | Internal resistance between DAC output and PB4-PB5-PB6 output | 2.0 V < V DD < 3.6 V | 3.2 | k Ω |
| R int | Internal resistance between DAC output and PB4-PB5-PB6 output | 1.8 V < V DD < 3.6 V | 8.2 | k Ω |
124
Absolute Maximum Ratings
Stresses above the absolute maximum ratings listed in Table 15: Voltage characteristics , Table 16: Current characteristics , and Table 17: Thermal characteristics may cause permanent damage to the device. These are stress ratings only and functional operation of the device at these conditions is not implied. Exposure to maximum rating conditions for extended periods may affect the device's reliability.
The device's mission profile (application conditions) is compliant with the JEDEC JESD47 Qualification Standard, extended mission profiles are available on demand.
Table 15. Voltage characteristics
| Symbol | Ratings | Min | Max | Unit |
|---|---|---|---|---|
| V DD - V SS | External supply voltage (including V DDA ) (1) | - 0.3 | 4.0 | V |
| V IN (2) | Input voltage on true open-drain pins (PC0 and PC1) | V SS - 0.3 | V DD + 4.0 | V |
| V IN (2) | Input voltage on five-volt tolerant (FT) pins | V SS - 0.3 | V DD + 4.0 | V |
| V IN (2) | Input voltage on any other pin | V SS - 0.3 | 4.0 | V |
| V ESD | Electrostatic discharge voltage | see Absolute maximum ratings (electrical sensitivity) on page 123 | see Absolute maximum ratings (electrical sensitivity) on page 123 | V |
124
Table 16. Current characteristics
| Symbol | Ratings | Max. | Unit |
|---|---|---|---|
| I VDD | Total current into V DD power line (source) | 80 | mA |
| I VSS | Total current out of V SS ground line (sink) | 80 | mA |
| I IO | Output current sunk by IR_TIM pin (with high sink LED driver capability) | 80 | mA |
| I IO | Output current sunk by any other I/O and control pin | 25 | mA |
| I IO | Output current sourced by any I/Os and control pin | - 25 | mA |
| I INJ(PIN) | Injected current on true open-drain pins (PC0 and PC1) (1) | - 5 / +0 | mA |
| I INJ(PIN) | Injected current on five-volt tolerant (FT) pins (1) | - 5 / +0 | mA |
| I INJ(PIN) | Injected current on any other pin (2) | - 5 / +5 | mA |
| Σ I INJ(PIN) | Total injected current (sum of all I/O and control pins) (3) | ± 25 | mA |
Table 17. Thermal characteristics
| Symbol | Ratings | Value | Unit |
|---|---|---|---|
| T STG | Storage temperature range | -65 to +150 | ° C |
| T J | Maximum junction temperature | 150 | ° C |
Table 17. Thermal characteristics
Thermal Information
The maximum chip junction temperature (T Jmax ) must never exceed the values given in Table 18: General operating conditions on page 71 .
The maximum chip-junction temperature, T Jmax , in degree Celsius, may be calculated using the following equation:
Package Information
In order to meet environmental requirements, ST offers these devices in different grades of ECOPACK ® packages, depending on their level of environmental compliance. ECOPACK ® specifications, grade definitions and product status are available at: www.st.com . ECOPACK ® is an ST trademark.
Related Variants
The following components are covered by the same datasheet.
| Part Number | Manufacturer | Package |
|---|---|---|
| STM8L151C8 | STMicroelectronics | — |
| STM8L151M8 | STMicroelectronics | — |
| STM8L151R6 | STMicroelectronics | — |
| STM8L151R8 | STMicroelectronics | — |
| STM8L152R6 | STMicroelectronics | — |
Get structured datasheet data via API
Get started free