We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Does anybody have working example of driving PCF8574 for C8051F330?
The PCF8574 neither knows nor cares what microcontroller you use - so how to drive it does not depend on what microcontroller you use.
For details of how to drive the PCF8574, see it datasheet.
Similarly, the I2C features of the microcontroller don't change according to what peripherals are on the bus.
For details of the C8051F330 I2C features and how to use them, see the manufacturer's documentation.