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

Not getting interupt

Hi all,
I am using KEIL UVISION for my application. I am trying to enhance I2C module of the same. I have initialized it in Master transmitter mode. When I first time transmit START command by setting STA in I2C register at that time my program execution jumps to ISR for I2C. But after clearing SI flag it does not go back to ISR for I2C when SI flag is set again...

Can anybody suggest where I may be wrong?
Thanks
Harisingh Rajput

Parents
  • "I am trying to enhance I2C module of the same"

    There is no such thing!

    uVision is applicable to all the chips supported by all Keil toolsets:

    http://www.keil.com/dd/
    http://www.keil.com/product/

    So there is no such things as "the" I2C module!

    You must have code for a specific processor - or, at least, a specific range of processors.

    The question is meaningless without knowing what processor(s) you are talking about.

    Also, if it is (based on) a piece of published code, then give a link to that code.

Reply
  • "I am trying to enhance I2C module of the same"

    There is no such thing!

    uVision is applicable to all the chips supported by all Keil toolsets:

    http://www.keil.com/dd/
    http://www.keil.com/product/

    So there is no such things as "the" I2C module!

    You must have code for a specific processor - or, at least, a specific range of processors.

    The question is meaningless without knowing what processor(s) you are talking about.

    Also, if it is (based on) a piece of published code, then give a link to that code.

Children