在线时间115 小时
UID3469754
注册时间2018-4-13
NXP金币0
TA的每日心情 | 郁闷 2021-6-16 01:35 |
---|
签到天数: 521 天 连续签到: 1 天 [LV.9]以坛为家II
金牌会员
 
- 积分
- 1783
- 最后登录
- 2021-6-16
|

楼主 |
发表于 2018-4-23 19:07:46
|
显示全部楼层
小恩GG大大您好:
我在手冊UM10732的74頁看到以下說明
5.5.5.3 Wake-up from Deep-sleep mode
The microcontroller can wake up from Deep-sleep mode in the following ways:
• Signal on one of the eight pin interrupts selected in Table 62. Each pin interrupt must
also be enabled in the STARTERP0 register (Table 65) and in the NVIC.
所以才認為可以用pin interrupt的方式來喚醒MCU,且table 65還有設定的方法,如果可以的話
我還是希望可以用pin interrupt的方式來喚醒MCU,您有想要測測看嗎?謝謝~
Table 65. Start logic 0 interrupt wake-up enable register 0 (STARTERP0, address 0x4004
8204) bit description
Bit Symbol Value Description Reset
value
0 PINT0 Pin interrupt 0 wake-up 0
0 Disabled
1 Enabled
1 PINT1 Pin interrupt 1 wake-up 0
0 Disabled
1 Enabled
2 PINT2 Pin interrupt 2 wake-up 0
0 Disabled
1 Enabled
3 PINT3 Pin interrupt 3 wake-up 0
0 Disabled
1 Enabled
4 PINT4 Pin interrupt 4 wake-up 0
0 Disabled
1 Enabled
5 PINT5 Pin interrupt 5 wake-up 0
0 Disabled
1 Enabled
6 PINT6 Pin interrupt 6 wake-up 0
0 Disabled
1 Enabled
7 PINT7 Pin interrupt 7 wake-up 0
0 Disabled
1 Enabled
31:8 - Reserved -
GPIO Group的方式我也會試試看,謝謝您~
|
|