Teensy External Reset?

Status
Not open for further replies.

neltnerb

Well-known member
I'm trying to use a Teensy 3.6 in a complex board and have a chassis mounted reset pushbutton that I intended to use to reset the Teensy, another processor, and a wide variety of peripheral chips.

I tried connecting the reset line on the middle 5-pin header as shown in the attached image.

Teensy Reset Connection.jpg

As I commented on my schematic, the intent was that the capacitor and resistor to the onboard 3.3V regulator would provide a soft turn on since this has reportedly been an issue with Teensy 3.6 boards in the past. The 3.3V regulator becomes active but the processor is kept in reset until everything is stable, and the diode ensures that if I push the chassis reset button it pulls the reset pin low.

Problem is that the actual voltage on the reset pin is around 1.4V despite the RESET signal being 3.3V measured on-board. Replacing the 200k pullup with a 10k didn't meaningfully help, but I see a periodic charge up and then discharge of the capacitor C180. In this configuration, it was impossible to communicate or program the Teensy. Removing R259, C180, and D19 caused the Teensy to turn on properly, but just removing D19 did not. The voltage at the 3V3 pin on the Teensy is fine.

I'm suspicious that the second chip on the Teensy is interfering from looking at the schematic, but I don't find ready documentation of that chip's behavior so I'm not clear on how it may be interfering. Am I misunderstanding what the RESET pin on the Teensy is for? I found people saying the second chip must be removed to use a debugger, which seems likely also related to reset lines, but I'd rather not be going in and removing that chip if it's needed to properly program the Teensy over USB.

What is the correct way to wire this to reset the Teensy with an external pushbutton?
 
Not offering advice on dealing with electrons - but suppose these or similar posts were referenced?: Powering-Teensy-3-6-with-3-3V

From what I can see that part provides a clean controlled jump from GND to 3.3V on reset - not a 'soft turn on' where rise time in that 'in between' state could be allowing confusion.
 
Thanks! This isn't quite my issue, I'm powering it from 5V to avoid conflicting with the 3.3V regulator that I'm only using to pull up the reset line. That is the thread where I discovered the trick with using a capacitor across the reset line though! I feel like the only thing that explains my behavior is that the reset pin on the Teensy is getting pulled low by the second chip, thus putting conflicting power supplies on the same signal. I noticed it's connected to two separate pins on that second chip, and without any idea what they do I'm guessing one or both are set as outputs?

"Is this supposed to work?" is my major question. Because it sure seems like it should!
 
Indeed - the problem isn't input power rise time - I see it as reset dwelling in the 'nether' region transition from 0V to 3.3V. One chip may pick up sooner than the other and cause unexpected behavior. I see that linked circuit as a switch from 0V to 3.3V to keep everything seeing a normal return to operating voltage.
 
Ah, so you'd suggest using the capacitor for timing but adding a comparator so that as soon as it rises far enough the reset line is asserted cleanly?
 
Ah, so you'd suggest using the capacitor for timing but adding a comparator so that as soon as it rises far enough the reset line is asserted cleanly?

... "Not offering advice on dealing with electrons " ... but that is what I see as the problem and solution.
 
Status
Not open for further replies.
Back
Top