How to implement the soft power on/off with PSOC (no external IC component)?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
KeLi_1455086
Level 2
Level 2
First like received First like given Welcome!

How to implement the soft power on/off with PSOC I/O or capsense button? Is it possible to make it without external IC component?

best regards

Ken

0 Likes
1 Solution

中文:

不能通过capsense长按或者短按键来实现电源的通断, 但是可以每隔一段时间把系统唤醒,进行capsense的扫描,根据这个扫描的状态来判断要让系统进入active的状态,还是继续睡眠。 如果按键扫描满足某一个状态,我们也可以通过代码,让系统进入睡眠状态。 不清楚这样的系统是不是您想要的。

链接的code example 可能对你有帮助:https://www.cypress.com/documentation/code-examples/ce95288-capsense-low-power-psoc-4

English:

It is not possible to turn on and off the power supply by pressing the CapSense key for a long time or short , but the system can be awake  by one fixed period , and the scanning state can be used to determine whether the system should be put into active state or continue to sleep.

If the key scanning meets a certain state, we can put the system into sleep state.

I am not sure whether such system can meet your requirement.

The linker Code Example maybe helpful for you.https://www.cypress.com/documentation/code-examples/ce95288-capsense-low-power-psoc-4

View solution in original post

0 Likes
4 Replies
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

可以实现系统软件复位。

你需要详细的描述一下你想要做成的系统是什么样子,我们才能针对性的给你一些建议。

English:

The system can achieve software  reset.

You need to describe in detail what kind of system you want to make ,then we can give you some suggestions.

0 Likes

我想利用capsense或按鈕去開機. 例如長按某鍵3秒開機.再長按5秒關機! 可以嗎?

0 Likes

中文:

不能通过capsense长按或者短按键来实现电源的通断, 但是可以每隔一段时间把系统唤醒,进行capsense的扫描,根据这个扫描的状态来判断要让系统进入active的状态,还是继续睡眠。 如果按键扫描满足某一个状态,我们也可以通过代码,让系统进入睡眠状态。 不清楚这样的系统是不是您想要的。

链接的code example 可能对你有帮助:https://www.cypress.com/documentation/code-examples/ce95288-capsense-low-power-psoc-4

English:

It is not possible to turn on and off the power supply by pressing the CapSense key for a long time or short , but the system can be awake  by one fixed period , and the scanning state can be used to determine whether the system should be put into active state or continue to sleep.

If the key scanning meets a certain state, we can put the system into sleep state.

I am not sure whether such system can meet your requirement.

The linker Code Example maybe helpful for you.https://www.cypress.com/documentation/code-examples/ce95288-capsense-low-power-psoc-4

0 Likes