2 Replies Latest reply on Apr 10, 2017 4:35 PM by s-tanaka_1517346

    How to read IO Pin (Digital input and Strong drive mode)

    s-tanaka_1517346

      Hello.

         

      I have a problem to read IO pin status.

         

      Device:CY8C5868AXI-LP035

         

      Pin name:OK_MPU, Port:12[3] ,Type:Digital Input,

         

      Drive mode:Strong drive (to connect to other output enable pins)

         

      Then  I write in the program

         

         tmp = OK_MPU_Read();

         

      But if OK_MPU pin is connected to GND, Always  tmp status = "1".

         

      How can I read correct pin status ?

         

      Please give advice to me.