5.4.7. PL031_RTC component

The PL031_RTC component is a programmer’s view model of the PL031 Real Time Clock. It can be used to provide a basic alarm function or long time base counter. For a detailed description of the behavior of the PL031_RTC, read the component documentation. See the ARM PrimeCell Real Time Clock (PL031) Technical Reference Manual.

Figure 5.28 shows a view of the component in System Canvas.

Figure 5.28. PL031_RTC in System Canvas

PL031_RTC in System Canvas

This component is written in LISA+.


Table 5.42 provides a brief description of the ports. See the PL031 RTC documentation for further details.

Table 5.42. PL031_RTC ports

NamePort protocolTypeDescription
pvbusPVBusSlaveSlave port for connection to PV bus master/decoder.
intrSignalMasterInterrupt signaling.
clockClockSignalSlaveClock input, typically 1MHz, driving master count rate.

Additional protocols

The PL031_RTC component has no additional protocols.


The PL031_RTC component has no parameters.


Table 5.43 provides a description of the configuration registers for the PL031_RTC component.

Table 5.43. PL031_RTC registers

Register nameOffsetAccessDescription
RTCDR0x000read onlyData register.
RTCMR0x004read/writeMatch register.
RTCLR0x008read/writeLoad register.
RTCCR 0x00Cread/writeControl register.
RTCIMSC0x010read/writeInterrupt mask set and clear register.
RTCRIS0x014read onlyRaw interrupt status register.
RTCMIS0x018read onlyMasked interrupt status register.
RTCIRC0x01Cwrite onlyInterrupt clear register[a].
RTCPeriphID00xFE0read onlyPeripheral ID register[a].
RTCPeriphID10xFE4read onlyPeripheral ID register[a].
RTCPeriphID20xFE8read onlyPeripheral ID register[a].
RTCPeriphID30xFECread onlyPeripheral ID register[a].
RTCPCellID00xFF0read onlyPrimeCell ID register[a].
RTCPCellID10xFF4read onlyPrimeCell ID register[a].
RTCPCellID20xFF8read onlyPrimeCell ID register[a].
RTCPCellID30xFFCread onlyPrimeCell ID register[a].

[a] This register has no CADI interface.

Debug features

The PL031_RTC component has no debug features.

Verification and testing

The PL031_RTC component has been tested as part of the VE example system using VE test suites and by booting operating systems.

The PL031_RTC component has been tested as part of the SMLT component.


The PL031_RTC component has no impact on the performance of a PV system when idle or counting down. The component only executes code when the counter expires or during bus accesses.

Library dependencies

The PL031_RTC component has no dependencies on external libraries.

Copyright © 2008-2013 ARM. All rights reserved.ARM DUI 0423O