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.
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.
The design uses the ST62 MCU.
The time values are represented in the HH:MM format.
The user interface consists of 4 keys.