Wake Up Circuit for CORTEX using serial port

2 replies · 3K views · last reply
yui
Messages
2
Reaction score
0
Hi all,
I am making my first attempt at designing a microcontroller for an autonomous chemical sensor package for marine systems. Previously, we used a commercially available microcontroller made by a company called Persistor (http://www.persistor.com/pii/products/cf2.html), but now we are trying to design our own controller using a CORTEX LM4F 232H5QD (http://www.ti.com/product/lm4f232h5qd).

We are having trouble designing a wake-up circuit for this controller, and would really appreciate some help. We would like to bring the CORTEX out of hibernation when any character is sent through the serial port. The CORTEX has to be in the low-power hibernation mode, where interrupts are not available on the IO pins. There is a "WAKE" pin on the chip that brings the chip out of hibernation when it is pulled low. My first attempt was to put a circuit like the one attached, but it did not work.

Right now, we are leaning towards adding a MSP430, and using it to monitor the RX line, and then when it sees a character, then it triggers the WAKE pin using an IO pin. This is how the CF2 does it, and we are confident that it would work, but it just seems like a very complicated way to solve this problem. Does anybody have an idea for a simpler design for this wake circuit?

thank you!

Yui
 
Attachments
  • Schematic of a wake circuit: RSRXD line feeds a 100K resistor R15 and a 1M resistor R16 to ground, with R15 connected to the base of transistor U18 (MMBT3904). The emitter is grounded and the collector drives the WAKE net.
    wake circuit.PNG
    3.3 KB · Views: 714
You need a Pull-Up resistor. Image from "www.ti.com/lit/ds/spms319g/spms319g.pdf"



Circuit schematic of an open drain external wake up circuit: a switch to ground and a pull-up resistor R_PU from the WAKE pin to VBAT, with GND shown on the chip block.
 
Attachments
  • Circuit schematic of an open drain external wake up circuit: a switch to ground connected to a WAKE pin, with a pull-up resistor R_PU to VBAT, and a GND pin shown on the device block.
    pullup_drain.jpg
    7.7 KB · Views: 656
Last edited by a moderator: