Hi everyone,

currently I use the I2C regular 'bit-banging' method from PBP on a PIC18F25K22

with instruction like 'I2Cwrite PORTB.2, PORTB.1,$A0,I, [str aarray\32]'

and looking to upgrade to a 24FC16 at 1Mhz, to acheive this I need to use the MSSP hardware function

and I'm having problem on how to figure it at all.

I looked at the AN989 and the code are listed in ASM, and I'm asking peoples here with more experience on this field

if it's possible to write in basic code instead of ASM to acheive this and where to get clear commented sample code

so I can learn & build this project on I2C.

Thanks to anyone help on this project.