This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

2802x低功耗问题

Expert 1250 points

按照例程进入低功耗模式了,但是电流还有30多毫安,感觉内核还在运行,不知道是哪儿有问题

__asm(" EALLOW");
EALLOW;
if (SysCtrlRegs.PLLSTS.bit.MCLKSTS != 1) // Only enter Idle mode when PLL is not in limp mode.
{
SysCtrlRegs.LPMCR0.bit.LPM = 0x0002; // LPM mode = Idle
}
EDIS;
__asm(" IDLE");