Author Topic: Entering sleep modes with wakeup input in known logic state.  (Read 755 times)

0 Members and 1 Guest are viewing this topic.

Offline PsiTopic starter

  • Super Contributor
  • ***
  • Posts: 9946
  • Country: nz
Entering sleep modes with wakeup input in known logic state.
« on: November 13, 2018, 08:51:34 pm »
I'm working on some code on the CC2540 and having trouble finding out how to make sure it can only enter deep sleep power mode (PM3) with an input in a known state.

A falling edge on external interrupt pin is used for wake up from sleep, so the cpu must only enter sleep mode when this input is high for everything to work correctly.

If i check the pin is high then issue the sleep commands there is a chance it will change low in the time taken to actually enter sleep.

Can anyone point me in the direction of some info on how to solve this sort of issue.
On CC2540 or just in general.

Thanks!

Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline Yanayoei

  • Newbie
  • Posts: 2
  • Country: az
Re: Entering sleep modes with wakeup input in known logic state.
« Reply #1 on: November 14, 2018, 10:36:47 am »
Hindi sigurado kung paano tutulungan ako? Tungkol sa kaalaman na hinahanap ko, patuloy kong ibinabahagi ang impormasyong ito.


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf