Oct 28, 2019
06:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 28, 2019
06:04 AM
Hello,
Why does my program execute much faster from RAM than from PFLASH?
Thank you.
Regards
Bernie
#8042000 12436
Why does my program execute much faster from RAM than from PFLASH?
Thank you.
Regards
Bernie
#8042000 12436
- Tags:
- IFX
1 Reply
Oct 28, 2019
09:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 28, 2019
09:57 AM
Hi,
The FSI2 clock is used for reading from PFLASH. Make sure that CCUCON0.FSI2DIV is set to the maximum allowed frequency (fFSI2 in the datasheet).
For best performance, also ensure that you have enabled program cache (PCON0.PCBYP=0), and that you are executing from the cached segment (0x8 instead of 0xA).
Regards
Lucas
The FSI2 clock is used for reading from PFLASH. Make sure that CCUCON0.FSI2DIV is set to the maximum allowed frequency (fFSI2 in the datasheet).
For best performance, also ensure that you have enabled program cache (PCON0.PCBYP=0), and that you are executing from the cached segment (0x8 instead of 0xA).
Regards
Lucas
This widget could not be displayed.