ST Microelectronics’ M41T6x Family – Keeping an Eye on Time

Providing annoying users with an accurate timekeeping function is easy as long as the real-time operating system is running – things get interesting when the RTOS goes to sleep. A dedicated RTC such as ST Microelectronics’ MT41T62 provides a nice workaround.

M41T62, M41T64 and M41T65 differ from the classic Dallas Semiconductor real time clocks in that they do not contain a battery – providing a capacitor or a similar power supply is the sole responsibility of the circuit designer. The parts, however, do not need much in terms of power – 350 nA (yes, Nanoamps!!!) are enough for timekeeping. An example implementation would look like figure one.

Supercapacitors can keep an M41T62 happy for quite some time

The diode shown in the figure is needed to prevent balancing currents: if the main PSU is off and the diode is missing, backfeeding would deplete the capacitors charge and might even damage the PSU.

Communication with the host is established using a 400KhZ I2C interface. The chip itself stores time accurately, providing a hundreth-of-a-second resolution in some operating modes. Dedicated registers let you access the various components such as the date and the time – there is no need to fiddle around with epoch values on the M41T65 RTC. Configuring the part also is not difficult: just fire off a few I2C writes to set parameters stored in the various internal registers.

Like with most other parts, STM prides itself in providing three different versions of its venerable timekeeper IC. M41T62 and M41T65 both have an alarm function for waking up a microcontroller, while the M41T64 version foregoes the alarm capability for a dedicated oscillator output. SGS recommends you to use this timekeeping clock as a reference or clock source for microcontrollers – the limit, of course, is in your imagination.

Do, however, keep in mind that the housings are extremely small. All versions are available in a 3x3mm QFN16 package, while some parts come in even smaller housings which contain the 32khz crystal required for timekeeping operation.

Recent Articles
Enter the NXP Kit Prize Draw
Here’s your chance to win NXP’s KIT-HGDRONEK66 Drone Kit. This professional development kit provides all the components needed to build a complete carbon fibre quadcopter drone... Read Article
STSPIN32F0 – Series
Extremely integrated STM32-based system-in-package solution for driving three-phase BLDC motors We would like to introduce you to ST’s growing portfolio of STSPIN32F0 devices. Embedding a 32-bit ARM... Read Article
Enter for your chance to win a Digilent Dev Board worth over $500
To celebrate our 10 Year Anniversary this month and to thank everyone for their support over the last decade, we’ve partnered with Digilent to give away 2x Digilent development boards... Read Article
Efficient High-Power Gallium Nitride FETs from Nexperia
Whether designing a motor drive/controller for the next generation of battery-electric vehicles, or a power supply for the latest 5G telecommunication networks, Nexperia’s GaN FETs will be key... Read Article
Debug your embedded systems from the home office
Use USB Logic Analyzer and Pattern Generator to debug, visualize, and simulate signals in digital systems The quarantines are forcing an increasing number of engineers and... Read Article
Learn more about Optocoupler Design for EMI Immunity by Broadcom & EBV
Join the IEEE Webinar on 26th May, 4pm CET – Optocoupler Design for EMI Immunity Also available on demand This webinar takes a close look into... Read Article