Simple I2C question.

Simple I2C question.

Postby peterg1000 » Mon Mar 21, 2016 6:58 pm

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.
peterg1000
 
Posts: 4
Joined: Fri Feb 05, 2016 1:02 pm
PIC experience: Experienced Hobbyist

Re: Simple I2C question.

Postby ric » Wed Mar 23, 2016 2:58 pm

Latest test project, an LED matrix display made from one reel of addressable LEDs. here
User avatar
ric
Verified identity
 
Posts: 434
Joined: Sat May 24, 2014 2:35 pm
Location: Melbourne, Australia
PIC experience: Professional 5+ years with MCHP products


Return to SSP (IIC, SPI)

Who is online

Users browsing this forum: No registered users and 1 guest