\n

CACHECTRL

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0x240 byte (0x0)
mem_usage : registers
protection :

Registers

CACHECFG

NCR0START

FLASH0CFG

FLASH1CFG

FLASH2CFG

FLASH3CFG

NCR0END

NCR1START

NCR1END

DMON0

DMON1

DMON2

DMON3

IMON0

IMON1

IMON2

IMON3

CTRL


CACHECFG

FLASH Cache Control
address_offset : 0x0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CACHECFG CACHECFG read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ENABLE LRU ENABLE_NC0 ENABLE_NC1 CONFIG ICACHE_ENABLE DCACHE_ENABLE CACHE_CLKGATE CACHE_LS DATA_CLKGATE ENABLE_MONITOR

ENABLE : Enables the FLASH cache controller and enables power to the cache SRAMs. The ICACHE_ENABLE and DCACHE_ENABLE should be set to enable caching for each type of access.
bits : 0 - 0 (1 bit)
access : read-write

LRU : Sets the cache replacement policy. 0=LRR (least recently replaced), 1=LRU (least recently used). LRR minimizes writes to the TAG SRAM.
bits : 1 - 2 (2 bit)
access : read-write

ENABLE_NC0 : Enable Non-cacheable region 0. See NCR0 registers to define the region.
bits : 2 - 4 (3 bit)
access : read-write

ENABLE_NC1 : Enable Non-cacheable region 1. See NCR1 registers to define the region.
bits : 3 - 6 (4 bit)
access : read-write

CONFIG : Sets the cache configuration
bits : 4 - 11 (8 bit)
access : read-write

Enumeration:

4 : W1_128B_512E

Direct mapped, 128-bit line size, 512 entries (4 SRAMs active)

5 : W2_128B_512E

Two-way set associative, 128-bit line size, 512 entries (8 SRAMs active)

8 : W1_128B_1024E

Direct mapped, 128-bit line size, 1024 entries (8 SRAMs active)

End of enumeration elements list.

ICACHE_ENABLE : Enable FLASH Instruction Caching
bits : 8 - 16 (9 bit)
access : read-write

DCACHE_ENABLE : Enable FLASH Data Caching
bits : 9 - 18 (10 bit)
access : read-write

CACHE_CLKGATE : Enable clock gating of cache TAG RAM. Software should enable this bit for optimal power efficiency.
bits : 10 - 20 (11 bit)
access : read-write

CACHE_LS : Enable LS (light sleep) of cache RAMs. Software should DISABLE this bit since cache activity is too high to benefit from LS usage.
bits : 11 - 22 (12 bit)
access : read-write

DATA_CLKGATE : Enable aggressive clock gating of entire data array. This bit should be set to 1 for optimal power efficiency.
bits : 20 - 40 (21 bit)
access : read-write

ENABLE_MONITOR : Enable Cache Monitoring Stats. Cache monitoring consumes additional power and should only be enabled when profiling code and counters will increment when this bit is set. Counter values will be retained when this is set to 0, allowing software to enable/disable counting for multiple code segments.
bits : 24 - 48 (25 bit)
access : read-write


NCR0START

FLASH Cache Noncacheable Region 0 Start
address_offset : 0x10 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

NCR0START NCR0START read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ADDR

ADDR : Start address for non-cacheable region 0
bits : 4 - 30 (27 bit)
access : read-write


FLASH0CFG

FLASH 0 Control
address_offset : 0x100 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

FLASH0CFG FLASH0CFG read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RDWAIT0 SEDELAY0 LPMRDWAIT0 LPMMODE0

RDWAIT0 : Sets read wait states for normal (fast) operation. A value of 1 is recommended.
bits : 0 - 3 (4 bit)
access : read-write

SEDELAY0 : Sets SE delay (FLASH address setup). A value of 5 is recommended.
bits : 4 - 10 (7 bit)
access : read-write

LPMRDWAIT0 : Sets FLASH wait states when in LPM Mode 2 (RD_WAIT in LPM mode 2 only)
bits : 8 - 19 (12 bit)
access : read-write

LPMMODE0 : Controls FLASH low power modes (control of LPM pin).
bits : 12 - 25 (14 bit)
access : read-write

Enumeration:

0 : NEVER

High power mode (LPM not used).

1 : STANDBY

Fast Standby mode. LPM deasserted for read operations, but asserted while FLASH IDLE.

2 : ALWAYS

Low Power mode. LPM always asserted for reads. LPM_RD_WAIT must be programmed to accommodate longer read access times.

End of enumeration elements list.


FLASH1CFG

FLASH 1 Control
address_offset : 0x104 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

FLASH1CFG FLASH1CFG read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RDWAIT1 SEDELAY1 LPMRDWAIT1 LPMMODE1

RDWAIT1 : Sets read wait states for normal (fast) operation. A value of 1 is recommended.
bits : 0 - 3 (4 bit)
access : read-write

SEDELAY1 : Sets SE delay (FLASH address setup). A value of 5 is recommended.
bits : 4 - 10 (7 bit)
access : read-write

