微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI蓝牙设计交流 > CC2640,进入睡眠后,按键无法唤醒

CC2640,进入睡眠后,按键无法唤醒

时间:10-02 整理:3721RD 点击:

如题,调用Power_shutdown(NULL)函数后,点动按键无法唤醒,哪里不对?请指点,谢谢!

//Enable wakeup
PIN_setConfig(hKeyPins, PINCC26XX_BM_WAKEUP, Board_KEY_SELECT | (PINCC26XX_WAKEUP_POSEDGE));
PIN_setConfig(hKeyPins, PINCC26XX_BM_WAKEUP, Board_KEY_UP | (PINCC26XX_WAKEUP_POSEDGE));
PIN_setConfig(hKeyPins, PINCC26XX_BM_WAKEUP, Board_KEY_DOWN | (PINCC26XX_WAKEUP_POSEDGE));
PIN_setConfig(hKeyPins, PINCC26XX_BM_WAKEUP, Board_KEY_LEFT | (PINCC26XX_WAKEUP_POSEDGE));
PIN_setConfig(hKeyPins, PINCC26XX_BM_WAKEUP, Board_KEY_RIGHT | (PINCC26XX_WAKEUP_POSEDGE));

Power_shutdown(NULL)函数后,怎么外部按键唤醒?请指点!

你是用Pin_Shuntown例程吗?有做改动吗?是在CC2640 launchpad还是CC2640EM上调试的?

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top