Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. I2C Communication

I2C Communication

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shakils
    wrote on last edited by
    #1

    Hi I am designing an amplifier where I've used I2C to communicate with two control circuit PICs (pic18f819) and then those PICs are also communicating to an-other PIC (same) via serdata serclck. The pull up voltage is 3.9 on one side of the pull-up resistors and appears 2.5 on the other side on I2c line while on ser line 2.5 on serdata and 0v on serclck. The PCB used to communicate but suddenly it is not communicating now. Is it because of 2.5 voltage appearing on I2C OR 0v on serclock OR thses pull up voltages drops dont matter ? can some one help please. I'm not sure about 2.5v on I2C and also what voltages are necessary for serdata/serclcl line ? kd

    P P L 3 Replies Last reply
    0
    • S shakils

      Hi I am designing an amplifier where I've used I2C to communicate with two control circuit PICs (pic18f819) and then those PICs are also communicating to an-other PIC (same) via serdata serclck. The pull up voltage is 3.9 on one side of the pull-up resistors and appears 2.5 on the other side on I2c line while on ser line 2.5 on serdata and 0v on serclck. The PCB used to communicate but suddenly it is not communicating now. Is it because of 2.5 voltage appearing on I2C OR 0v on serclock OR thses pull up voltages drops dont matter ? can some one help please. I'm not sure about 2.5v on I2C and also what voltages are necessary for serdata/serclcl line ? kd

      P Offline
      P Offline
      Peter_in_2780
      wrote on last edited by
      #2

      I really don't think our expert C/C++ programmers can help you with what is clearly a hardware problem.

      Software rusts. Simon Stephenson, ca 1994.

      1 Reply Last reply
      0
      • S shakils

        Hi I am designing an amplifier where I've used I2C to communicate with two control circuit PICs (pic18f819) and then those PICs are also communicating to an-other PIC (same) via serdata serclck. The pull up voltage is 3.9 on one side of the pull-up resistors and appears 2.5 on the other side on I2c line while on ser line 2.5 on serdata and 0v on serclck. The PCB used to communicate but suddenly it is not communicating now. Is it because of 2.5 voltage appearing on I2C OR 0v on serclock OR thses pull up voltages drops dont matter ? can some one help please. I'm not sure about 2.5v on I2C and also what voltages are necessary for serdata/serclcl line ? kd

        P Offline
        P Offline
        Parthiban
        wrote on last edited by
        #3

        I2C uses four basic clocks START, DATA, ACK and STOP. It is the combination of SDATA and SCLK. Check the impedance and threshold limit of chip to get signal. -Parthi

        1 Reply Last reply
        0
        • S shakils

          Hi I am designing an amplifier where I've used I2C to communicate with two control circuit PICs (pic18f819) and then those PICs are also communicating to an-other PIC (same) via serdata serclck. The pull up voltage is 3.9 on one side of the pull-up resistors and appears 2.5 on the other side on I2c line while on ser line 2.5 on serdata and 0v on serclck. The PCB used to communicate but suddenly it is not communicating now. Is it because of 2.5 voltage appearing on I2C OR 0v on serclock OR thses pull up voltages drops dont matter ? can some one help please. I'm not sure about 2.5v on I2C and also what voltages are necessary for serdata/serclcl line ? kd

          L Offline
          L Offline
          LittleYellowBird
          wrote on last edited by
          #4

          As others have stated you are in the wrong forum but anyway ..... if you are ever concerned about voltage levels in circuit you need to refer to the manufacturer's Data Sheet specifically the the Input Voltage thresholds. It will tell you the minimum voltage that is guaranteed to be recognised as a logic 1 and the maximum voltage that is acceptable as a logic 0. That should answer your question. Hope that helps :)

          Ali

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups