Kick
Full Member level 6
- Joined
- Sep 27, 2010
- Messages
- 344
- Helped
- 16
- Reputation
- 32
- Reaction score
- 15
- Trophy points
- 1,298
- Location
- India,Bangalore
- Activity points
- 3,170
Hi,
We are trying to use CC2541 internal comparator for waking up the controller from deep sleep mode. So far we could able to enable the comparator, but the comparator output is not getting triggered with different voltage.
The following registers are set with corresponding values:
APCFG |= 0x30;
IEN1 |= 0x20;
P0IEN = 0x00;
P0DIR &= ~(0x30);
CMPCTL |= 0x02;
If anyone have solution for this please share here.
Thanks.
We are trying to use CC2541 internal comparator for waking up the controller from deep sleep mode. So far we could able to enable the comparator, but the comparator output is not getting triggered with different voltage.
The following registers are set with corresponding values:
APCFG |= 0x30;
IEN1 |= 0x20;
P0IEN = 0x00;
P0DIR &= ~(0x30);
CMPCTL |= 0x02;
If anyone have solution for this please share here.
Thanks.