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.

AM808 睡眠模式失败, 进入睡眠模式立刻又被唤醒

Other Parts Discussed in Thread: AM1808

各位专家好!

         (1)睡眠模式方法一问题

             我用命令:   echo    mem >   /sys/power/state      ,  附件是我系统打印的log,   系统先进入睡眠后有立刻恢复过来。我在内核中配置为: 

请问这是什么原因啊?



 

(2)然偶尝试第二种睡眠模式方法问题

我看了am1808的datasheet,  am1808支持DEEP SLEEP(深度睡眠),   在手册中有个DEEPSLEEP 寄存器中,  将31位设置为1,    GP0[8]  IO为低电平时,系统是进入掉电模式, 我通过外部电平将GP0[8]设置为高, 按手册上讲 系统应该唤醒才对,实际还是掉电状态。但是我想通过外部按键唤醒怎么做啊?