In my application, I need to reconfigure the IO matrix on the fly when switching from an alternate setting to another. While I know this is possible and manage to get it working, I always make sure that it occurs after all the IO interfaces have been deinitialized. However, I am now require to maintain the GPIO state across these reconfigurations of IO matrix. Note that my GPIO configuration does not change across reconfigurations. So I post here to know whether there is a problem to keep the GPIO interface initialized across reconfiguration, i.e. not to call CyU3PGpioDeInit() before the reconfiguration. I am only speaking of "simple" GPIOs (no PWM, etc.).
There should be no problem in not calling the GpioDeInit.
- Madhu Sudhan