Many thanks for reading this
message.
Does anyone have info about
initialisation of the SFRegisters inside the PIC16C62A to exchange data via the
IIC protocol to a 24C64 EEPROM.
In my first PIC project I used the
IIC protocol to send data to a PCF8576 LCD-display controller.
I did it "the software way"
so I didnot use the SFR-registers inside the PIC.
I would like to exchange data using a
clock frequency from about 50 or 75 kHz.
I only have to send and receive data
from this EEPROM device, there are no other
IIC devices on my board. The PIC is
always MASTER and the 24C64 is always SLAVE.
So my questions are:
- how do I send a byte from MASTER to SLAVE , and checking
the
acknowledge impulse from
the slave device
- how do I read a byte in the slave-device
- after reading how do I generate an acknowledge impulse or a
so called
no-acknowledge
impulse
ALL THIS USING THE HARDWARE
IMPLEMENTED IIC REGISTERS
Many thanks in advance for any
reactions on my question.