This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

  • Resolved

CC2543: CC2543 Sleep Timer Wake From External Interrupt

Prodigy 110 points

Replies: 3

Views: 512

Part Number: CC2543

Dear TI community,

I'm currently working on a custom PCB/project which is using the CC2543.  One of the operating modes requires that I enter PM2 and wake up via the sleep timer every second and listen for a data packet.

This all works fine until I try and wake via an external port interrupt, which is a button press.  Upon pressing the button which transmits a data packet, the system seems to operate very slowly as if its running of the RC oscillator.  But after some time it returns to PM2 and starts operating normally.  I am using the recommended hal_sleep modules and  halSleepEnterPowerMode(POWER_MODE2); function so it looks like the handling of the oscillator switching is taken care of.

So I'm wondering if there are any general recommendations that should be followed when waking via an external interrupt from PM2 when the sleep timer is also active.

Thanks for your time.

Regards,

Dino

  • Disabling the interrupts for the sleeptimer and Timer2(used for radio timeout) in the button press ISR fixed the problem.  I was only clearing the interrupt flags previously.

  • In reply to DinoAU:

    Hi Dino,

    I'm glad you were able to get your problem worked out. Thanks for coming back and posting your solution.

    Best Regards,

    Rachel

  • In reply to RachelP:

    Thanks Rachel,

    No problems at all.  I'll probably be back again :-)

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.