Can PSPR be used for data processing, or DSPR be used for program processing?

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

cross mob
User17612
Level 4
Level 4
First like received
Hi Aurix Community,

Can PSPR (Program Scratchpad RAM) be used for data processing, or DSPR (Data Scratchpad RAM) be used for program processing?

Thank you!

Best
Lucas


#8042000 12803
0 Likes
1 Reply
User17740
Level 4
Level 4
First solution authored First like received
Hi Lucas,

The DSPR and PSPR are located next to each CPU. The DSPR offers the fastest access time for data to its core, while the PSPR offers the fastest access time to the program side of the core due to Harvard architecture.

However, for a particular CPU, if its DSPR is required for code processing, or PSPR for data processing, this is also feasible but some stall cycles must be imposed for CPU access because such assess has to go through local SRI, which is not ideal.

The number of the stall cycles will increase further if the DSPR is used by another CPU for code operation, or PSPR for data operation because the access has to go through remote SRI.

The detailed information about stall cycles of the CPU accesses can be found the User’s Manual.

Best regards
Bernie
0 Likes