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.

To wake up CC2538 from PM2 by UART

Guru 16800 points

Other Parts Discussed in Thread: CC2538

Hello,

Please let me know whether the UART interrupt can wake up CC2538 from PM2.
If possible, could you teach me how to wake up CC2538 from PM2 by the UART interrupt?

Best Regards,

Nomoto

  • As I know, there is no such capability on CC2538.
  • You can't wake up the system on UART transaction but the system can wake up on IO state change so you can do either the following things:
    - Configure the UART Rx line as a GPIO, input, pull enable, enabling interrupt on that line. You would lose the first character on the transaction at wake up but you can conceive a scheme where the first transaction from the host for waking up the part is a NULL character, which the CC2538 acknowledges back with another NULL character.
    - Have additional GPIOs provisioned and used to wake up the CC2538 device and get a wake up acknowledge from that. The UART driver on the host would have to manage GPIO assertion and acknowledgment detection

    In both cases, the host would need to be aware of the power state of the CC2538 and handle the power state transactions at the driver level.
    Thanks,
    TheDarkSide
  • These are great alternatives.