I2C Slave with PIC24F16KA301/302/304

An area to discuss 16-bit PIC specific problems and examples

Moderator: Benj

Jörg Güldner
Posts: 71
Joined: Wed Jun 22, 2011 3:32 pm
Has thanked: 16 times
Been thanked: 5 times

I2C Slave with PIC24F16KA301/302/304

Postby Jörg Güldner » Wed Jan 10, 2018 7:00 am

I need to fix a problem in replacing a 16 bit IO I2C with a controller.
The Master sends at 100 kHz without time-out:
chip-address + R/W -/- register-address -/- databyte
In this case, the pic24 has about 50us to receive and process the data.
In which way I have to handle the received data? Are there any interrupts?
I`ve got no entry “I2C-slave” in the interrupt-box.
What is the most decent way to solve receiving data as I2C-slave?

Best regards

problem is fixed here: