Page 1 of 1

Simple I2C question.

PostPosted: Mon Mar 21, 2016 6:58 pm
by peterg1000
I'm just getting familiar with I2C data transmission, and it seems that the embedded hardware support in 18F parts does not generate an interrupt when the data buffer is empty on transmit or full on receive.

Am I missing a trick or is it necessary to look at the ACK situation to see if it is time for new data to be written or read. Alternatively I suppose clock pulses could be counted to achieve the same end and generate an interrupt into the bargain. How do other users cope with this hardware shortcoming.

Any other suggestions gratefully received.

Re: Simple I2C question.

PostPosted: Wed Mar 23, 2016 2:58 pm
by ric