You are here

Some GPIOs cannot be turned on after wakeup from deepsleep | Cypress Semiconductor

Some GPIOs cannot be turned on after wakeup from deepsleep

Summary: 1 Reply, Latest post by Bob Marlowe on 10 Oct 2016 05:53 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
carlsmith.sms_1616011's picture
14 posts

Hi everyone,

Now I am doing a project using cypress ble CYBLE-224110-00. In my project, I entered into deepsleep mode after the lock is unlocked by the user. I drive all unused GPIOs into Analog HiZ mode before entering into the deepsleep to save more power.

Then I found out that after the CPU wake-up, some GPIOs cannot be turned on even I set their drive modes into strong drive.

So I build a new project with CY8CKIT_042_BLE kit and test. When the switch SW2 is pressed for the first time, all the LEDs are set into Analog HiZ mode and I put the CPU into deepsleep mode. When the switch is pressed for the second time, I wake up LEDs and set them into strong drive mode. And then turn on each of three LEDs everytime the CPU wakes up. But you will see that the GREEN LED cannot be turned on. I attach the project file with this post. Please save me from this problem. Thanks.

user_1377889's picture
9268 posts

I could confirm that issue and created a support case.

Workaround: Remove the _Wakeup() call which is not essentioal for non SIO pins.



Log in to post new comments.