1 Reply Latest reply on Jan 25, 2016 3:38 AM by dave.bryan

    Bit bash GPIOs at start-up then configure as GPIF-II ?

    dave.bryan

      Hi,

         

      Can I use GPIOs at start-up as bit bashed outputs to configure a FPGA in 16-bit parallel mode then switch to using the same GPIO pins in slaveFIFO mode ?

         

      The header file Cyu3system.h has the following note above the CyU3PDeviceConfigureIOMatrix() declaration which suggests I can do the above but any clarification would be very helpful:

         

      "It is recommended that this function be called immediately after the CyU3PDeviceInit call from the main () function; and that the IO matrix not be dynamically changed. However, this API can be invoked when the peripherals affected are disabled."

         

      Thanks

         

      Dave