cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Enter into Halt Mode

Santhamurthy R
Associate II

Hi,

I am trying to implement MCU sleep and wakeup mechanism using the MCU with the part number SPC560C50L3. I have developed a piece of code with reference to few reference documents(Reference Manual RM0017, AN4231, AN3316).

In the sample code which I have attached herein with, I am trying to HALT the MCU whenever external interrupt EIRQ[5] gets asserted and wakeup the MCU at the assertion of WKUP[2]. But the execution enters into infinite loop since the ME.GS.MTRANS != 0, at the time of transitioning the mode RUN0-> HALT.

I am sharing code as attachment and looking forward for you valuable comments.

Regards,

R.Santhamurthy

This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
0 REPLIES 0