Hi Team
I am confused about PCA9570 I2C write read, about the data1.
![Jay_Zhu_0-1614929452419.png Jay_Zhu_0-1614929452419.png](https://community.nxp.com/t5/image/serverpage/image-id/138855iE26D98F24D2FF2A2/image-size/medium?v=v2&px=400)
As the Figure shown, Host need address PCA9570 firstly, and then send data1,data2.
So that's a question here, what the data1 make sense?
Is data1 Pin Mask?
I tried to enable P0 and I send 0x48 + 0xff + 0x01. P0 is enabled.
But 0x48 + 0x01. Can not enable.
And 0x48 + 0x01 + 0x01. enabled also. And I see P0 has a shake , P1 too.
So I don't know what data1 need to be?
![Jay_Zhu_1-1614929856688.png Jay_Zhu_1-1614929856688.png](https://community.nxp.com/t5/image/serverpage/image-id/138858iC87B9C19989EB3F7/image-size/medium?v=v2&px=400)
Then the read reg, I will send 0x49 + data1?
data1 is port pin? like 0x01 means P0?
And what the data from PCA9570 means? All of pins' status? or just the data1 reponse pin I sent .