Connect with us

I2C 87LPC764

Discussion in '8bit Microcontrollers' started by Erik Bakker, Dec 2, 2003.

  1. Erik Bakker

    Erik Bakker Guest

    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
     
  2. Erik Bakker

    Erik Bakker Guest

    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
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-