Maker Pro
Maker Pro

I2C 87LPC764

E

Erik Bakker

Jan 1, 1970
0
I'am experimenting with an Philips 87LPC764 and do need some examples of how
to drive the I2C. (with as much as could be possible interrupt driven)

My problem is that the device will not generate any interrupts, not on TI,
not I2C, not for DataReady not for anything. I do see that the MCU becomes
master, but that's it.

I got the interrupts turned on by EI2 = 1; EA =1; ETI=1;

Breakpoints on the interrupt service routines will just not fire!

Erik
Netherlands
 
E

Erik Bakker

Jan 1, 1970
0
Thanks Bill,

Although they merrely have polling routines without interrupts, I found that
I need to set the ports to OpenDrain, this immediatly gave me my interrupt.
From here it is a lot of coding but back to exiting work.

Thanks
 
Top