At what voltage does the propeller pin go high?
idbruce
Posts: 6,197
Hello Everyone
I am looking for the voltage at which point a pin goes high. I found this in the datasheet, and from this I assume it is anything above 1.6V, but I am unsure.
Bruce
I am looking for the voltage at which point a pin goes high. I found this in the datasheet, and from this I assume it is anything above 1.6V, but I am unsure.
General purpose I/O Port A. Can source/sink 40 mA each at 3.3 VDC. CMOS level logic with threshold of ≈ ½ VDD or 1.6 VDC @ 3.3 VDC.
Bruce
Comments
Bruce
Jon, I don't think the datasheet is inconsistent. The spec that Bruce cites is a nominal value. The spec you cite is the voltage required to guarantee a high reading for all Propeller chips.
-Phil
I agree with that sentiment entirely. In the case of the input threshold, it's the reason one of the resistors in the sigma-delta circuit is 150K, instead of both of them being 100K.
Published min and max specs can be misleading, too. When I was new to this game and saw something like, "VIH(min) == 0.6*Vdd and VIL(max) == 0.4*Vdd," I'd think, "Wow! That's a lot of hysteresis!" What such a spec fails to mention is that the two thresholds are not independent of each other and, in fact, that VIH == VIL for any particular pin.
-Phil
On the Propeller Backpack manual page 22, you used a bias circuit to establish a voltage for the "line level audio input"
Is this a good method to find the actual threshold of hi/low inputs?
Perry
The voltage divider gets the input close to the logic threshold and helps to establish the input impedance. The feedback resistor in sigma-delta mode finishes the job. If you were to measure the average voltage on the input pin while the sigma-delta is in operation, it would equal the input logic threshold.
-Phil
Bruce
Bruce
-Phil
-Phil