
Device Performance Optimization
MPC5644A Microcontroller Reference Manual, Rev. 6
128
Freescale Semiconductor
6.6
Performance optimization checklist
Table 6-5. Performance optimization checklist—Part 1. Hardware configuration
Description
Register(s)
Details
Branch Target Buffer
Flush with BUCSR[BBFI]
Enable with BUCSR[BPEN]
Flush and enable to improve accuracy of
branch predictions.
Branch Prediction
BUCSR[BPRED]
BUCSR[BALLOC]
Consider fine tuning of BTB operation for
specific applications.
System Frequency
FMPLL_ESYNCR1
FMPLL_ESYNCR2
Select desired frequency taking into account
the performance impact of additional wait
states.
Flash Wait States
BIUCR[APC, WW, RWSC]
Refer to Flash chapter
Interface Unit Configuration Register (BIUCR)
,
for BIUCR settings for FMPLL frequency
ranges.
Flash Prefetching
BIUCR[DPFEN, IPFEN, PFLIM, BFEN]
Enable prefetching for instructions. Prefetching
for data should be assessed for the specific
application.
Flash Prefetch
Algorithm
BIUCR2[LBCFG]
Allocate buffers to data and/or instructions.
Fine tune for specific applications.
Crossbar Switch
Park slave SRAM on master port with
XBAR_SGPCR2.
Set Flash slave port to highest priority with
XBAR_MPR0.
For e200z7 based devices reconfigure to
optimize for Harvard architecture.
Cache
Invalidate Icache with L1CSR1[ICINV]
Enable Icache with L1CSR1[ICE]
Invalidate and the enable the cache for
instructions.
Memory Management
Unit
TLB_MAS2[VLE, I]
Configure relevant pages for cache and VLE
by setting MMU TLB attributes.
Table 6-6. Performance optimization checklist—Part 2. Software configuration
Description
Registers
Details
Compiler optimization
—
Use the features of the compiler to select the
optimum trade off between code size and
performance improvements.
Hardware Single Precision
Floating Point
Enable with MSR[SPE]
Set compiler switches to specify using hardware
single precision floating point as opposed to
software emulation.
Signal Processing Extensions Enable with MSR[SPE]
Take advantage of the SPE-APU to encode time
critical functions using SPE assembly code.
Variable Length Encoding
Enabled with TLB_MAS2[VLE] Set compiler switches and configure the MMU to
take advantage of the VLE-APU.
Содержание MPC5644A
Страница 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Страница 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Страница 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Страница 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Страница 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Страница 130: ...Device Performance Optimization MPC5644A Microcontroller Reference Manual Rev 6 130 Freescale Semiconductor...
Страница 204: ...Multi Layer AHB Crossbar Switch XBAR MPC5644A Microcontroller Reference Manual Rev 6 204 Freescale Semiconductor...
Страница 212: ...Peripheral Bridge PBRIDGE MPC5644A Microcontroller Reference Manual Rev 6 212 Freescale Semiconductor...
Страница 558: ...System Integration Unit SIU MPC5644A Microcontroller Reference Manual Rev 6 558 Freescale Semiconductor...
Страница 582: ...Frequency modulated phase locked loop FMPLL MPC5644A Microcontroller Reference Manual Rev 6 582 Freescale Semiconductor...
Страница 766: ...Enhanced Time Processing Unit eTPU2 MPC5644A Microcontroller Reference Manual Rev 6 766 Freescale Semiconductor...
Страница 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Страница 1236: ...System Information Module and Trim SIM MPC5644A Microcontroller Reference Manual Rev 6 1236 Freescale Semiconductor...
Страница 1250: ...Cyclic Redundancy Checker CRC Unit MPC5644A Microcontroller Reference Manual Rev 6 1250 Freescale Semiconductor...
Страница 1336: ...Deserial Serial Peripheral Interface DSPI MPC5644A Microcontroller Reference Manual Rev 6 1336 Freescale Semiconductor...
Страница 1388: ...Enhanced Serial Communication Interface ESCI MPC5644A Microcontroller Reference Manual Rev 6 1388 Freescale Semiconductor...
Страница 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...
Страница 1624: ...FlexRay Communication Controller FlexRay MPC5644A Microcontroller Reference Manual Rev 6 1624 Freescale Semiconductor...
Страница 1670: ...JTAG Controller JTAGC MPC5644A Microcontroller Reference Manual Rev 6 1670 Freescale Semiconductor...
Страница 1692: ...Nexus Port Controller NPC MPC5644A Microcontroller Reference Manual Rev 6 1692 Freescale Semiconductor...
Страница 1701: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 Freescale Semiconductor 1701...
Страница 1702: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 1702 Freescale Semiconductor...