Hi,
I'm using piccolo 2x series 40MHz processor for a solar application. I'm running a PID loop @ 2.5KHz to regulate the output of the converter. The loop has been coded inside a Timer ISR in C. The execution time of the loop measured by using an output port was 12us. The code was being run from flash memory. To increase the performance (or reduce the execution time) I decided to run the loop from 0-waitstate RAM memory. But even after adding the ISR to "ramfuncs" sections I observed zero improvement in the same loop. The time observed was the same 12us.
My question ,
1) Is this an expected behavior? Will there be no difference (or no noticeable difference) between the execution time of code executed from RAM compared to the same code executed from Flash for a 40MHz processor ?
2) My next project will be on a 60MHz 3x piccolo family. Will I be able to see some performance improvement here? I'm looking for a real tight performance in my next project.
Any help will be appreciated!!!
Thanks,
Vivek