24lc1025 24lc256 external memory


Closed Thread
Results 1 to 4 of 4
  1. #1
    JAY.M's Avatar
    JAY.M Guest

    Default 24lc1025 24lc256 external memory

    Hello, I would like to know if PicBasic Pro and 16f819 would work with a 24lc1025
    before I order the external memory.

    I have seen examples for the 24lc256, But nothing for the 24lc1025

    I can use a different Pic if needed, but need to use the 24lc1025

    If I have to, I can use four of the 24lc256's, But that would take more Pic pins
    and more physical room

    THANKS!

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    Yes, pretty much most PICs that support PICBasics I2CREAD & I2CWRITE will work with the 24LC1025 - that includes the 16F819.

    Just for your information, EIGHT of the 24LC256's (or four 24LC1025's) will use the same number of PIC pins as just one... Two pins, SDA and SCL. The addressing of which chip you are using is done with the Control Byte you squirt down the bus and how you assign the A0 and A1 (and A2) pins on each EEPROM.

    You MUST download the DATASHEET for the 24LC1025, and there on Page 7 (5.0 Device Addressing) it tells you EXACTLY the byte sequence you need to send to address the chip.

  3. #3
    Join Date
    Feb 2008
    Posts
    8


    Did you find this post helpful? Yes | No

    Default Looking for the Hexa Adressing on a 24lc1025

    i have a blank here
    looking for the address to use I2C programming when pin 1 and pin 2 is tied to ground and pin 3 is tied to VCC.

    i am looking for the address in HEXA please!

    i know it's $A0 for lower block and $A8 for upper block (if my memory is correct!)

    Maybe my problem comes from the 4.7k, shoud i drop them to 2.7k?

    thanks
    Last edited by Tondunard; - 23rd October 2010 at 02:39.

  4. #4
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default

    You should use control address $A0 for write and $A1 for read (for lower), while (for upper) $A8 for write and $A9 for read.

    Read page 84 of PBP manual for the defines that suit your application.

    Cheers

    Al.
    Last edited by aratti; - 23rd October 2010 at 08:00.
    All progress began with an idea

Similar Threads

  1. Fast External Memory
    By prstein in forum mel PIC BASIC Pro
    Replies: 35
    Last Post: - 19th March 2010, 01:58
  2. external Memory
    By jerryf in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 29th November 2008, 02:06
  3. PBP/PBPL and external memory
    By Charles Linquis in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 11th November 2007, 05:31
  4. PBP External Memory Bus Support
    By ALFRED in forum mel PIC BASIC
    Replies: 4
    Last Post: - 25th December 2006, 08:42
  5. external memory
    By docwisdom in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 15th April 2006, 00:51

Members who have read this thread : 0

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