Flash Configuration and Memory Performance
Other Flash Configuration Registers
Other Flash Configuration Registers
Address
Address
Name
Name
Description
Description
0x00 0A80
0x00 0A80
FOPT
FOPT
Flash option register
Flash option register
0x00 0A82
0x00 0A82
FPWR
FPWR
Flash power modes registers
Flash power modes registers
0x00 0A83
0x00 0A83
FSTATUS
FSTATUS
Flash status register
Flash status register
0x00 0A84
0x00 0A84
FSTDBYWAIT
FSTDBYWAIT
Flash sleep to standby wait register
Flash sleep to standby wait register
0x00 0A85
0x00 0A85
FACTIVEWAIT
FACTIVEWAIT
Flash standby to active wait register
Flash standby to active wait register
0x00 0A86
0x00 0A86
FBANKWAIT
FBANKWAIT
Flash read access wait state register
Flash read access wait state register
0x00 0A87
0x00 0A87
FOTPWAIT
FOTPWAIT
OTP read access wait state register
OTP read access wait state register
FPWR:
FPWR:
Save power by putting Flash/OTP to ‘Sleep’ or ‘Standby’
Save power by putting Flash/OTP to ‘Sleep’ or ‘Standby’
mode; Flash will automatically enter active mode if a Flash/OTP
mode; Flash will automatically enter active mode if a Flash/OTP
access is made
access is made
FSTATUS:
FSTATUS:
Various status bits (e.g. PWR mode)
Various status bits (e.g. PWR mode)
FSTDBYWAIT:
FSTDBYWAIT:
Specify number of cycles to wait during wake
Specify number of cycles to wait during wake
-
-
up
up
from sleep to standby
from sleep to standby
FACTIVEWAIT:
FACTIVEWAIT:
Specify number of cycles to wait during wake
Specify number of cycles to wait during wake
-
-
up
up
from standby to active
from standby to active
Defaults for these registers are often sufficient
Defaults for these registers are often sufficient
–
–
See “
See “
TMS320F28x DSP
TMS320F28x DSP
System Control and Interrupts Reference Guide,” SPRU078, for mor
System Control and Interrupts Reference Guide,” SPRU078, for mor
e information
e information
Code Execution Performance
Code Execution Performance
Assume 150 MHz SYSCLKOUT, 16
Assume 150 MHz SYSCLKOUT, 16
-
-
bit instructions
bit instructions
(80% of instructions are 16 bits wide
(80% of instructions are 16 bits wide
–
–
Rest are 32 bits)
Rest are 32 bits)
Internal RAM: 150 MIPS true performance
Internal RAM: 150 MIPS true performance
Fetch up to 32
Fetch up to 32
-
-
bits every cycle
bits every cycle
1 instruction/cycle * 150 MHz = 150 MIPS
1 instruction/cycle * 150 MHz = 150 MIPS
Flash (w/ pipelining): 100 MIPS effective performance
Flash (w/ pipelining): 100 MIPS effective performance
RANDWAIT = 5
RANDWAIT = 5
Fetch 64 bits every 6 cycles
Fetch 64 bits every 6 cycles
4 instructions/6 cycles * 150 MHz = 100 MIPS
4 instructions/6 cycles * 150 MHz = 100 MIPS
RPT will increase this; PC discontinuity will degrade this
RPT will increase this; PC discontinuity will degrade this
External 10ns SRAM: 50 MIPS effective performance
External 10ns SRAM: 50 MIPS effective performance
XRDLEAD=1, XRDACTIVE=2, XRDTRAIL=0
XRDLEAD=1, XRDACTIVE=2, XRDTRAIL=0
Fetch 16 bits every 3 cycles
Fetch 16 bits every 3 cycles
1 instruction/3 cycles * 150 MHz = 50 MIPS
1 instruction/3 cycles * 150 MHz = 50 MIPS
RPT will increase this
RPT will increase this
Don’t put code in external memory!
Don’t put code in external memory!
C28x - System Design
10 - 11
Summary of Contents for C28 Series
Page 64: ...Summary 3 16 C28x Peripheral Registers Header Files ...
Page 78: ...Interrupt Sources 4 14 C28x Reset and Interrupts ...
Page 218: ...Lab 9 DSP BIOS 9 22 C28x Using DSP BIOS ...
Page 244: ...Lab 10 Programming the Flash 10 26 C28x System Design ...
Page 273: ...Appendix A eZdsp F2812 C28x Appendix A eZdsp F2812 A 1 ...
Page 276: ...Appendix P2 Expansion Interface A 4 C28x Appendix A eZdsp F2812 ...
Page 277: ...Appendix P4 P8 P7 I O Interface C28x Appendix A eZdsp F2812 A 5 ...
Page 278: ...Appendix A 6 C28x Appendix A eZdsp F2812 ...
Page 279: ...Appendix P5 P9 Analog Interface C28x Appendix A eZdsp F2812 A 7 ...
Page 282: ...Appendix A 10 C28x Appendix A eZdsp F2812 TP1 TP2 Test Points ...