This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cygnal 8051F000 I2C Example Program from keil

Hi,
I included Cygnal 8051F000 I2C Example Program from keil in my current project.
The code work properly but when I enable
interrupt I code get hang up after some interval.
if I make EA=0 and call I2C routing and after exceuting the I2C ruting I make EA=1;
than program run properly
best regards
satish munot

  • I included Cygnal 8051F000 I2C Example Program from keil in my current project.
    The code work properly but when I enable
    interrupt I code get hang up after some interval.
    if I make EA=0 and call I2C routing and after exceuting the I2C ruting I make EA=1;

    I have no idea what code you refer to since you did not have the energy to provide a link, get some rest and when rested enougth do so.

    Since I have no idea what you are talking about, here is a guess: if you use polling code with interrupts enabled, of course you will hang.

    There are IIC examples on the SILabs website, why use 'universal' code when a specific optimized code is available.

    Erik