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.
Discovering Board for STM8L15x MCUs
Discovering Board for STM8L15x MCUs <ul><li>Source: STMicroelectronics </li></ul>
Introduction <ul><li>Purpose </li></ul><ul><ul><li>To introduce STM8L ultra-low power MCUs and the STM8L-Discovery board. </li></ul></ul><ul><li>Outline </li></ul><ul><ul><li>STM8L MCUs overview </li></ul></ul><ul><ul><li>Target applications </li></ul></ul><ul><ul><li>STM8L-Discovery board overview </li></ul></ul><ul><ul><li>Application example </li></ul></ul><ul><li>Content </li></ul><ul><ul><li>11 pages </li></ul></ul>
STM8L EnergyLite MCUs <ul><li>High-performance STM8 8-bit core </li></ul><ul><li>Pin-to-pin and software-compatible devices </li></ul><ul><li>Run-mode dynamic consumption down to 150 μA/MHz </li></ul><ul><li>Supply voltage </li></ul><ul><ul><li>1.65V to 3.6V </li></ul></ul><ul><li>4 to 64 Kbytes of embedded Flash </li></ul><ul><li>Four ultra-low-power modes </li></ul><ul><ul><li>Down to 350 nA with SRAM </li></ul></ul><ul><ul><li>and context retention </li></ul></ul>
STM8L Features and Benefits Integrated safety and security for applications; user data confidentiality/reliability Ultra‑low‑power and ultra‑safe features Fitting applications supplied with external 1.8 V +/‑10% regulator Power supply VDD min: 1.65 V Fast switching from static and dynamic power modes Ultra‑fast wake-up from lowest low‑power mode Autonomy for peripherals, independent from core; can switch off Flash memory and CPU (large current consumption contributors) while keeping peripherals active Direct memory access on board (up to 7‑channel DMA) Switch and adjust frequency and clock sources on the fly depending on application needs Advanced and flexible clock system (multiple internal and external clock sources) Suitable for many applications from complete switch off to continuous monitoring at ultra‑low frequency Range of low‑power modes (up to 6) Very high efficiency of RTC calibration within a 10 s time frame; compliant with latest Chinese regulations Fine-grain calibration accuracy down to +/- 2 ppm Precise synchronization in RF networks, sensors and alarms Sub 1 μA hardware RTC and AWU system unit Low power consumption over time to give energy saving & extended battery life Very low consumption/performance ratio 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 Ultra‑low‑power design (clock gating, low‑power Flash with power‑off capability, voltage scaling) Speed and power consumption independent of MCU power supply, ultra‑low leakage Ultra‑low‑power proprietary 130nm technology Benefits Features
STM8L Product Line All lines include: 4 4 4 64 64 64 4X44 4X44 STM8L162 AES
STM8L-Discovery Overview <ul><li>STM8L152C6T6 microcontroller </li></ul><ul><li>On-board ST-Link </li></ul><ul><li>Designed to be powered by USB or an external supply of 5 V or 3.3 V </li></ul><ul><li>Two red LEDs </li></ul><ul><ul><li>LD1 for USB communication </li></ul></ul><ul><ul><li>LD2 for 3.3 V power on </li></ul></ul><ul><li>Can supply target application with 5 V and 3 V </li></ul><ul><li>Two push buttons (User and Reset) </li></ul><ul><li>IDD current measurement </li></ul><ul><li>LCD 28-pin DIP (24 segments, 4 commons) </li></ul>
Simplified Block Diagram STM8L152C6T6 LCD 24 Segment IDD Measurement Green LED Blue LED ST-Link User Button Reset Button
IDD Measurement <ul><li>Measure the supply IDD current under different power consumption mode </li></ul><ul><ul><li>Run mode </li></ul></ul><ul><ul><li>LPR with LCD ON </li></ul></ul><ul><ul><li>LPR with LCD OFF </li></ul></ul><ul><ul><li>Halt mode </li></ul></ul>
Building a Wave Generator using STM8L-DISCOVERY
Additional Resource <ul><li>For ordering STM8L-Discovery board, please click the part list or </li></ul><ul><li>Call our sales hotline </li></ul><ul><li>For more product information go to </li></ul><ul><ul><li>www.st.com/stm8l-discovery </li></ul></ul><ul><li>Visit element14 to post your question </li></ul><ul><ul><li> www.element-14.com </li></ul></ul><ul><li>For additional inquires contact our technical service hotline or even use our “Live Technical Chat” online facility </li></ul>