4 Replies Latest reply on Sep 1, 2020 12:07 PM by LePo_1062026

    internal GPIO connection

    user_4766916

      Hello,

      i am using Cy8c4125lqi-483 and cy8c4146lqi-s433 both, i want to connect 2 GPIO pins internally (i want to short them each other). Are these chips allow this process? If not, which chip i can use with the similar pin outs? Thank you for replies.

        • 1. Re: internal GPIO connection
          LePo_1062026

          user_4766916

           

          As you well know, you can connect GPIO pins externally.  This is not what you want to do.  You want to make an internal connection.

          Can you be more specific what type of internal GPIO connection do you want to do?

           

          Internal are possible in many cases but not all cases.  If we understand what you want to do, we might be able to suggest something.

           

          Len

          • 2. Re: internal GPIO connection
            user_4766916

            ı am using spi communication and i want to connect one pin to spi mosi pin for pull up

            • 3. Re: internal GPIO connection
              DennisS_46

              If you simply want a pull-up on the mosi pin, configure the pin as resistive pull-up in the Drive mode section.

              This can be done on a single pin, it doesn't take additional resources.

              If that's not your intent, then pins can be connected through the analog routing fabric. This must be done

              carefully as SPI takes adjacent pins, the process consumes the analog mux bus, and it adds significant

              switch resistance to the route.

              ---- Dennis

              1 of 1 people found this helpful
              • 4. Re: internal GPIO connection
                LePo_1062026

                user_4766916

                 

                If you were using the PSoC5 or PSoC3 or some PSoC4s, Dennis' recommendation is correct.  You can devote one GPIO pin for MOSI and MISO.

                 

                You are using the PSoC4100-series part.  This part has SPI resources as an SCB (Serial Communication Block).  Cypress chose to not allow digital IO routing of the MOSI or MISO as a combined GPIO pin. 

                 

                Because of this routing limitation for SCB function blocks, I believe you will have to make a external trace connection between the assigned pin for MOSI and for MISO.

                 

                Len

                1 of 1 people found this helpful