I am using MPC5646C with clock 120MHz, and there are lots of task to excute in this cpu. I want to configure the flash optimization to make MPC5646C run faster. Can you tell me how to do it?
Hi, if you are using CodeWarrior, flash optimization is included in the file __ppc_eabi_init.c.
PFCR0 register contains setting of particular number of wait states according datasheet (please check whether it fits to recommended values):
In principle it is quite well described in AN2865, section 25, description for MPC56xxB/P/S
Also MPC5646C Microcontroller Reference Manual, Rev. 5 has chapter "Performance Optimization" that is quite well described on this device.
Hope it helps
Thanks very much, your relply is very timely and helpful. ^_^
Retrieving data ...