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

I2C Simulation

Hi, I’m designing a micro system on an ADuC842 with I2C communications between ICs. I using Keil to design and debug my code but I’m having trouble interpreting the display from the I2C interface window. I wrote code for a slave device and used Keil I2C interface to communicate with it successfully but I can’t tell if my master code is working or not because the interface window confuses me.
I would be very grateful if someone could help me out and explain how to verify that my master code is working, as in what does the window do when you successfully communicate with it?
Thanks,
Donagh

Parents
  • What do you mean too implementations? Master and slave?

    if you read my post you would see "different implementations of hardware I²C" so, of course, I am not talking about master and slave.

    if the Keil simulator can simulate a F1xx It definitely can not simulate a f3xx.

    I have no idea if the AD implementation follow the "668" implementation, which I'd guess is what Keil support.

    even the chips that follow the "668" implementation have subtle differences.

    You really like the word derive don’t you.
    from what do you derive that? :)

    I do not use 'derive' a lot but I do, since it makes a whole lot of difference, often ask "wahat derivative"

    Erik

Reply
  • What do you mean too implementations? Master and slave?

    if you read my post you would see "different implementations of hardware I²C" so, of course, I am not talking about master and slave.

    if the Keil simulator can simulate a F1xx It definitely can not simulate a f3xx.

    I have no idea if the AD implementation follow the "668" implementation, which I'd guess is what Keil support.

    even the chips that follow the "668" implementation have subtle differences.

    You really like the word derive don’t you.
    from what do you derive that? :)

    I do not use 'derive' a lot but I do, since it makes a whole lot of difference, often ask "wahat derivative"

    Erik

Children