I2C DEGGUER PROTEUS SIMULATION ISSUES

Discussion in 'Embedded Systems and Microcontrollers' started by Kkein, May 10, 2015.

  1. Kkein

    Thread Starter Member

    Jun 10, 2011
    46
    0
    I have a problem simulating without an I2C Debugger connected. My circuit consists of
    1. MCU is pic16F877A
    2. Clock speed of 20MHz
    3. I2C speed of 100KHz
    4. First EEPROM Slave Address - 0xA0
    5. Second EEPROM Slave Address - 0xA6
    With the I2C Debugger connected (as shown in the attachment), everything works fine. However, when I exclude the I2C debugger from simulation, the Master MCU receives 'NACK' instead of 'ACK'. This result in 'Write' to EEPROM being aborted.

    Has anyone comes across this problem before? Or must the debugger be connected for the simulation to work correctly?

    Any help is highly appreciated. Thanks.
    [​IMG]

    [​IMG]
     
  2. DerStrom8

    Well-Known Member

    Feb 20, 2011
    2,428
    1,328
    This may or may not be related to the issue you're having, but is your copy of Proteus legitimate (did you actually buy it), or is it a cracked copy?
     
Loading...