你能试试以下吗?1)每64赫兹醒来,使用睡眠间隔。2)启用I2C 3)启动CAPSENSE 4)扫描CAPSENSE一次(5)停止CAPSENSE,禁用所有块电源6)禁用I2C及其中断7)启用GPIO中断(关注线)8)睡眠I2C,有一个专用引脚作为中断引脚(注意引脚)。当主人使这个引脚低,走出睡眠,使I2C和继续扫描(不睡觉,直到这个引脚是高)。唯一的限制是,在发送任何I2C命令之前,主控器必须使该注意线低。我会给你一个关于这个方法的例子。请给我3-4天的时间。问候,Narayana Swamy
以上来自于百度翻译
以下为原文
Can you try the following,
1) Wake up every 64 Hz, using the Sleep Interval.
2) Enable I2C
3) Start CapSense
4) Scan capsense once
5) Stop CapSense, disable all blocks power
6) Disable I2C and its interrupt
7) Enable the GPIO interrupt (on attention line)
8) goto sleep
For I2C, have one dedicated pin as Interrupt pin (Attention pin). When the master makes this pin low, come out of sleep, Enable I2C and keep on scanning (don't go to sleep, untill this pin is High).
The only restriction would be that the master has to make this Attention line Low before sending any I2C commands.
I will try to give you an example project on this method. Please give me 3-4 days time.
Regards,
Narayana Swamy
你能试试以下吗?1)每64赫兹醒来,使用睡眠间隔。2)启用I2C 3)启动CAPSENSE 4)扫描CAPSENSE一次(5)停止CAPSENSE,禁用所有块电源6)禁用I2C及其中断7)启用GPIO中断(关注线)8)睡眠I2C,有一个专用引脚作为中断引脚(注意引脚)。当主人使这个引脚低,走出睡眠,使I2C和继续扫描(不睡觉,直到这个引脚是高)。唯一的限制是,在发送任何I2C命令之前,主控器必须使该注意线低。我会给你一个关于这个方法的例子。请给我3-4天的时间。问候,Narayana Swamy
以上来自于百度翻译
以下为原文
Can you try the following,
1) Wake up every 64 Hz, using the Sleep Interval.
2) Enable I2C
3) Start CapSense
4) Scan capsense once
5) Stop CapSense, disable all blocks power
6) Disable I2C and its interrupt
7) Enable the GPIO interrupt (on attention line)
8) goto sleep
For I2C, have one dedicated pin as Interrupt pin (Attention pin). When the master makes this pin low, come out of sleep, Enable I2C and keep on scanning (don't go to sleep, untill this pin is High).
The only restriction would be that the master has to make this Attention line Low before sending any I2C commands.
I will try to give you an example project on this method. Please give me 3-4 days time.
Regards,
Narayana Swamy
举报