psoc 5lp GPIO high impedance digital input can not work

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hello
    i use psoc 5 CY8C5888 ( CY8CKIT-059 PSoC® 5LP Prototyping Kit)in my design. the design used to monitor digital signal.

   

    so i want to configure gpio pin as high impedance digital input ,
    But when i measure the value of the resistor on pin after programming the kit. there is 2.4k resistor pull-up to 5V.

   


Thanks

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Indeed have the port12 Pins 0 and 1 resistors on the board as shown in the -059 schematic, because these are the pins for I2C programming of the target chip.

   

 

   

Bob

View solution in original post

0 Likes
7 Replies
Anonymous
Not applicable

the report from the compiler

   

    Pin : Name = mysignal1(0)

   

        Attributes:

   

            In Group/Port: True

   

            In Sync Option: SYNC

   

            Out Sync Option: AUTO

   

            Interrupt generated: False

   

            Interrupt mode: NONE

   

            Drive mode: HI_Z_DIGITAL

   

            VTrip: CMOS

   

            Slew: FAST

   

            Input Sync needed: True

   

            Output Sync needed: False

   

            SC shield enabled: False

   

            POR State: ANY

   

            LCD Mode: COMMON

   

            Register Mode: RegComb

   

            CaSense Mode: NEITHER

   

            Treat as pin: True

   

            Is OE Registered: False

   

            Uses Analog: False

   

            Can contain Digital: True

   

            Is SIO: True

   

            SIO Output Buf: NONREGULATED

   

            SIO Input Buf: DIFFERENTIAL

   

            SIO HiFreq: LOW

   

            SIO Hyst: ENABLED

   

            SIO Vtrip: MULTIPLIER_0_4_OR_1

   

            SIO RefSel: VCC_IO

   

            Required Capabilitites: DIGITAL, ROUTABLE, SIO

   

            Initial Value: 1

   

            IO Voltage: 0

   

        PORT MAP (

   

            pa_out => mysignal1(0)__PA ,

   

            fb => Net_2 ,

   

            pad => mysignal1(0)_PAD );

   

        Properties:

   

        {

   

        }

   

 

   

    Pin : Name = mysignal2(0)

   

        Attributes:

   

            In Group/Port: True

   

            In Sync Option: SYNC

   

            Out Sync Option: AUTO

   

            Interrupt generated: False

   

            Interrupt mode: NONE

   

            Drive mode: HI_Z_DIGITAL

   

            VTrip: CMOS

   

            Slew: FAST

   

            Input Sync needed: True

   

            Output Sync needed: False

   

            SC shield enabled: False

   

            POR State: ANY

   

            LCD Mode: COMMON

   

            Register Mode: RegComb

   

            CaSense Mode: NEITHER

   

            Treat as pin: True

   

            Is OE Registered: False

   

            Uses Analog: False

   

            Can contain Digital: True

   

            Is SIO: True

   

            SIO Output Buf: NONREGULATED

   

            SIO Input Buf: DIFFERENTIAL

   

            SIO HiFreq: LOW

   

            SIO Hyst: ENABLED

   

            SIO Vtrip: MULTIPLIER_0_4_OR_1

   

            SIO RefSel: VCC_IO

   

            Required Capabilitites: DIGITAL, ROUTABLE, SIO

   

            Initial Value: 1

   

            IO Voltage: 0

   

        PORT MAP (

   

            pa_out => mysignal2(0)__PA ,

   

            fb => Net_1 ,

   

            pad => mysignal2(0)_PAD );

   

        Properties:

   

        {

   

        }

   

    </CYPRESSTAG>

   

    <CYPRESSTAG name="Macrocell listing" icon="FILE_RPT_EQUATION">

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Welcome in the forum!

   

Can you post your complete project, so that we all can have a look at all of your settings? To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.

   

 

   

Bob

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hi, Bob

   

    my psoc 5lp project is in attachments.

0 Likes
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

How do you measure the input resistance? Just with a DMM? Are you sure, then, that you are not applying a reverse voltage to the pin?

   

Best way to measure is to use a DMM in current measurement mode to measure the actual current flowing in or out of the pin (just connect the DMM between the pin and GND / Vcc).

0 Likes
Anonymous
Not applicable

thank you for your reply.
i have measure the voltage and current.
i use 12.0(scl)pin as input pin
voltage:
12.0(scl)pin to GND: 4.84v
12.0(scl)pin to VDD: 0v
 
current:
12.0(scl)pin to GND: 1.25mA
12.0(scl)pin to VDD: -0.04mA

   

so the internal pull up resistor is: 3.872k to 5v

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Indeed have the port12 Pins 0 and 1 resistors on the board as shown in the -059 schematic, because these are the pins for I2C programming of the target chip.

   

 

   

Bob

0 Likes
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

When in doubt, look at the schematic 🙂

0 Likes