AnsweredAssumed Answered

Problems with SPI0 pin reassignment at MC9S08PA32

Question asked by Fernando Lima on Jul 29, 2015
Latest reply on Aug 5, 2015 by David Diaz Marin

Hello everybody.

I'm having problems with SPI0 pin reassignment at MC9S08PA32.

I am unable to change SYS_SOPT1 register. Why I can't change this register?

My assembly code is:

 

LDA SYS_SOPT1

ORA #mSYS_SOPT1_SPI0PS

STA SYS_SOPT1 ;Directs the SPI0 port for PORTE

 

Afer I write this register, the value of this register doesn't change.

Does anybody know what is the problem? Is there a password to change this register like there is for to change the watchdogs registers?

Outcomes