LPMRDWAIT1 : Sets FLASH wait states when in LPM Mode 2 (RD_WAIT in LPM mode 2 only)
bits : 8 - 19 (12 bit)
access : read-write

LPMMODE1 : Controls FLASH low power modes (control of LPM pin).
bits : 12 - 25 (14 bit)
access : read-write

Enumeration:

0 : NEVER

High power mode (LPM not used).

1 : STANDBY

Fast Standby mode. LPM deasserted for read operations, but asserted while FLASH IDLE.

2 : ALWAYS

Low Power mode. LPM always asserted for reads. LPM_RD_WAIT must be programmed to accommodate longer read access times.

End of enumeration elements list.


FLASH2CFG

FLASH 2 Control
address_offset : 0x108 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

FLASH2CFG FLASH2CFG read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RDWAIT2 SEDELAY2 LPMRDWAIT2 LPMMODE2

RDWAIT2 : Sets read wait states for normal (fast) operation. A value of 1 is recommended.
bits : 0 - 3 (4 bit)
access : read-write

SEDELAY2 : Sets SE delay (FLASH address setup). A value of 5 is recommended.
bits : 4 - 10 (7 bit)
access : read-write

LPMRDWAIT2 : Sets FLASH wait states when in LPM Mode 2 (RD_WAIT in LPM mode 2 only)
bits : 8 - 19 (12 bit)
access : read-write

LPMMODE2 : Controls FLASH low power modes (control of LPM pin).
bits : 12 - 25 (14 bit)
access : read-write

Enumeration:

0 : NEVER

High power mode (LPM not used).

1 : STANDBY

Fast Standby mode. LPM deasserted for read operations, but asserted while FLASH IDLE.

2 : ALWAYS

Low Power mode. LPM always asserted for reads. LPM_RD_WAIT must be programmed to accommodate longer read access times.

End of enumeration elements list.


FLASH3CFG

FLASH 3 Control
address_offset : 0x10C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

FLASH3CFG FLASH3CFG read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RDWAIT3 SEDELAY3 LPMRDWAIT3 LPMMODE3

RDWAIT3 : Sets read wait states for normal (fast) operation. A value of 1 is recommended.
bits : 0 - 3 (4 bit)
access : read-write

SEDELAY3 : Sets SE delay (FLASH address setup). A value of 5 is recommended.
bits : 4 - 10 (7 bit)
access : read-write

LPMRDWAIT3 : Sets FLASH wait states when in LPM Mode 2 (RD_WAIT in LPM mode 2 only)
bits : 8 - 19 (12 bit)
access : read-write

LPMMODE3 : Controls FLASH low power modes (control of LPM pin).
bits : 12 - 25 (14 bit)
access : read-write

Enumeration:

0 : NEVER

High power mode (LPM not used).

1 : STANDBY

Fast Standby mode. LPM deasserted for read operations, but asserted while FLASH IDLE.

2 : ALWAYS

Low Power mode. LPM always asserted for reads. LPM_RD_WAIT must be programmed to accommodate longer read access times.

End of enumeration elements list.


NCR0END

FLASH Cache Noncacheable Region 0 End
address_offset : 0x14 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

NCR0END NCR0END read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ADDR

ADDR : End address for non-cacheable region 0
bits : 4 - 30 (27 bit)
access : read-write


NCR1START

FLASH Cache Noncacheable Region 1 Start
address_offset : 0x18 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

NCR1START NCR1START read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ADDR

ADDR : Start address for non-cacheable region 1
bits : 4 - 30 (27 bit)
access : read-write


NCR1END

FLASH Cache Noncacheable Region 1 End
address_offset : 0x1C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

NCR1END NCR1END read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ADDR

ADDR : End address for non-cacheable region 1
bits : 4 - 30 (27 bit)
access : read-write


DMON0

Data Cache Total Accesses
address_offset : 0x40 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

DMON0 DMON0 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DACCESS_COUNT

DACCESS_COUNT : Total accesses to data cache. All performance metrics should be relative to the number of accesses performed.
bits : 0 - 31 (32 bit)
access : read-write


DMON1

Data Cache Tag Lookups
address_offset : 0x44 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

DMON1 DMON1 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DLOOKUP_COUNT

DLOOKUP_COUNT : Total tag lookups from data cache.
bits : 0 - 31 (32 bit)
access : read-write


DMON2

Data Cache Hits
address_offset : 0x48 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

DMON2 DMON2 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DHIT_COUNT

DHIT_COUNT : Cache hits from lookup operations.
bits : 0 - 31 (32 bit)
access : read-write


DMON3

Data Cache Line Hits
address_offset : 0x4C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

DMON3 DMON3 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DLINE_COUNT

DLINE_COUNT : Cache hits from line cache
bits : 0 - 31 (32 bit)
access : read-write


IMON0

Instruction Cache Total Accesses
address_offset : 0x50 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

IMON0 IMON0 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IACCESS_COUNT

