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

cross mob

Drive Multiple GPIO Pins Simultaneously in FX3™

Drive Multiple GPIO Pins Simultaneously in FX3™

Not applicable

How to write multiple GPIO pins simultaneously using the FX3 firmware?


In FX3 firmware, you can use CyU3PGpioSetValue () to set the GPIO value. FX3 has separate registers that control each GPIO and hence the CyU3PGpioSetValue () function can only write to one GPIO at a time. However, it is possible to update multiple output pins simultaneously using the GPIF II block. The GPIOs to be updated should be selected as output signals in the GPIF II project, and the DR_GPIO action can be used on each of these GPIOs to update their value in a single state. A maximum of eight GPIOs can be updated in this manner, and only pins that are mapped to the GPIF II control signals can be used for this purpose.



Version: **

Translation - Japanese: FX3™で複数のGPIOピンを同時に駆動 - KBA212557 - Community Translated (JA)