Runtime change of GPIF/PPort during runtime in FX3 | Cypress Semiconductor
Runtime change of GPIF/PPort during runtime in FX3
In my FX3 application, I need to have present two modes of PPort, one of them active at a time.
Actually in the start I need an FPGA programm ing I/F (master FIFO 16-bit) and as soon as the FPGA was succesfully programmed switching to data mode (slave FIFO 16-bit), going back again to the first mode to have FPGA in powerdown mode (and restart this usage cycle again later). During these modes, I need to have I2C, SPI, GPIOs etc. active.
In the Cypress examples, the GPIF/PPort is loaded in the application init and then left unchanged. How is runtime change of GPIF/PPort during runtime established? Is there any documentation/example I'd missed up to now? Is the statemachine just reloaded or is there an "unload" command? What else needs to be stopped and reloaded again (DMA or even USB socket)?