How to switch the access privilage control modes in Aurix tc39xx microcontroller

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

cross mob
Vamshi_V
Level 1
Level 1
5 sign-ins First like given First reply posted
Hi everyone, I'm new to using Aurix tc39x microcontoller and can anyone please tell me how to switch supervisor mode to user mode in Aurix tc39x microcontoller
0 Likes
1 Solution
Aiswarya_A
Moderator
Moderator
Moderator
25 likes received 250 sign-ins 50 solutions authored

Hello,

You could make use of the Program Status Word (PSW) Register . Please note that a CPU must access its own CSFR registers using MTCR and MFCR instructions.
You could refer to CPUx Program Status Word Register description in the AURIXTC3XX_um_part1_v2.0 User Manual.

Regards,
Aiswarya.

 

View solution in original post

1 Reply
Aiswarya_A
Moderator
Moderator
Moderator
25 likes received 250 sign-ins 50 solutions authored

Hello,

You could make use of the Program Status Word (PSW) Register . Please note that a CPU must access its own CSFR registers using MTCR and MFCR instructions.
You could refer to CPUx Program Status Word Register description in the AURIXTC3XX_um_part1_v2.0 User Manual.

Regards,
Aiswarya.