STMicroelectronics STM8L15x Manuals

ManualLib has 3 documents for the STMicroelectronics STM8L15x (microcontrollers): 3 application notes. Every file can be read online or downloaded as a PDF for free.

Application Note 3

Key facts

Model
STM8L15x
Documents
3
Languages
EN
Last added
2012-08-07

Start here

STMicroelectronics STM8L15x/STM8L16x Real-Time Clock Application Note AN3133

STMicroelectronics STM8L15x/STM8L16x Real-Time Clock Application Note AN3133

Application Note 43 pages · 445 KB · EN

The document details the capabilities of the Real-Time Clock (RTC) found in specific STM8L series microcontrollers. Key features include a full-featured calendar tracking time and date, programmable alarms with various masking options, a periodic wakeup unit for low-power operation, smooth digital calibration to adjust clock accuracy, and tamper detection circuits.

The guide provides step-by-step instructions on how to initialize the calendar, program alarms, and configure the auto-wakeup unit. It includes five specific application examples covering calendar/alarm usage, waking from low power modes, periodic event generation, tamper detection, and chronometer functionality.

Read online

STMicroelectronics STM8L15x specifications

Supported Microcontroller Familiesmedium density STM8L15x and medium+ and high density STM8L15x/16x devices
Calendar FormatBCD (binary-coded decimal)
Sub-second Resolution Rangeup to 0xFFFF or 65535 in decimal
Sub-second Adjustment Rangeup to 32767 (0x7FFF) sub-seconds

Source: STMicroelectronics STM8L15x/STM8L16x Real-Time Clock Application Note AN3133

All STMicroelectronics STM8L15x documents by type

Questions answered in these manuals

What microcontrollers does this application note cover?

It covers the real-time clock controller embedded in medium density STM8L15x and medium+ and high density STM8L15x/16x devices.

From: STMicroelectronics STM8L15x/STM8L16x Real-Time Clock Application Note AN3133

Does the RTC calendar support sub-seconds?

Yes, a sub-second field is available on medium+ and high density devices in binary format.

From: STMicroelectronics STM8L15x/STM8L16x Real-Time Clock Application Note AN3133

What are the two methods for calibrating the HSI oscillator?

The first method is based on finding the frequency with the minimum error, and the second consists in finding the maximum allowed frequency error.

From: ST AN3101 Application Note

What reference sources can be used for HSI calibration?

An accurate reference source such as the LSE frequency provided by an external 32.768 kHz crystal or the 50 Hz/60 Hz of the mains can be used.

From: ST AN3101 Application Note

What hardware is required to run this application?

The application uses the STM8L-DISCOVERY on-board LEDs, 6-digit/4-bar LCD glass display, and user push-button; no additional components are required.

From: STMicroelectronics AN3269 STM8L15x Power Saving Modes Application Note

How does the application measure current in low power modes?

In low power modes, a counter enabled by the STM8L manages timing while idle. A capacitor stores the measurement charge so the microcontroller can display the value early upon wake-up.

From: STMicroelectronics AN3269 STM8L15x Power Saving Modes Application Note