Microchip PIC I2C demonstration code using stand-alone I2C module (not MSSP) of PIC18F57Q43 Curiosity Nano development board.

Job ID: 31927547

Budget: £20 – £250 GBP

XC8 C code, MCCP code configurator project. Read and Write to any Slave I2C device.

Equipment required:
PIC18F57Q43 Curiosity Nano development board. (DM164150) or other suitable development platform - Please State in offer.
any i2c slave device to talk to.
Microchip MPLab development envoronment with XC8 compiler.

Deliverables:
XC8 C code.
MCCP based code configured project.
a demo project which I can program and run to show read/write to I2C device based on the stand-alone I2C module in this PIC18F device.
Support to get this working on my development platform.

Background:
On previous devices, I have used MSSP and foundation Library code to implement I2C Master.
On PIC18F57Q43 there is a dedicated I2C peripheral. When I create MCCP I2C code, the SCL and SCA lines go low at the same time and the code hangs. I need a working example of how to configure and use this peripheral.