IACCESS_COUNT : Total accesses to Instruction cache
bits : 0 - 31 (32 bit)
access : read-write


IMON1

Instruction Cache Tag Lookups
address_offset : 0x54 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

IMON1 IMON1 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ILOOKUP_COUNT

ILOOKUP_COUNT : Total tag lookups from Instruction cache
bits : 0 - 31 (32 bit)
access : read-write


IMON2

Instruction Cache Hits
address_offset : 0x58 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

IMON2 IMON2 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IHIT_COUNT

IHIT_COUNT : Cache hits from lookup operations
bits : 0 - 31 (32 bit)
access : read-write


IMON3

Instruction Cache Line Hits
address_offset : 0x5C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

IMON3 IMON3 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ILINE_COUNT

ILINE_COUNT : Cache hits from line cache
bits : 0 - 31 (32 bit)
access : read-write


CTRL

Cache Control
address_offset : 0x8 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CTRL CTRL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 INVALIDATE RESET_STAT CACHE_READY FLASH0_SLM_STATUS FLASH0_SLM_DISABLE FLASH0_SLM_ENABLE FLASH1_SLM_STATUS FLASH1_SLM_DISABLE FLASH1_SLM_ENABLE FLASH2_SLM_STATUS FLASH2_SLM_DISABLE FLASH2_SLM_ENABLE FLASH3_SLM_STATUS FLASH3_SLM_DISABLE FLASH3_SLM_ENABLE

INVALIDATE : Writing a 1 to this bit field invalidates the FLASH cache contents.
bits : 0 - 0 (1 bit)
access : read-write

RESET_STAT : Reset Cache Statistics. When written to a 1, the cache monitor counters will be cleared. The monitor counters can be reset only when the CACHECFG.ENABLE_MONITOR bit is set.
bits : 1 - 2 (2 bit)
access : read-write

Enumeration:

1 : CLEAR

Clear Cache Stats

End of enumeration elements list.

CACHE_READY : Cache Ready Status (enabled and not processing an invalidate operation)
bits : 2 - 4 (3 bit)
access : read-write

FLASH0_SLM_STATUS : FLASH Sleep Mode Status. 1 indicates that FLASH0 is in sleep mode, 0 indicates FLASH0 is in normal mode.
bits : 4 - 8 (5 bit)
access : read-write

FLASH0_SLM_DISABLE : Disable FLASH Sleep Mode. Write 1 to wake FLASH0 from sleep mode (reading the array will also automatically wake it).
bits : 5 - 10 (6 bit)
access : read-write

FLASH0_SLM_ENABLE : Enable FLASH Sleep Mode. Write to 1 to put FLASH0 into sleep mode. NOTE: there is a 5 us latency after waking FLASH until the first access will be returned.
bits : 6 - 12 (7 bit)
access : read-write

FLASH1_SLM_STATUS : FLASH Sleep Mode Status. 1 indicates that FLASH1 is in sleep mode, 0 indicates FLASH1 is in normal mode.
bits : 8 - 16 (9 bit)
access : read-write

FLASH1_SLM_DISABLE : Disable FLASH Sleep Mode. Write 1 to wake FLASH1 from sleep mode (reading the array will also automatically wake it).
bits : 9 - 18 (10 bit)
access : read-write

FLASH1_SLM_ENABLE : Enable FLASH Sleep Mode. Write to 1 to put FLASH1 into sleep mode. NOTE: there is a 5 us latency after waking FLASH until the first access will be returned.
bits : 10 - 20 (11 bit)
access : read-write

FLASH2_SLM_STATUS : FLASH Sleep Mode Status. 1 indicates that FLASH2 is in sleep mode, 0 indicates FLASH2 is in normal mode.
bits : 12 - 24 (13 bit)
access : read-write

FLASH2_SLM_DISABLE : Disable FLASH Sleep Mode. Write 1 to wake FLASH2 from sleep mode (reading the array will also automatically wake it).
bits : 13 - 26 (14 bit)
access : read-write

FLASH2_SLM_ENABLE : Enable FLASH Sleep Mode. Write to 1 to put FLASH1 into sleep mode. NOTE: there is a 5 us latency after waking FLASH until the first access will be returned.
bits : 14 - 28 (15 bit)
access : read-write

FLASH3_SLM_STATUS : FLASH Sleep Mode Status. 1 indicates that FLASH1 is in sleep mode, 0 indicates FLASH1 is in normal mode.
bits : 16 - 32 (17 bit)
access : read-write

FLASH3_SLM_DISABLE : Disable FLASH Sleep Mode. Write 1 to wake FLASH1 from sleep mode (reading the array will also automatically wake it).
bits : 17 - 34 (18 bit)
access : read-write

FLASH3_SLM_ENABLE : Enable FLASH Sleep Mode. Write to 1 to put FLASH1 into sleep mode. NOTE: there is a 5 us latency after waking FLASH until the first access will be returned.
bits : 18 - 36 (19 bit)
access : read-write



Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !

This website is sponsored by EmbeetleEmbeetle, an IDE designed from scratch for embedded software developers.