I'm using a Pic16f628 , a PCF8524 to drive some Leds and a 24c08
Now i added a PIC16F88 to use its hardware I2c.
At this point everything ok reading and writing on I2c bus.
Problems arise when i set the interrupt on PORTB on pic16F88.
I thought about SCL pin (PORTB4) wasn't affected by interrupt because used by I2C Hardware but i get interrupt everytime the other Pic read or write on I2c network BUT i want an interrupt only on the three left pins of portB.
I2c hardware does not overrides PORTb interrupt so PORTB4 (SCL) is a normal input port like PORTB.5/6/7.
Am I missing some register settings?
I set :
CMCON=$07
ANSEL=0
ADCON0=0
SSPCON=%00100000 'MASTER I2C
Thanks.
Roberto
Greetings from 2006 Winter Olympic City
Bookmarks