After MCU MC912XEP100 set PORTK_PK1=1 and PORTK_PK2 = 1 after wake up from stop mode?

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

After MCU MC912XEP100 set PORTK_PK1=1 and PORTK_PK2 = 1 after wake up from stop mode?

407 Views
wankuizhao
Contributor I

I use MC912XEP100MAL.After enter stop mode use ANDCC #$7f nop; STOP ,before enter stop mode ,i set the pin PORTK_PK1 = 0 and PORTK_PK2 = 0; But after excute the code and the MCU enter stop mode,PORTK_PK1 = 1 AND PORTK_PK2 = 1 is 1,i can't understand,why?

0 Kudos
1 Reply

285 Views
lama
NXP TechSupport
NXP TechSupport

Hi,

To be sure we take into account everything we I would like to know.

- Mode of the MCU you use. (connection of the mode pins and value in MODE register)

- A value of the DDRK register.

- The method of the reading of the PTK.2,1. Is it measurement at the port pins or status of the PTK register or...

- Have you checked all writes to PORTK?

Best regards,

Ladislav

0 Kudos