I2CRead problem


Results 1 to 10 of 10

Thread: I2CRead problem

Threaded View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,795

    Default I2CRead problem

    Very strange problem.

    Executing an I2CRead command does only I2CWrite as it is shown on the Logic capture.

    This is my test code for an 24C64 EEPROM

    Code:
    DEFINE I2C_SLOW 1
    b1  var byte
    b2  var byte
    addr VAR word
    cont CON %10100000
    data_pin  var porte.0
    clk_pin     var porte.1
    
    addr = 0
    ' Read data at address 0 into B1,B2
    I2CREAD data_pin,clk_pin,cont,addr,[b1,b2]
    stop
    Any ideas?

    Ioannis
    Attached Images Attached Images  

Similar Threads

  1. Problem with I2Cread command for an 32 bits ADC
    By Pilou81 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 27th October 2011, 16:32
  2. Need help to get I2CRead woriking
    By w7ami in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 29th November 2007, 17:22
  3. Problem with I2Cread and I2CWRITE function
    By Tony85 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 6th June 2006, 21:03
  4. Problem with I2Cread and I2CWRITE function
    By Tony85 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 6th June 2006, 19:32
  5. I2CRead / I2CWrite Problem?
    By koossa in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 31st October 2005, 19:26

Members who have read this thread : 1

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