The programmed-I/O interface exposes the OTP device’s and power-supply’s control signals
directly to software. Software is responsible for respecting these signals' setup and hold times.
The OTP device requires that data be programmed one bit at a time and that the result be re-
read and retried according to a specific protocol.
See the OTP device and power supply data sheets for timing constraints, control signal descrip-
tions, and the programming algorithm.
Read sequencer control register (
The read sequence consists of an address-setup phase, a read-pulse phase, and a read-access
phase. The duration of these phases, in terms of controller clock cycles, is set by a programma-
ble clock divider. The divider is controlled by the
otp_rsctrl
register, the layout of which is
shown in Table 35.
The number of clock cycles in each phase is given by
, and the width of each phase may
be optionally scaled by 3. That is, the number of controller clock cycles in the address-setup
phase is given by the expression
; the number of clock cycles in the read-
pulse phase is given by
; and the read-access phase is
cycles long.
Software should acquire the
otp_lock
prior to modifying
otp_rsctrl
.
otp_rsctrl: OTP read sequencer control (
otp_rsctrl
)
Register Offset
0x34
Bits
Field Name
Attr.
Rst.
Description
[2:0]
scale
RW
0x1
OTP timescale
3
tas
RW
0x0
Address setup time
4
trp
RW
0x0
Read pulse time
5
tacc
RW
0x0
Read access time
[31:6]
Reserved
Warning:
Improper use of the One Time Programmable (OTP) memory may result in a non-
functional device and/or unreliable operation.
• OTP Memory must be programmed following the procedure outlined below
exactly
.
• OTP Memory is designed to be programmed or accessed only while
coreClk
is running
between 1 MHz and 37 MHz.
Table 35:
otp_rsctrl: OTP read sequencer control
Copyright © 2019, SiFive Inc. All rights reserved.
54
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 ...