3 Replies Latest reply on Jul 3, 2018 11:09 PM by rajiv.vasanth.badiger

    PSOC 4200 GPIO pin high should be high impedance?

    user_343349849

      I am detecting a voltage (present or not) from 5V USB connector. The measured voltage with plug connected is 5V in to a resistive divider.

       

      The series resistor is 1k and 10k to ground with 1 100n cap across the 10k and also a 3V zener.

       

      In creator I have set the pin to High Impedance. The voltage of the divider should be around 3V (4.5V is output but it should be clamped by the Zener to around 3V).

       

      However, when I measure the voltage I only see 2.6V?

       

      The pin being used is P4.0 and I have it creating an interrupt on change (high or low).