Problem with oscilloscope hindering interrupt input on CPU

Click For Summary

Discussion Overview

The discussion revolves around the issue of measuring delay time of an external interrupt using an oscilloscope, specifically focusing on how the oscilloscope probe affects the interrupt input on a CPU. The scope of the discussion includes technical explanations and troubleshooting related to electronic circuit behavior.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant describes measuring the delay time of an interrupt and notes that the interrupt works without the oscilloscope probe attached, but fails to trigger when the probe is connected.
  • The same participant mentions the use of a 1M external pull-up resistor and speculates about the internal circuitry of the interrupt pin, suggesting it may be a high impedance buffer.
  • Another participant identifies that the combination of the 1M pull-up and the 10M oscilloscope probe creates a voltage divider effect, resulting in a voltage drop that is too low for the CPU to recognize as a valid high signal.
  • A third participant provides additional context about typical voltage levels for logic signals, indicating that certain voltage ranges are considered invalid for logic high or low.
  • One participant questions the choice of using a high resistance pull-up resistor, prompting further inquiry into the reasoning behind this design decision.

Areas of Agreement / Disagreement

Participants appear to agree on the technical issue related to the voltage drop caused by the probe and the pull-up resistor, but there is no consensus on the appropriateness of the resistor value or the design choices made.

Contextual Notes

The discussion highlights the potential impact of probe impedance on circuit behavior, but does not resolve the underlying assumptions about the circuit design or the specific requirements for the interrupt pin voltage levels.

TheAnalogKid83
Messages
174
Reaction score
0
I was trying to measure the delay time of an external interrupt by putting an oscilloscope probe on the input interrupt and a probe on an output pin. The interrupt is falling-edge triggered, so when i short the pin to ground, the interrupt is triggered. The pin has a 1M external pull up on the board, but I'm not sure what the pin's internal circuitry looks like, except that I'm assuming its like a high impedance buffer. The interrupt works fine by itself with no probe attached.

When the probe is attached to the interrupt pin and I short the interrupt pin to ground, the probe shows the voltage dropping from high to 0V; however, the interrupt is not triggered in software. Also, if I disconnect the probes ground and leave it floating, it will start to trigger the interrupt without myself even shorting the pin to ground. The probes impedance is very high, I think 10Mohm.

I made a schematic to show the problem. The schematic is really simple, and its how I understand what's going on. Maybe I'm missing something?

I know 1M is a high pull-up value and makes the pin more susceptable to noise, but I think the oscilloscope impedance is even much higher to this to where it still is not going to add on any loading to the pin.

I just am getting angry because I'm shorting the pin to ground so how could it see anything else but a logic-low voltage?
 

Attachments

Engineering news on Phys.org
ok i figured it out.

The 1M pull up and 10M scope acting like a voltage divider really does drop the voltage too low to (2.72V from a 3.3V high), to where the input pin is always seeing a low. I wsa just doing it in my head and estimated about a 2.8V and even then it is too low. I didn't realize the cpu needed to see a higher voltage as high.
 
Analogkid83, why are u using such a high res(1M) pull up resistor?
any particular reason?
 

Similar threads

Replies
7
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
Replies
11
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K