Hello Bhavin,
You may refer to the TWR-K20_MMA8451Q_BasicReading sample project attached to this response.
This sample project for CodeWarrior performs a basic reading of the MMA8451Q accelerometer included on the TWR-K20D72M. You can use the I2C.c and I2C.h files in order to read and write to the PCA8565TS.
Please be aware that pull-up resistors must be placed at the I2C lines.
I hope this information will be useful for you.
If I misunderstood your question, feel free to let me know. I will be glad to help.
Have a great day.
David Diaz.
PS: If my answer helps to solve your question, please mark it as "Correct". Thank you.