ST Microelectronics’ M41T6x Family – Keeping an Eye on Time

MicroCrystal RV-8803 – A Really Accurate RTC June 17, 2019- RTC chips traditionally were the domain of Maxim and NXP. Switzerland-based MicroCrystal recently made quite a buzz with its RV-8803, which offers simple integration, an I2C interface and extreme accuracy. Let us start out by looking at a system overview. Figure one shows how this I2C RTC is made up internally – interested observers note … Continue reading MicroCrystal RV-8803 – A Really Accurate RTC
Analog Devices’ LTM2887 – If a Digital Bus Needs Galvanic Isolation June 15, 2019- In theory, digital buses are intended to connect things to one another. Sadly, one sometimes wants but a logical connection – in many cases, galvanic isolation helps out. Should you ever feel like isolating very fast buses, definitely give the LTM2887 a chance. From a technical point of view, Linear Technologies attempt at entering the … Continue reading Analog Devices’ LTM2887 – If a Digital Bus Needs Galvanic Isolation
AVAGO APDS-9008 or APDS-9005-020 – Keeping an Eye on Ambient Light June 14, 2019- Recent times saw quite a bit of interest for part numbers such as the APDS-9008 or APDS-9005-020 – they are a very interesting type of ambient light sensor. One of the oldest questions in regards to light sensors involves their spectral sensitivity. If a part is to output but one voltage level, the conversion between … Continue reading AVAGO APDS-9008 or APDS-9005-020 – Keeping an Eye on Ambient Light
STMicroelectronics’ LIS2DH12 – Low Power Motion Sensing June 12, 2019- Apple’s iPhone introduced gyroscopic sensors to a wider range – before that, accelerometers were not commonly found in consumer hardware. STM sells excellent parts which, however, get little media attention – time to take a look at the LIS2DH12. Integrating the part into your circuit as an MPU6500 alternative or MPU9500 alternative is not difficult. … Continue reading STMicroelectronics’ LIS2DH12 – Low Power Motion Sensing
Panasonic AMG8833 – FLIR for cheap June 7, 2019- FLIR made infrared thermal sensors cool – sadly, their parts are all but cheap (and suffer from export control problems). Panasonic’s Grid-EYE family is a low-resolution alternative which comes at significantly lower cost. From a technical point of view, Panasonic’s image sensor could not be simpler. We are looking at an 8×8 sensor with an … Continue reading Panasonic AMG8833 – FLIR for cheap
DipTronics DTS-62R-V – Small Switch, Very Big (and Very Cheap) June 5, 2019- When yours truly was but a lowly cadet, various US manufacturers produced (pricey but quite reliable) switches. Chinese vendors recently started to catch up – seeing the DTS-62R-V top our customer interest list shows that the run stage of the crawl-walk-run cycle is reached. DipTronics has been around the Asian switch market for ages, exhibiting … Continue reading DipTronics DTS-62R-V – Small Switch, Very Big (and Very Cheap)

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.