starting with I2C read/write devices addressing


Results 1 to 4 of 4

Threaded View

  1. #2
    Join Date
    Sep 2009
    Posts
    755


    Did you find this post helpful? Yes | No

    Default Re: starting with I2C read/write devices addressing

    Bit 0 is RW bit, and PBP set it automatically.
    Your device address is $A0 and $D0.
    For RTC address variable MUST be byte, for your EEPROM address MUST be word. This is because PBP will send 8 or 16 address bits depending on what type variable is used, as far as I know. And RTC expect 8bit address, EEPROM 16bit.
    64K eeprom is not 64KB it is 64Kbit, which is 8192 bytes.
    Last edited by pedja089; - 18th July 2016 at 13:31.

Similar Threads

  1. I2C Write & Read
    By dallowgill in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 15th June 2011, 00:06
  2. I2c write&read
    By MINHLE in forum General
    Replies: 15
    Last Post: - 6th January 2010, 00:13
  3. I2C Read and Write
    By DerekMacom in forum mel PIC BASIC
    Replies: 14
    Last Post: - 21st April 2008, 16:44
  4. A help with Write/Read a I2C memory
    By Eugeniu in forum mel PIC BASIC Pro
    Replies: 25
    Last Post: - 28th March 2008, 14:53
  5. Internal EEPROM Read/write Addressing Errors with 18F PIC's
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 18
    Last Post: - 12th July 2005, 20:42

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