Part Number: STM8L052C6T6

Manufacturer: STMicroelectronics

Description: IC MCU 8BIT 32KB FLASH 48LQFP

Shipped from: Shenzhen/HK Warehouse

Stock Available: Check with us

Technical Specifications of STM8L052C6T6

Datasheet  STM8L052C6T6 datasheet
Category Integrated Circuits (ICs)
Family Embedded – Microcontrollers
Manufacturer STMicroelectronics
Series STM8L EnergyLite
Packaging Tray
Part Status Active
Core Processor STM8
Core Size 8-Bit
Speed 16MHz
Connectivity I2C, IrDA, SPI, UART/USART
Peripherals Brown-out Detect/Reset, DMA, IR, LCD, POR, PWM, WDT
Number of I/O 41
Program Memory Size 32KB (32K x 8)
Program Memory Type FLASH
EEPROM Size 256 x 8
RAM Size 2K x 8
Voltage – Supply (Vcc/Vdd) 1.8 V ~ 3.6 V
Data Converters A/D 25x12b
Oscillator Type Internal
Operating Temperature -40°C ~ 85°C (TA)
Package / Case 48-LQFP
Supplier Device Package 48-LQFP (7×7)

STM8L052C6T6 Introduction

Microcontrollers are an important part of all current electronic devices, from phones to home appliances. The STM8L052C6T6 is one of these microcontrollers. It is a remarkable model that is known for its flexibility and speed. This 8-bit microprocessor comes in a 48LQFP package and has 32KB of flash memory. In this article, we’ll look at the STM8L052C6T6’s most important features and abilities, such as its processing power, peripherals, memory organisation, and low-power features. We will also talk about how it could be used in different businesses and give an overview of the development tools and support that are available for using this microcontroller. By the end of this piece, readers will know everything there is to know about the STM8L052C6T6 and how it could be used to power many different electronic devices.

STM8L052C6T6 Description

The STM8L ultra-low-power 8-bit family includes the STM8L052C6 medium-density value line devices. The STM8L05xxx ultra-low-power family has the enhanced STM8 CPU core, which gives it more processing power while keeping the benefits of a CISC architecture, such as improved code density, a 24-bit linear addressing space, and an architecture that is optimised for low-power operations. The family has an integrated debug module with a hardware interface (SWIM) that lets in-application debugging and very fast Flash scripting happen without interrupting the application.

All of the devices have a 12-bit ADC, two 16-bit timers, a real-time clock, one 8-bit timer, and common communication interfaces like SPI, I2C, USART, and a 4×28-segment LCD. The STM8L052C6 from the value line has a medium-density 4×28-segment LCD. The STM8L052C6 works between 1.8 V and 3.6 V and is offered in temperatures from -40°C to +85°C. Because the peripheral set is flexible, you can find the same peripherals in different ST microcontroller families, including 32-bit families. This makes it easy to switch to a different family, and using the same set of software tools makes it even easier. All value-line STM8L ultra-low-power products are built on the same architecture, have the same memory mapping, and use the same pinout.

STM8L052C6T6 Features

  • 8-bit Architecture.
  • 32KB Flash Memory.
  • Low power capabilities.
  • Built-in Peripherals.
  • 48LQFP Package.

Basic Specifications and Package Type

The STM8L052C6T6 is an 8-bit microcontroller that is known for having great specs. It has 32KB of flash memory, which is plenty of space for programme code and data. The microcontroller comes in a 48LQFP (Low Profile Quad Flat Package), which is a small, easy-to-use package that makes it easy to put into electronic products. The STM8L052C6T6 is an 8-bit microcontroller, which means it processes data in 8-bit chunks. This makes it easy to complete jobs in a wide range of applications. The STM8L052C6T6 is a powerful and flexible choice for developers who need a reliable microcontroller because of its large flash memory and small 48LQFP package.

Functional overview

● Low-power modes

The medium-density value line STM8L052C6 has five low-power modes to get the best balance between low power consumption, a short starting time, and available wakeup sources:

  • In wait mode, the CPU clock stops, but some tools continue to run. The microcontroller can leave wait mode with an internal or external signal, event, or reset. Low-power run mode: The CPU and some of the tools are running. With a low-speed oscillator (LSI or LSE), code is run from RAM. The flash memory and data EEPROM are turned off, and the voltage regulator is set to use very little power. Software tells the microcontroller to go into low-power run mode. Software or a restart can be used to get it out of this mode. All interruptions must be hidden. You can’t get the microcontroller out of this mode by using it.
  • Low-power wait mode: When a wait-for event is run in low-power run mode, this mode is started. It’s like low-power run mode, but the CPU clock is turned off. This mode wakes up when the Reset button is pressed or when an internal or external event happens, like when the timers, serial connections, DMA controller (DMA1), or I/O ports send a signal. When an event makes the machine wake up, it goes back to low-power run mode. All interruptions must be hidden. You can’t get the microcontroller out of this mode by using it.
  • In active-halt mode, all clocks except the RTC are stopped. Wakeup can be set off by external interrupts, RTC interrupts, or the reset button.
  • In halt mode, the CPU and other clocks stop, but the gadget stays on. The information in RAM stays the same. The wakeup is started by an interrupt or restart from the outside. Some devices can also wake up from the “Halt” state. Power use goes down when the internal reference voltage is turned off. The device can also be woken up without waiting for the internal reference voltage wakeup time, which is 5 s. This is done by setting up the software.


● Clock prescaler:

A programmable prescaler can change the clock frequency of the CPU and devices to find the best balance between speed and power use.

Changes to the clock source can be made safely while the clock is running by using a setup register.

●  Clock management:

The clock processor can stop the clock for the core, individual peripherals, or the memory to save power.

● RTC clocks and LCD clocks:

No matter what the system clock is, any of the above four sources can be used to time the RTC and the LCD.

● Startup clock:

When the microcontroller is restarted, it starts up with an internal 2 MHz clock (HSI/8) by default. The application programme can change the prescaler ratio and clock source as soon as the code starts to run.

● Security system for the clock (CSS):

Software can be used to turn on this feature. If the HSE clock fails, the system clock will switch to the HSI clock immediately.

System configuration controller and routing interface

The system configuration controller lets you put different tasks on different I/O ports by remapping them. The DMA channels for TIM4 and ADC1 can also be changed. The highly flexible routing interface lets application software decide how different I/Os are sent to the TIM1 timer input captures. It also controls how analogue data from the inside is sent to ADC1 and how the internal reference voltage is set. VREFINT

Option bytes

Option bytes tell the device how to set up its hardware features and how to protect its memory. They are kept in a special block of memory. By reading the EEPROM address in ICP mode (with SWIM), all option bytes can be changed. In IAP mode, the programme can also change the option bytes “on the fly.” However, the ROP and UBC values can only be taken into account when they are changed in ICP mode (with the SWIM).


In conclusion, the STM8L052C6T6 microcontroller has a wide range of features and functions that are amazing. Its 8-bit architecture and 32-KB flash memory allow it to handle data quickly and store a lot of information. Because it uses little power, it works well for energy-efficient designs and systems that run on batteries. Built-in peripherals and a small 48LQFP package make the microcontroller more flexible and easier to use in electronic products. The STM8L052C6T6 could be used to power a wide range of apps in many different fields. Developers are urged to look into how well it works, how little power it uses, and how many features it has for their projects. Contact ICRFQ, which is a top seller of electrical parts in China, for more information or to place an order.

4.8/5 - (397 votes)
Kevin Chen