请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:SK-AM62-LP 工具/软件:
尊敬的专家:
将 GPIO 引脚配置为低功耗模式的唤醒源时、 是否有任何方法可以区分哪个特定引脚触发了系统从睡眠模式恢复?
BR
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.
工具/软件:
尊敬的专家:
将 GPIO 引脚配置为低功耗模式的唤醒源时、 是否有任何方法可以区分哪个特定引脚触发了系统从睡眠模式恢复?
BR
嗨、Xiao-An、
当系统恢复时、控制台上会打印唤醒原因以及触发唤醒的引脚。 以下文档在此处对其进行了深入说明: https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/latest/exports/docs/linux/Foundational_Components wake/pm_wakeup_source.html#confirming-the-wakeup-event-type Power_Management
此致、
Kendall
嗨、Xiao-An、
为了澄清一下、包含确切引脚信息的消息仅适用于 Linux SDK 11.0+:
[ 249.472314] ti-sci 44043000.system-controller: ti_sci: wakeup source:0x80, pin:0x72, mode:0x1
对于11.0之前的 SDK 版本、该消息将仅返回源代码:
[ 37.357710] ti-sci 44043000.system-controller: ti_sci_resume: wakeup source: 0x50
Anshu