I2C Slave with a PIC


Results 1 to 40 of 130

Threaded View

  1. #16


    Did you find this post helpful? Yes | No

    Default

    I played all night with a 16F88 as a master and a 16F877 as a slave (the other way around I was playing these days)...

    I can send commands to the slave (16F877) and this is working fine, but something is wrong because I cannot read from the slave.

    I mean, I can read from the slave, but I'm not getting the value I wanted. For example, I'm supposed to read 12, but I'm reading 1.

    The code is the same I'm using for the 16F88 as a slave, so, that code is working fine. This is really strange.

    PS: today is my birthday, and it's almots 7am and I need some sleep... I'll continue later in the afternoon...
    Last edited by DanPBP; - 14th March 2009 at 09:40. Reason: more info added

Similar Threads

  1. Problem with PICto PIC I2C MASTER-SLAVE
    By juanen19 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 11th June 2013, 03:58
  2. PIC as I2C Slave
    By Mainul in forum General
    Replies: 4
    Last Post: - 5th January 2013, 14:23
  3. I2C Slave, config Vref - + in pic with ADC
    By sebapostigo in forum PBP Wish List
    Replies: 4
    Last Post: - 5th March 2007, 04:21
  4. Pic as an i2c slave
    By Robert Soubie in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 25th January 2007, 22:11
  5. Use pic as slave in I2C
    By robert0 in forum General
    Replies: 2
    Last Post: - 3rd February 2006, 20:26

Members who have read this thread : 2

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts