![Atmel SAM4S Series Preliminary Data Sheet Download Page 329](http://html1.mh-extra.com/html/atmel/sam4s-series/sam4s-series_preliminary-data-sheet_3003408329.webp)
329
11100B–ATARM–31-Jul-12
SAM4S Series [Preliminary]
Figure 19-2. Code Read Optimization for FWS = 0
Note:
When FWS is equal to 0, all the accesses are performed in a single-cycle access.
Figure 19-3. Code Read Optimization for FWS = 3
Note:
When FWS is included between 1 and 3, in case of sequential reads, the first access takes (FWS+1) cycles, the other ones only
1 cycle.
19.4.2.3
Code Loops Optimization
The Code Loops optimization is enabled when the CLOE bit of the EEFC_FMR register is set
at 1.
below illustrates the Code Loops optimization.
When this feature is enabled, if inner loop body instructions L
0
to L
n
lay from the 128-bit flash
memory cell M
b0
to the memory cell M
p1
, after recognition of a first backward branch, the two first
flash memory cells M
b0
and M
b1
targeted by this branch are cached for fast access from the pro-
cessor at the next loop iterations.
Flash Access
Buffer 0 (128bits)
Master Clock
ARM Request
(32-bit)
XXX
Data To ARM
Bytes 0-15
Bytes 16-31
Bytes 32-47
Bytes 0-15
Buffer 1 (128bits)
Bytes 32-47
Bytes 0-3
Bytes 4-7
Bytes 8-11
Bytes 12-15
Bytes 16-19
Bytes 20-23
Bytes 24-27
XXX
XXX
Bytes 16-31
@Byte 0
@Byte 4
@Byte 8
@Byte 12
@Byte 16
@Byte 20
@Byte 24
@Byte 28
@Byte 32
Bytes 28-31
Flash Access
Buffer 0 (128bits)
Master Clock
ARM Request
(32-bit)
Data To ARM
Buffer 1 (128bits)
0-3
XXX
XXX
Bytes 16-31
@Byte 0
@4
@8
Bytes 0-15
Bytes 16-31
Bytes 32-47
Bytes 48-63
XXX
Bytes 0-15
4-7
8-11
12-15
@12
@16
@20
24-27
28-31
32-35
36-39
16-19
20-23
40-43
44-47
@24
@28 @32
@36
@40
@44
@48
@52
Bytes 32-47
48-51
Summary of Contents for SAM4S Series
Page 44: ...44 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Page 412: ...412 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Page 1105: ...1105 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Page 1143: ...1143 11100B ATARM 31 Jul 12 SAM4S Series Preliminary Figure 43 4 64 lead LQFP Package Drawing ...
Page 1145: ...1145 11100B ATARM 31 Jul 12 SAM4S Series Preliminary Figure 43 5 64 lead QFN Package Drawing ...