This section
provides information on the ENVM Module Instance. Each of the module registers
is described below.
Register Name |
Type |
Register Width (Bits)
|
Register Reset |
Address Offset |
Physical Address |
RW |
32 |
0x4005 000F |
0x000 |
0x2020 0000 |
|
RW |
32 |
0x0000 007F |
0x004 |
0x2020 0004 |
Address offset |
0x000 |
||
Physical address |
0x2020 0000 |
Instance |
ENVMCFG |
Description |
|||
Type |
RW |
Bits |
Field Name |
Description |
Type |
Reset |
31:24 |
timer |
Sets the duration of the timer used to detect a
non-response of slow response from the ENVM on C and R bus accesses. Timer
Duration = (Value+1) * (128 * AHB Clock Period) |
RW |
0x40 |
23:19 |
Reserved |
|
RO |
0x00 |
18 |
interrupt_enable |
Enable the ENVM interrupt |
RW |
1 |
17 |
slowread |
When '1' the controller will initiate separate ENVM reads
for all reads. No buffering or speculative operations will be carried out.
When performing word reads incrementing through ENVM each location will be
read twice |
RW |
0 |
16 |
readahead |
Enables "readahead" on the ENVM controller. The
controller will automatically read the next ENVM location as soon as possible
ahead of the AHB request. This will improve read performance when
incrementing though memory as the NVM reads and AHB cycles are pipelined.
When set non incrementing accesses will take longer as the controller may be
in the process of reading the next address and the ENVM cycle needs to
complete prior to starting the required read |
RW |
1 |
15:10 |
Reserved |
|
RO |
0x00 |
9 |
clock_suppress |
When set suppresses clock edge between C-Bus access cycles
so that they appear as consecutive access cycles. |
RW |
0 |
8 |
clock_continuous |
When '1' the ENVM clock will be always generated, and not
stopped between access cycles. Setting this will increase access latency but
mean that the ENVM clock operates at a stable rate. |
RW |
0 |
7:6 |
Reserved |
|
RO |
0x0 |
5:0 |
clock_period |
Sets the number of AHB cycles used to generate the ENVM
clock, Clock period = (Value+1) * 2.5ns (AHB clock at 400MHz). Value must be
1 to 63 (0 defaults to 15) |
RW |
0x0F |
Address offset |
0x004 |
||
Physical address |
0x2020 0004 |
Instance |
ENVMCFG |
Description |
|||
Type |
RW |
Bits |
Field Name |
Description |
Type |
Reset |
31:9 |
Reserved |
|
RO |
0x00 0000 |
8 |
override |
Use the ENVM_CR here rather than the SYSREG one |
RW |
0 |
7 |
Reserved |
|
RO |
0 |
6 |
sleep |
Controls the PNVM sleep input |
RW |
1 |
5 |
iso |
Controls the PNVM iso (isolate) input |
RW |
1 |
4 |
pd4 |
Controls the PNVM pd4 (powerdown) input |
RW |
1 |
3 |
pd3 |
Controls the PNVM pd3 (powerdown) input |
RW |
1 |
2 |
pd2 |
Controls the PNVM pd2 (powerdown) input |
RW |
1 |
1 |
pd1 |
Controls the PNVM pd1 (powerdown) input |
RW |
1 |
0 |
reset |
Asserts the PNVM reset input (inverted version to PNVM) |
RW |
1 |
ENVM has no common
memories.