Hi Rajender,
[Q] My question is, can we access all 24 GPIO simultaneously i.e., can we turn all the LEDs turn on or off at a time or can we access them only serially? please clarify this for both parts i.e., GPIO expander and LED driver ICs.
[A] If you need to only turn off and turn on all of the 24 GPIO simultaneously, it is possible with both the PCAL6524HE GPIO expander and also with our LED drivers.
In the PCAL6524HE all the GPIO are set as inputs. You can set them as outputs with the autoincrement function by the registers configuration port registers, thus turning on the LEDs.
JozefKozon_2-1647261937749.png
JozefKozon_1-1647261835420.png
JozefKozon_0-1647261761275.png
In the same registers you can set the ports to high-impedance input, thus turning off the LEDs.
JozefKozon_3-1647262149338.png
Similar way you can turn on and turn off the LEDs in our LED drivers with the auto-increment function if I2C interface is used or if SPI interface is used, all the registers can be written in one loop. On top of software control, the LED drivers have OE! pin, which can be used to turn on or turn off all the outputs at the same time, without using software control.
JozefKozon_4-1647262435984.png
Please refer to section 1. in the PCA9956B datasheet.
With Best Regards,
Jozef