PCA9698

Are you using one of these?
I2C-XIO: I2C 40-Channel Digital I/O Expander
MRB-XIO: 40-Channel MRBus Digital I/O Node

With code from here?
XIO Arduino Library and Examples