accessing fram memory


Results 1 to 9 of 9

Threaded View

  1. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    your adress must be 8 bits long.. not much. And you don't need to change you control word... PBP will do it for you.

    also refer to your datasheet about the Twrite delay. some will need few milliseconds before the write cycle is finish.

    so try
    Code:
    i2cwrite sda, scl, %10100000, 0, [5]
    pause 10 ' safe delay
    i2cread sda, scl, %10100000, 0, [circunferencia]
    Last edited by mister_e; - 8th March 2005 at 06:42.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Fram Memory
    By MARGARITA in forum Serial
    Replies: 5
    Last Post: - 1st October 2008, 13:30
  2. Need the code to write to a memory
    By Hamlet in forum General
    Replies: 0
    Last Post: - 20th August 2007, 00:22
  3. Replies: 4
    Last Post: - 2nd March 2007, 06:12
  4. sample code for M25P32
    By Pedro Santos in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 9th January 2007, 02:37
  5. Use internal program memory like DATA memory
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 30th December 2006, 18:38

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