Basic Flash Operation
Flash is arranged in pages of 128 words
Wait states are specified for consecutive accesses within a page,
and random accesses across pages
OTP has random access only
Must specify the number of SYSCLKOUT wait-states;
Reset defaults are maximum value (15)
Flash configuration code should not be run from the Flash memory
FlashRegs.FBANKWAIT
RANDWAIT
reserved
15
0
4 3
8 7
PAGEWAIT
reserved
12 11
FlashRegs.FOTPWAIT
OTPWAIT
reserved
15
05 4
*** Refer to the F2806x datasheet for detailed numbers ***
For 90 MHz, PAGEWAIT = 3, RANDWAIT = 3, OTPWAIT = 5
16 or 32
dispatched
16
64
Aligned
64-bit
fetch
2-level deep
fetch buffer
64
C28x Core
decoder unit
Speeding Up Code Execution in Flash
Flash Pipelining (for code fetch only)
Flash Pipeline Enable
0 = disable (default)
1 = enable
ENPIPE
reserved
15 01
FlashRegs.FOPT.bit.ENPIPE = 1;