![Freescale Semiconductor PXR4030 Скачать руководство пользователя страница 1426](http://html1.mh-extra.com/html/freescale-semiconductor/pxr4030/pxr4030_reference-manual_23306601426.webp)
Device Performance Optimization
PXR40 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor
33-14
33.5
Peripherals and General Application Guidelines
Optimizing the device configuration and compiler setup is only one part of optimizing an entire
application. Correct use of the peripherals can also dramatically improve overall system performance. In
particular, use of the interrupt controller, the enhanced Direct Memory Access (eDMA), and intelligent
peripherals such as the Enhanced Timer Processing unit (eTPU2), can off-load significant work from the
CPU.
For example, the eDMAs may be used to shift data to avoid unnecessary CPU loading. Most peripheral
modules can generate eDMA requests to trigger data transfers. An example of a typical application is to
use the eDMA to pass conversion commands to the analog to digital converter (ADC) whilst maintaining
circular buffers of the ADC results in the system RAM, with no core intervention.
The Performance Optimization Checklist in the next section provides several system level examples of
how to optimize an application.
33.6
Performance Optimization Checklist
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
Section 12.2.2.8, Flash Bus Interface
Configuration Register (FLASH_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 Dcache with L1CSR0[DCINV]
Enable Dcache with L1CSR0[DCE]
Invalidate and the enable the cache for instructions.
Assess in application best configuration for using cache
with data.
Make an application dependent decision on copyback
operation and store/push buffer configuration.
Memory Management
Unit
TLB_MAS2[VLE, I]
Configure relevant pages for cache and VLE by setting
MMU TLB attributes.
Содержание PXR4030
Страница 1: ...PXR40 Microcontroller Reference Manual Devices Supported PXR4030 PXR4040 PXR40RM Rev 1 06 2011...
Страница 30: ...PXR40 Microcontroller Reference Manual Rev 1 Freescale Semiconductor xxx...
Страница 40: ...PXR40 Microcontroller Reference Manual Rev 1 xl Freescale Semiconductor...
Страница 66: ...Memory Map PXR40 Microcontroller Reference Manual Rev 1 2 4 Freescale Semiconductor...
Страница 120: ...Signal Descriptions 3 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 158: ...Power Management Controller PMC 5 26 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 182: ...Frequency Modulated Phase Locked Loop FMPLL 6 24 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 278: ...System Integration Unit SIU 7 96 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 280: ...System Information Module PXR40 Microcontroller Reference Manual Rev 1 8 2 Freescale Semiconductor...
Страница 300: ...Boot Assist Module BAM 9 20 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 346: ...Interrupts and Interrupt Controller INTC 10 46 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 352: ...General Purpose Static RAM SRAM 11 6 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 432: ...Core e200z7 Overview PXR40 Microcontroller Reference Manual Rev 1 13 44 Freescale Semiconductor...
Страница 460: ...Peripheral Bridge PBRIDGE 15 16 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 478: ...Memory Protection Unit MPU 16 18 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 496: ...Error Correction Status Module ECSM 17 18 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 524: ...Periodic Interrupt Timer PIT_RTI 20 12 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 740: ...FlexRay Communication Controller FLEXRAY 22 156 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 860: ...FlexCAN Module 24 50 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 928: ...Deserial Serial Peripheral Interface DSPI 25 68 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 982: ...Enhanced Serial Communication Interface eSCI 26 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 1114: ...Enhanced Queued Analog to Digital Converter EQADC 27 132 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 1167: ...Decimation Filter Freescale Semiconductor 28 53 PXR40 Microcontroller Reference Manual Rev 1...
Страница 1168: ...Decimation Filter 28 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 1262: ...Enhanced Time Processing Unit eTPU2 29 94 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 1399: ...Nexus Development Interface NDI Freescale Semiconductor 31 83 PXR40 Microcontroller Reference Manual Rev 1...
Страница 1400: ...Nexus Development Interface NDI 31 84 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...