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.

ek-tm4c123gxl wake on UART event (or buffer UART Rx data while in hibernate mode)



Is there a way to wake up the mcu from hibernate mode on a UART event ? Or if that's not possible can the UART be active in hibernate mode so the Rx buffer will accept data ?

My application needs to reliably accept a UART datastream at any time, but I still want to use the hibernate functionality.

Thanks.

  • Hello.

    The MCU can come out of Hibernation in only three cases - a WAKE event on the designated GPIO pin, an RTC match event and lastly - when VBAT powering the Hibernate module goes below a particular threshold.

    To reliably accept a UART datastream (without wasting a single byte) at any time as well as use Hibernate - it is not possible.

    I have a suggestion for you: if it is OK for your application, you can short the UART RX pin and the WAKE pin - but in this case, you will have to re-send this particular byte after the MCU has woken up (~500 microseconds). Also, make sure you have disabled Hibernate in order to make sure that activity on the WAKE pin does not disrupt your application. Do make sure you adhere to the acceptable and preferred practice (mentioned in the datasheet) for connecting pins as needed in your application.

    Regards,

    Shashank