Chapter 9
E300 Real-Time Clock (RTC)
The E300 real-time clock (RT) is located in the always-on domain, and is clocked by a se-
lectable low-frequency clock source. For best accuracy, the RTC should be driven by an external
32.768 kHz watch crystal oscillator (LFXOSC), but to reduce cost, can be driven by a factory-
trimmed on-chip oscillator.
rtccmp
rtchi
rtccfg
AON TileLink
rtccmpip
lfclk
aonrst
rtclo
rtcs
rtcen
rtcscale
>=?
Figure 9.1: E300 Real-Time Clock.
RTC Count Registers
rtchi
/
rtclo
The real-time counter is based around the
rtchi
/
rtclo
register pair, which increment at the low-
frequency clock rate when the RTC is enabled. The
rtclo
register holds the low 32 bits of the RTC,
while
rtchi
holds the upper 16 bits of the RTC value. The total
≥
48-bit counter width ensures
there will no counter rollover for over 270 years assuming a 32.768 kHz low-frequency real-time
clock source. The counter registers can be read or written over the TileLink bus.
RTC Configuration Register
rtccfg
The
rtcenalways
bit controls whether the RTC is enabled, and is reset on AON reset.
29
Summary of Contents for E300
Page 1: ...SiFive E300 Platform Reference Manual Version 1 0 1 c SiFive Inc ...
Page 2: ...2 SiFive E300 Platform Reference Manual Version 1 0 1 ...
Page 4: ...ii SiFive E300 Platform Reference Manual Version 1 0 1 ...
Page 12: ...4 SiFive E300 Platform Reference Manual Version 1 0 1 ...
Page 14: ...6 SiFive E300 Platform Reference Manual Version 1 0 1 ...
Page 22: ...14 SiFive E300 Platform Reference Manual Version 1 0 1 ...
Page 32: ...24 SiFive E300 Platform Reference Manual Version 1 0 1 ...
Page 40: ...32 SiFive E300 Platform Reference Manual Version 1 0 1 ...
Page 56: ...48 SiFive E300 Platform Reference Manual Version 1 0 1 ...
Page 60: ...52 SiFive E300 Platform Reference Manual Version 1 0 1 ...