1 Reply Latest reply on Dec 9, 2019 11:11 PM by RashiV_61

    Is it possible to boot FX3 from SPI, then later switch the pins to 32-bit GPIF?

    GrCa_1363456

      The Hardware SPI port is not available when using 32-bit GPIF.

      I understand there is a Software SPI option explained @ FX3 use of SPI and 32 bits words GPIF

       

       

      Is it possible to boot the FX3 from Hardware SPI, and sometime later switch the pins to 32-bit GPIF?

      If so, is it also possible to switch back to 16-bit GPIF with SPI in order to access the SPI device(s)?

       

      Are there any examples available?

       

      Thank you in advance for your support.

      Greg

        • 1. Re: Is it possible to boot FX3 from SPI, then later switch the pins to 32-bit GPIF?
          RashiV_61

          Hello Greg,

           

          Please refer to this thread 32-bit GPIF and SPI boot

          The booting can be done with 32-bit GPIF as SPI boot is determined by the PMODE line status and not he io matrix configuration.

           

          - Yes you can change io matrix configuration to 16 bit and enable the SPI when device need to communicate with SPI devices and set this io matrix configuration.

           

          - If you don't want to switch between the io matrix configurations. You can do bit banging and use the UART Pins [53:56] for SPI. Please refer to the spigpiomode example in the SDK 1.3.4. But the SPI will not have the same performance as the default one.

           

          Regards,

          Rashi

          1 of 1 people found this helpful