4.16. Real Time Clock, RTC

The PL031 PrimeCell Real Time Clock Controller (RTC) is an AMBA compliant SoC peripheral that is developed, tested, and licensed by ARM Limited.

A counter in the RTC is incremented every second. The RTC can therefore be used as a basic alarm function or long time-base counter.

The current value of the clock can be read at any time or the RTC can be programmed to generate an interrupt after counting for a programmed number of seconds. The interrupt can be masked by writing to the interrupt match set or clear register.

Table 4.64. RTC implementation

Location FPGA
Memory base address0x10017000
Interrupt 10
Release versionARM RTC PL031 r1p0
Reference documentationARM PrimeCell Real Time Clock Controller (PL031) Technical Reference Manual


There is also a separate Time-of-Year RTC implemented in an external DS1338 chip on the baseboard. The external RTC can be accessed by the serial bus interface (see Two-wire serial bus interface). For details on the programming interface to the Time-of-Year RTC, see the data sheet for the Maxim DS1338 integrated circuit.

Copyright © 2005-2011 ARM Limited. All rights reserved.ARM DUI 0411D