4 Replies Latest reply on Sep 2, 2020 9:02 PM by hata_3396041

    CY8C24123A SPI

    hata_3396041

      Hello

       

      Is it possible to use SPI with CY8C24123A?(8pin)

      If possible, which pin should be used for si/so/sclk connection?

       

      Best Regards

      Hayato

        • 1. Re: CY8C24123A SPI
          SampathS_11

          Hello Hayato-san,

           

          If you are using analog functions, kindly use P1[0], P1[1] and one pin from port 0. The SPI user module can be connected to any of the six GPIOs available in this device.

           

          Best regards,

          Sampath Selvaraj

          • 2. Re: CY8C24123A SPI
            hata_3396041

            Hello Sampath-san

             

            Thank you for your reply.

            Does it mean that si/so/sclk can be connected to any 6 pins of GPIO?

             

            In other words, SPI can be used without problems for 8PIN devices, and when using the analog function, select one from P1[0], P1[1], and port0 and use it.

             

            Is this understanding correct?

             

            Best Regards

            Hayato

            • 3. Re: CY8C24123A SPI
              SampathS_11

              Hello Hayato-san,

               

              Your understanding is correct. The reason why we select pins from Port1 is that, we can have two pins from Port0 for analog functions. Analog functions can be routed through Port0 pins only in this device. If you do not use analog functions, any pin can be used for SPI.

               

              Best regards,

              Sampath

              • 4. Re: CY8C24123A SPI
                hata_3396041

                Hello Sampath-san

                 

                Thank you for giving me a very easy-to-understand explanation!

                It was very helpful for me.

                 

                Best Regards

                Hayato