Connect with us

what is sda setup time violation in eeprom interfacing with PIC18F452?

Discussion in 'Microcontrollers, Programming and IoT' started by billy2tom, Sep 25, 2010.

Scroll to continue with content
  1. billy2tom


    Sep 25, 2010
    I interfaced 24c64 with PIC18F452 and i simulated in Proteus.
    I am getting error message as sda setup time violation.min time is 600ns.
    what should i do?
  2. Militoy


    Aug 24, 2010
    The 24c64 uses an extended I2C addressing protocol. It sounds like your setup of the I2C bus is resulting in an overlap of the falling edge of the serial data (SDA) pulse and the rising edge of your serial clock (SCL) pulse. Some programmers automatically add a clock stretch period after the acknowledge clock pulse - to prevent I2C bus conflict.
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