Cypress技术论坛
直播中

王树林

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

PSOC3(CY8C3865)睡眠电流过高可能是什么原因?

你好,
我有一个基于CY8C3565 Lti-014的设计。
我注意到,实际上睡眠电流比预期的要高得多(超过25比A高)。
我调试的步骤是:
-删除所有组件,但从PCB上的PSoC和周围的上限
-建立一个没有组件的新项目,只有这个代码:
` `
主(空)
{
CyGloalActuabess;/*启用全局中断。*/
/设置32 kHz晶体在睡眠时以低功率模式工作
CyxTalp332 KHZY SET PARPOMODE(1);
//启动WDT
CyWdtStart(CyWdt101024蜱,CyWdtl LpMoDEI禁用);
*将初始化/启动代码放在此处(例如MyStimSistAd())*/
CypMaveScCub();
(;)
{
*将您的应用程序代码放在这里。*/
//清除WDT
CyWdtCulter();
/睡眠1秒
CyPmSleep(PMYSalePyTimeNo.PoPPS,PMSLIPEPSRScCYNONE);
CypRead状态(CypMyONEPSPSIN);
}
CyPrimeCopeClinux();
}
` `
正如人们所看到的,初始化后,PSoC将永远进入休眠模式。
当测量电流时,我仍然测量28μA,这比数据表中指定的1μA要大得多。
这种高睡眠电流的原因是什么?
我附上这个项目供你参考。
只有一个睡眠。
1.8兆字节

以上来自于百度翻译


     以下为原文
  Hi,

I have a design based on a CY8C3865LTI-014.
I noticed that in reality the sleep current was much too high than anticipated (more than 25µA higher).

The steps I took to debug this were:
- remove all components but the PSOC and the surrounding caps from the PCB
- build a fresh project without components, and only this code:

```
int main(void)
{
    CyGlobalIntEnable; /* Enable global interrupts. */
   
    // set 32kHz crystal to operate in low power mode when in sleep
    CyXTAL_32KHZ_SetPowerMode(1);
   
    //start WDT
    CyWdtStart(CYWDT_1024_TICKS,CYWDT_LPMODE_DISABLED);
   
    /* Place your initialization/startup code here (e.g. MyInst_Start()) */
    CyPmSaveClocks();
    for(;;)
    {
        /* Place your application code here. */
        // clear wdt
        CyWdtClear();
        
        // sleep 1 s
        
        CyPmSleep(PM_SLEEP_TIME_ONE_PPS,PM_SLEEP_SRC_NONE);
        CyPmReadStatus(CY_PM_ONEPPS_INT);
        
    }
    CyPmRestoreClocks();
}
```
As one can see, after initialisation, the PSOC goes in sleep mode forever.
When measuring the current, I still measure ~28µA, which is much more than the specified 1µA in the datasheet.

What could be the cause of this high sleep current?

I attached the project for you reference.



回帖(4)

李巍

2018-9-14 11:08:21
你好,克里斯托弗,
请在这个线程中分享我们的项目原理图。
我们已经测试了我们的PSoC 3盒在我们身边与你的应用程序代码和发现,休眠电流小于1微安。所以我们想检查一下你的项目原理图。
谢谢
加内什
PSOC3LoPo.JPG
1.1兆字节

以上来自于百度翻译


     以下为原文
  Hello Christopher,
 
Please share us the project schematic in this thread.
 
We have tested our PSoC 3 kit at our side with your application code and found that the sleep current is less han 1 micro ampere. So we wold like to check you project schematic.
 
Thanks
Ganesh


举报

王树林

2018-9-14 11:19:44
引用: huhuiyun 发表于 2018-9-14 06:51
你好,克里斯托弗,
请在这个线程中分享我们的项目原理图。
我们已经测试了我们的PSoC 3盒在我们身边与你的应用程序代码和发现,休眠电流小于1微安。所以我们想检查一下你的项目原理图。

亲爱的甘尼希
谢谢你的反应!
在附件中你会发现:
-原理图和电路板布局
-一张显示当前测量用的电路板的图示,其中除PSOC和CAPS和XTAL外,所有组件都被删除。
谢谢你的建议和意见!
亲切的问候,
克里斯托弗
克里斯托弗皮尔斯
运营经理
研发经理
潘尼普克斯病毒
T+ 32 58 42 42 14 50
M+ 32 472 92 92 25 39
办公室
Veurnestraat 162
B-8660德攀讷,比利时
生产和修理
Sint Ide***aldusstraat 37
比利时Veurne B-8630
IMG20120162121094805.JPG
136.5 K
CySyror V1.4.SC.ZIP
64.9 K
CySnReloV1.4.BRD.ZIP
17.5 K
IMAG0.4.JPG
564字节
IMAG03.3.JPG
1.5 K

以上来自于百度翻译


     以下为原文
  Dear Ganesh,
 
Thank you for your reaction!
In attachment you will find:
- the schematic and board layout
- a picture showing the board I used for current measurements, where I desoldered all components except the PSoC and the caps and xtal surrounding it.
 
Thank you in advance for all your suggestions and remarks!
 
Kind regards,
Christopher
 
 
Christopher Peirs
Operations Manager
R&D Manager
 
 
 
Panimpex NV
T  +32 58 42 14 50
M +32 472 92 25 39
Offices
Veurnestraat 162
B-8660 De Panne, Belgium
Production & Repairs
Sint-Ide***aldusstraat 37
B-8630 Veurne, Belgium


举报

贾小龙

2018-9-14 11:31:32
EE101洞察PRO在www. EE101.com做一个伟大的工作,测量这些类型的设计电流!

以上来自于百度翻译


     以下为原文
  The EE101 Insight-Pro at www.EE101.com does a great job measuring current for these types of designs!
 
举报

李巍

2018-9-14 11:45:17
引用: hisysteeoke 发表于 2018-9-14 07:02
亲爱的甘尼希
谢谢你的反应!
在附件中你会发现:

你好,
请检查PSoC本身是否消耗28UA,或者从整个电路消耗的电流是28A。请注意,基于组件和电路板设计将有泄漏电流。请确认这一点。
关于PSoC固件侧,使外部振荡器将绘制更多的电流。所以请注意这一点。
遵循CY8CKIT-01和PSoC 3模块的原理图,并进行相应设计。
HTTP://www. CyPress .COM/DICONTION/Debug -KITSBBOARDS/CY8CKIT-1001-PSOC开发套件
谢谢
加内什

以上来自于百度翻译


     以下为原文
  Hi,
 
Please check whether the PSoC itself is consuming 28uA or the current consumed from the entire circuitry is 28A. Please note that there will be leakage currents based on the components and board design. Please confirm this.
 
Regarding PSoC firmware side, enabling the external oscillators will draw more current. So please be aware of this.
 
Follow the kit schematics for CY8CKIT-001 and PSoC 3 module and design accordingly.
 
http://www.cypress.com/documentation/development-kit***oards/cy8ckit-001-psoc-development-kit
 
Thanks
Ganesh
举报

更多回帖

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