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

abcmo123
Level 1
Level 1
5 questions asked 10 sign-ins 5 sign-ins

Dear Aurix users,

 

I want to ask my understanding about CPU memory protection and CPU Bus memory protection in TC23x device.

 

CPU Bus memory protection mainly protect the SRAM on SRI bus. It probably protect the unintended write option from  DMA.

 

CPU memory protection protect the whole address that CPU can access, but it can not protect the unintended write option from DMA. That is why we need the CPU Bus memory protection right?

0 Likes
3 Replies
Jeremy_Zhou
Moderator
Moderator
Moderator
10 solutions authored 10 likes given 100 replies posted

Hi @abcmo123 ,
Thank you for your interest in Infineon Semiconductor products and for the opportunity to serve you.
Yes, your understanding is right.
BR,
Jeremy

0 Likes

Dear Jeremy_Zhou,

 

Thank you for your reply.

I want to make a further confirmation to check if the register setting process is correct.

As the user manual say. CPU bus memory protection can protect PSPR and DSPR.

 

 

For example, If I want to protection DSPR(0x70000000 - 0x70015FFF) from unintended write by DMA, so I have to set the register as following.

SPROT_RGNLA0.U = 70000000

SPROT_RGNUA0.U = 70015FFF

SPROT_RGNACCEN.U = (according to the TAG number in user manual)

0 Likes
Jeremy_Zhou
Moderator
Moderator
Moderator
10 solutions authored 10 likes given 100 replies posted

Hi @abcmo123 ,

Yes, the register setting is right.

BR,

Jeremy

0 Likes
This widget could not be displayed.