Announcements

Robots are revolutionizing our lives in many ways. Join our webinar to learn about Infineon’s broad portfolio of robot building blocks.
Click here to register.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

AURIX™ Forum Discussions

User17740
Level 3
Level 3
First like received
Hello,

Why does my program execute much faster from RAM than from PFLASH?

Thank you.

Regards
Bernie


#8042000 12436
0 Likes
1 Reply
User17612
Level 3
Level 3
First like received
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
0 Likes
This widget could not be displayed.