STMicroelectronics AN841 Application Note: Clock Design using ST6-REALIZER

This application note presents the design of a clock system using the ST6-REALIZER. The clock system provides the following features: current time counting, alarm triggering at a defined time, current time setup, and alarm time setup. The application note presents a simple clock design with an alarm feature using the ST6-REALIZER.


STMicroelectronics AN841 Application Note: Clock Design using ST6-REALIZER - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
10
File format
PDF
File size
114 KB
Published
07 August, 2012
Updated
30 September, 2023
MD5 checksum
F2AE4447987FEA84EC2905B83AC7F542

About this manual

The document presents an application for designing a time-of-day clock system featuring current time counting, alarm triggering, and setup capabilities. The solution utilizes the ST62 microcontroller (MCU) to provide single-chip functionality suitable for small home appliances.

The design relies on the ST6-REALIZER library to generate application software through functional description rather than traditional coding. Key components include a 1 Hz timebase generated by an embedded timer and chained Modulo-N counters for seconds, minutes, and hours. The system uses four user keys (TIME SETUP, ALARM SETUP, HOURS, MINUTES) to adjust both current time and alarm settings via software-controlled incrementation.

What's inside

  • Application Overview
  • Functional Principle
  • Current Time Counting
  • Current Time Setup
  • Alarm Time Setup
  • Practical Realisation
  • Timebase Description
  • Revision History

Frequently asked questions

Which microcontroller is used in this clock design?

The design uses the ST62 MCU.

What format is used to represent the time values?

The time values are represented in the HH:MM format.

How many keys are required for the user interface?

The user interface consists of 4 keys.

Download PDF (114 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →