NXP PCF2127 – Lord of the Time

Lord of the time

Adding real time clock information to microcontroller driven systems is problematic. As time goes by, small errors in computing routines add up. Given that users hate entering system times, a real-time element is valuable.

NXP – once Philips Semiconductors – is an old hand in the space of real time clocks, making the PCF2127 a classic. Our figure shows a basic application circuit taken from the application note.

The extra battery ensures timing continuity if system power is unavailable

Let us start out with the most important question: the part is pretty accurate. The small version PCF2127AT promises a three PPM accuracy from -15 to 60°C, while the PCF2127T achieves the same from -30 to 80°C.

A question of complication! RTC ICs work with some kind of serial interface. Given that NXP developed the I2C protocol, the chip makes for a great I2C real-time clock IC. Furthermore, the chip can also work as an SPI real-time clock – the figures show two operating modes.

The PCF2127 makes for a great SPI real time clock

Can also handle the I2C protocol perfectly

In addition to providing a simple incrementing time keeper, the chip also has a calendar system. It even takes care of leap year computations, thereby allowing you to use microcontroller space for other tasks.

Finally, a timestamp function emits a periodic signal. This is useful smart meters, where periodic wake up can be handled via an interrupt generated by the real-time clock IC.

Sadly, developers who still hand-prototype the circuits won’t be happy. The IC comes in SO16 and SO20 variants, both of which are priced similarly.

Given that NXP has a long tradition of designing sensors, the Dutch could not resist adding a temperature sensor and 512 bytes of static RAM. This allows you to store a small amount of information in a remanent fashion. Finally, the chip can also supervise the battery voltage – the circuit can inform the user if the backup battery runs low.

Recent Articles
Efficient DC Power Distribution in Data Centres
The consistent use of direct current in a data centre makes sense. Losses can be massively reduced. On the power side, the IEC has defined the... Read Article
AC/DC Power Supplies 15 – 450 W from Traco Power
Engineered to stay cool High performance, ultra-compact AC/DC power supplies with minimal heat dissipation. Available in four different mechanical packages, these high-efficiency power supplies utilize industrial grade... Read Article
Bluetooth Mesh Solutions for IoT Based Designs
Cypress Best-in-class Bluetooth Mesh Cypress’ Bluetooth Mesh Eval Kit is a multi-node platform featuring a certified Bluetooth 5 module, sensors, and multiple mesh example projects with... Read Article
Check out the newly expanded TE Connectivity Online Store!
Buy Now with PayPal The TE Store now accepts PayPal! This feature gives you a wider range of payment options and the ability to pay for... Read Article
Compact, low power microphone with IC Interface.
This high performance MEMS audio sensor from STMicroelectronics is desigined with an IC Interface and capacitive sensing element. Ideal for a number of applications such as... Read Article
Could your application benefit from wireless connectivity?
Antennas are the backbone of any wireless solution. As requirements for wireless applications in factories grow, industrial design engineers need to be versed in the different... Read Article