4. STM8L Features and Benefits Features Benefits Ultra‑low‑power proprietary 130nm technology Speed and power consumption independent of MCU power supply, ultra‑low leakage Ultra‑low‑power design (clock gating, low‑power Flash with power‑off capability, voltage scaling) Reduced overall run and low‑power mode current consumption by turning off clocks of unused peripherals or Flash; Optimized power consumption in run mode according to the performance required Very low consumption/performance ratio Low power consumption over time to give energy saving & extended battery life Sub 1 μA hardware RTC and AWU system unit Precise synchronization in RF networks, sensors and alarms Fine-grain calibration accuracy down to +/- 2 ppm Very high efficiency of RTC calibration within a 10 s time frame; compliant with latest Chinese regulations Range of low‑power modes (up to 6) Suitable for many applications from complete switch off to continuous monitoring at ultra‑low frequency Advanced and flexible clock system (multiple internal and external clock sources) Switch and adjust frequency and clock sources on the fly depending on application needs Direct memory access on board (up to 7‑channel DMA) Autonomy for peripherals, independent from core; can switch off Flash memory and CPU (large current consumption contributors) while keeping peripherals active Ultra‑fast wake-up from lowest low‑power mode Fast switching from static and dynamic power modes Power supply VDD min: 1.65 V Fitting applications supplied with external 1.8 V +/‑10% regulator Ultra‑low‑power and ultra‑safe features Integrated safety and security for applications; user data confidentiality/reliability
5.
6. STM8L Product Line All lines include: 4 4 4 64 64 64 4X44 4X44 STM8L162 AES
7.
8. Simplified Block Diagram STM8L152C6T6 LCD 24 Segment IDD Measurement Green LED Blue LED ST-Link User Button Reset Button
Welcome to the training module on the Discovering board for STM8L15x MCUs.
This training module will introduce STM8L ultra-low power MCUs and the STM8L-Discovery board.
Lower power consumption is increasingly required in all types of market applications. To better serve this market, STMicroelectronics is developing a platform of ultra-low power MCUs, EnergyLite. The STM8L MCU family, based on the STM8 proprietary core, is the entry point of the platform. The STM8L family combines high performance and ultra‑low power consumption using a new proprietary ultra‑low leakage process and optimized architecture. The STM8L offers specific features for ultra‑low‑power applications, such as advanced ultra‑low‑power modes, optimized dynamic run consumption and specific safety features. The balance between high performance and ultra‑low power using different modes ensures optimal energy consumption, whatever your application.
The entire STM8L family is built using ST’s EnergyLite ultra-low-power platform. This platform combines a proprietary 130nm ultra-low leakage process with ultra low-power non-volatile memory (EEPROM), and achieves dynamic current consumption as low as 150uA/MHz. STM8L devices implement a voltage regulator capable of maintaining low operating current at low supply voltages, which provides extra flexibility for designers to minimize the overall energy consumption of their applications. Speed and functionality are not compromised, as the full CPU performance is maintained up to the maximum operating frequency at any supply voltage (Vdd) from 1.65V to 3.6V. In addition, integrated analog peripherals are fully functional at supply voltages down to 1.8V. This can help simplify design as well as helping to minimize overall power demand
The STM8L is ideal for many applications with special care on power savings, like battery-operated devices. With an enhanced real-time clock module, the STM8L offers sub-second accuracy as well as supports for calibration, enabling increased precision in applications requiring time-stamping and accurate synchronization. These applications include utility metering and use within RF networks.
This family is described in four different lines, STM8L101, STM8L151, STM8L152, and STM8L162, making the STM8L an optimal family to support many applications with special care on power savings. The STM8L101 is the entry point for the ultra-low-power 8-bit portfolio. It is cost optimized and offers a high level of integration in an ultra small footprint. The STM8L151 is the feature-rich 8-bit solution. It has more Flash, SRAM and peripherals on board, with external crystal/clock capability, more analog features, a real-time clock and enhanced reset, EEPROM with true RWW, DMA, fast ADC and DAC. The STM8L152 has an additional segment LCD driver compared to the STM8L151. Aiming to provide increased security, the STM8L162 features on-chip 128-bit AES encryption.
The STM8L-DISCOVERY helps you to discover the STM8L ultralow power features and to develop and share your applications. It is based on an STM8L152C6T6 and includes an ST-Link embedded debug tool interface, LCD (24 segments, 4 commons), LEDs and push buttons. The STM8L-DISCOVERY has a built-in IDD measurement feature that is used to demonstrate the real capabilities of the STM8L15x microcontroller’s low power modes. Demonstration software is preloaded in the board's Flash memory, and numerous applications are available to learn, reuse, and modify code for a fast time to proof-of-concept or demonstration. ST provides a complete development package, the STM8L-Discovery_dev. allows one to easily get started with the STM8L-DISCOVERY by simplifying application code development and execution using the standard peripherals drivers.
The STM8L-DISCOVERY is designed around the STM8L152C6T6 microcontroller in a 48-pin LQFP package. The diagram illustrates the connections between the STM8L152C6T6 and its peripherals, including ST-Link, push button, LED, LCD, and connectors. The embedded ST-Link can be used in 2 different ways to on board programming/debugging or external application programming/debuging. The reset push button is used to RESET the STM8L152C6T6, and the user push button connected to the I/O of the STM8L152C6T6. The built-in IDD measurement circuit allows the consumption of the STM8L152C6T6 to be measured and displayed on the LCD Glass while the MCU is in Run or Low power saving modes. The LCD allows the STM8L152C6T6 to display any information on six 14-segment digits and 4 BARs, using all COMs.
STM8L-DISCOVERY includes specific analog and logic hardware that is connected to the STM8L152 microcontroller and which is intended to measure and display the supply IDD current when the device is placed in different power consumption modes such as run mode, low power run mode with LCD display ON, low power run mode with LCD display OFF, and halt mode. The user can read the value displayed on the LCD panel to know how much power the device is current consuming. This demonstration sample code is preloaded in the board’s Flash memory.
The STM8L-DISCOVERY can be used as a basic wave generator for various waveforms such as sine, sinc (sin(x)/x), square, ramp and sawtooth signals. This application does not require any additional hardware. It uses the DAC peripheral to generate various waveforms on the DAC output. As the waveforms generated by the wave generator are periodic signals, only one period of each signal needs to be stored in the device Flash memory. Each signal period is recorded in a table of 65 and 130 samples stored in the microcontroller Flash memory, depending on the required resolution. These samples are sent cyclically from the Flash memory to the DAC using a DMA transaction and synchronized by a hardware trigger event provided by TIM4 timer. The sample code has been download from ST site.
Thank you for taking the time to view this presentation on “ Discovering board for STM8L15x MCUs” . If you would like to learn more or go on to purchase some of these devices, you may either click on the part list link right beside the play button on the TechCast portal, or simply call our sales hotline. For more technical information you may either visit the STMicroelectronics site, or if you would prefer to speak to someone live, please call our hotline number, or even use our ‘live chat’ online facility. You may visit element14 e-community to post your questions.