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

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
DaBr_659386
Level 3
Level 3
10 replies posted 10 questions asked 5 replies posted

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

0 Likes
1 Reply
DaBr_659386
Level 3
Level 3
10 replies posted 10 questions asked 5 replies posted

I think I've answered my question. I just found the FX3 FPGA configuration app note which shows the I/O matrix being reconfigured after configuring the FPGA albeit using a different configuration mode. Gives me the confidence to go ahead and get some PCBs made.

0 Likes