Cypress技术william hill官网
直播中

庞兴玉

7年用户 216经验值
私信 关注
[问答]

怎么在CY7C64013中实现远程唤醒

你好,
我们正在与CY7C64013一起工作。当我们将设备连接到Windows 8机器上,Win8进入睡眠状态时,我们的设备进入挂起状态。我一直在看基于CY7C637 XX的旧代码鼠标代码,并看到在0016中有一个专用的中断-唤醒中断向量。也有用于此鼠标应用程序的代码
“JMP CurryDeice特性”

“JMP StimeDeice特性”
我开始的示例代码具有“JMP请求程序NothIdvices”。
我想知道,如果CY7C64013能够复制远程唤醒功能时,PC进入睡眠和任何样本代码呢?
提前感谢,
乔治

以上来自于百度翻译


     以下为原文
  Hello,
    We are working with the CY7C64013. When we attach our device to a Windows 8 machine, and Win8 goes to Sleep, Our device goes into Suspend. I have been looking at old code Mouse code based upon the CY7C637xx, and see that there is a dedicated interrupt for this - Wakeup Interrupt Vector at 0016. There is also code for this mouse application that uses
    "jmp clear_device_feature"
    and
    "jmp set_device_feature"
    The sample code I started with had these as "jmp request_not_supported".
    I would like to know if the CY7C64013 is able to duplicate the functionality of remote wakeup when the PC goes to sleep and any sample code for it?
    Thanks in advance,
    George

回帖(5)

何柳青

2019-6-24 11:20:30
嗨,当你说0x00 16,你是在谈论GPIO/HAPI中断吗?这是为了唤醒芯片不挂起信号远程唤醒。芯片没有远程唤醒功能。问候,阿南德

以上来自于百度翻译


     以下为原文
          Hi, When you say 0x0016 you're talking about GPIO/HAPI interrupt right? That is for waking up the chip from suspend not for signaling remote wakeup. The chip doesn't have remote wakeup functionality. Regards, Anand   
举报

何柳青

2019-6-24 11:30:28
也请让我知道这是否是一个新的设计?

以上来自于百度翻译


     以下为原文
          Also please let me know if this is a new design?   
举报

何柳青

2019-6-24 11:46:13
也请让我知道这是否是一个新的设计?你想要的最终功能是什么?这样我们可以帮助你选择合适的芯片。

以上来自于百度翻译


     以下为原文
          Also please let me know if this is a new design? and what is your intended end functionality? that way we can help you choose a appropriate chip   
举报

庞兴玉

2019-6-24 11:53:51
谢谢你的回复。0016个中断向量I指的是CY7C637 XX。我不知道CY7C64013是否以不同的方式实现了这个功能。我们正在创建一个特殊用途的复合设备——鼠标/键盘,还可以通过EndoPoT2与编译的VB程序进行通信。我在CY7C64013文档中看到暂停和恢复命名。这可以用来实现远程唤醒条件吗?
此外,我一直使用的代码是基于一个古老的柏树例子,并且我认为我需要修改的部分,(如果可能的话),从这里开始:
H2DSTSTDI接口FunP表:JMP请求程序NOTSY支持;00 JMP请求程序NOTSY支持;CyrIX接口FACTS 01 JMP请求支持NOTSY;02 JMP请求程序NOTSY支持;SETIN接口FACTION 03 JMP请求支持NOTSY;04 JMP请求程序NOTSY支持;05 JMP请求支持TJNOT支持;支持06个JMP请求,07个JMP请求,支持NOTSH;08个JMP请求,NOTSY支持;09个JMP请求,NoTySub;0个JMP SETIN接口F接口;0B
请求01和03显然是(或)是有效的跳跃。这些跳跃会成为实现Remote Wakeup的难题的一部分吗?
此外,我们致力于CY7C64013目前,但如果你可以建议一个插件更换微控制器,我们将不胜感激。
谢谢,乔治

以上来自于百度翻译


     以下为原文
  Thanks for your reply. The 0016 interrupt vector I was referring to was for the CY7C637xx. I didn't know if the CY7C64013 implemented this functionality in a different way. We are creating a special purpose composite device - mouse/keyboard also able to communicate with a compiled VB program via endpoint2. I see Suspend and Resume nomenclature in the CY7C64013 documentation. Can this be used to implement a Remote Wakeup condition?
    Also, the code I have been using has been based upon an old Cypress example, and the portion that I believe I need to modify, (if at all possible), starts here:
            h2d_std_interface_jumptable:
            jmp        request_not_supported    ; 00
            jmp        request_not_supported    ; clear_interface_feature 01
            jmp        request_not_supported    ; 02
            jmp        request_not_supported    ; set_interface_feature     03
            jmp        request_not_supported    ; 04
            jmp        request_not_supported    ; 05
            jmp        request_not_supported    ; 06
            jmp        request_not_supported    ; 07
            jmp        request_not_supported    ; 08
            jmp        request_not_supported    ; 09
            jmp        request_not_supported    ; 0A
            jmp        set_interface_interface    ; 0B
 
    The requests 01 and 03 apparently are, (or were), valid jumps. Would these jumps be part of the puzzle for implementing Remote Wakeup?
    Also, we are dedicated to the CY7C64013 at the moment, but if you can suggest a plug-in replacement microcontroller we would appreciate it.
    Thanks,
George
举报

更多回帖

发帖
×
20
完善资料,
赚取积分