When used to drive the PLL, the 16 MHz crystal oscillator output frequency must be divided by
two in the first-stage divider of the PLL (i.e.,
) to provide an 8 MHz reference clock to the
VCO.
The input pad of the HFXOSC can also be used to supply an external clock source, in which
case, the output pad should be left unconnected.
The HFXOSC input can be used to generate
hfclk
directly if the PLL is set to bypass.
The HFXOSC is controlled via the memory-mapped
hfxosccfg
register.
hfxosccfg: Crystal Oscillator Configuration and Status (
hfxosccfg
)
Register Offset
0x4
Bits
Field Name
Attr.
Rst.
Description
[29:0]
Reserved
30
hfxoscen
RW
0x1
Crystal Oscillator Enable
31
hfxoscrdy
RO
X
Crystal Oscillator Ready
The
hfxoscen
bit turns on the crystal driver and is set on wakeup reset, but can be cleared to
turn off the crystal driver and reduce power consumption. The
hfxoscrdy
bit indicates if the
crystal oscillator output is ready for use.
The
hfxoscen
bit must also be turned on to use the HFXOSC input pad to connect an external
clock source.
Internal High-Frequency PLL (HFPLL)
The PLL generates a high-frequency clock by multiplying a mid-frequency reference source
clock, either the HFROSC or the HFXOSC. The input frequency to the PLL can be in the range
6–48 MHz. The PLL can generate output clock frequencies in the range 48–384 MHz.
The PLL is controlled by a memory-mapped read-write
pllcfg
register in the PRCI address
space. The format of
pllcfg
is shown in Table 11.
Table 10:
hfxosccfg: Crystal Oscillator Configuration and Status
Copyright © 2019, SiFive Inc. All rights reserved.
28
Summary of Contents for FE310-G002
Page 1: ...SiFive FE310 G002 Manual v19p05 SiFive Inc ...
Page 11: ...Figure 1 FE310 G002 top level block diagram Copyright 2019 SiFive Inc All rights reserved 9 ...
Page 15: ...Chapter 2 List of Abbreviations and Terms 13 ...
Page 23: ...Chapter 4 Memory Map The memory map of the FE310 G002 is shown in Table 4 21 ...