2 Replies Latest reply on Aug 18, 2017 1:08 PM by sandy_bk_1588201

    Disbaling SPI

    sandy_bk_1588201

      Hi,

         

      I have a Fx3 board connected to FPGA and on boot, we download FPGA image through SPI interface. In firmware, we disable SPI interface through CyU3PDeviceConfigureIOMatrix() once FPGA download is completed. I need to pull up GPIO54 (which is used by SPI)but disabling SPI and pulling up GPIO54  using CyU3PDeviceConfigureIOMatrix() API puts GPIO 54 in tristate for around 600 usec which FPGA doesnot like.

         

      Is there a way i can pull up this line GPIO 54 before disabling SPI. I tried calling CyU3PGpioSetSimpleConfig() but it returns failure as GPIO is used by SPI? 

         

      If not...

         

      Is there a way i reduce this time? 

         

       

         

      Thanks in advance