Why is write to core special function register(CFSR) not working?

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

cross mob
User18151
Level 3
Level 3
First like received First solution authored
Hi all,

I am trying to write to a core register and the write is not working. What could be the reason?

Thanks in advance!
Christine

#8042000 13590
0 Likes
1 Reply
User18237
Level 5
Level 5
First solution authored First like received
Hi Christine,

For its own core special function registers (CSFRs), the CPU must access them using MTCR and MFCR instructions. On the other hand, for core registers of other CPUs, the CPU should access via the SRI.
Note: For SFR registers of any CPU, this may only be accessed using load and store instructions via the SRI.

Best regards,
Mr. AURIX™
0 Likes