How to get MCU into supervisor mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get MCU into supervisor mode

1,397 Views
derill03
Contributor I

I have read some in the reference manual about this mode but i know ARM can be touchy, so before i screw something up can someone tell me how to put my kwikstik in supervisor mode so i can write to the registers i need to in order to setup the LCD. Like the MCG registers can not be written to in user mode.

 

But then again i am new to this device and i am assuming im in user mode unless i switch to supervisor mode, is that correct?

 

Please help

0 Kudos
1 Reply

565 Views
mjbcswitzerland
Specialist V

Hi

 

After reset you are in "supervisor mode".

 

User mode is not often used and must be commanded by special instructions to modify the appropriate Cortex core setting (in ARM terminology it is known as privileged mode).

 

The majority of embedded systems are always in supervisor mode. Unless you specifically change from the default you can ignore any references to supervisor or user restrictions.

 

Regards

 

Mark

 

0 Kudos