4 Replies Latest reply on Sep 19, 2011 1:28 PM by user_7880656

    CY8C95xxA: GPort configuration

    rolf.hertle

      Hi,

         

      need some help to understand the port configuration of the CY8C95xxA. What I have done is to add a LED to a port pin. In default state the LED lights up. Set the output to 'Low' the LED is off. So far OK.

         

      But when I configure the GPort as Input and Set Drive Mode to High-Z after power up, the LED still lights up. In my understanding the LED should be off.

         

      What went wrong there? Is my  configuration wrong or didn't I understand the GPort architecture and this is a right behaviour? But if this behaviour is right, why do I have the possibility to set GPort as Input?

         

      Thank you in advance,

         

      Herrol