This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Performance, PEC, ROM/flash -> RAM

Hi all,

Situation:
Our code was running from flash, data was stored in RAM. Because of a faster processor we're going to get, we changed the startup so code gets copied to RAM and everything is running from RAM.

We also have a PEC transfer for A/D conversion and a PEC transfer to update 4K of video memory, from buffer to physical display.

What we see is that now everything is running from RAM, our processes (2 interrupt routines that call all modules) take -longer- to execute and we can't explain it. Does anyone have clue what could have caused this?

Both in the ROM and RAM situation, external memory has to be accessed so I don't know why extra waitstates would be inserted for PEC transfers. Timing of both ROM and RAM is the same, no waitstates. What could be the difference that caused things to get -slower- (execution time of 15ms becomes 20ms)?

Regards,
Joost Leeuwesteijn

0