Using the DS1302 scratchpad RAM ?


Closed Thread
Results 1 to 1 of 1
  1. #1
    Join Date
    Jan 2005
    Posts
    21

    Default Using the DS1302 scratchpad RAM ?

    I am Trying to store and read 5 bytes into the ds1302 ram. But not having any success get the format right.
    My code works fine if I use the pic's eprom for storing and reading the data, but using the 1302 ram has the data all screwed up!

    Has anyone ever used the "Ram" of the ds1302 for storing variables?

    The code is based around "CocaColaKid's" example of the 1302

    Any brave enoff to look at my code and give suggestions? As I'm out of ideas.

    PS; I have bypassed the Set Time routine to save a few keystroke while im debuging the ram R/W routine ( the clock is working anyway )

    Kman
    Attached Files Attached Files

Similar Threads

  1. real time clock
    By maria in forum Code Examples
    Replies: 44
    Last Post: - 1st March 2022, 12:13
  2. DS1302 16F628 Woes
    By idtat in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 15th January 2009, 14:15
  3. On-Chip RAM
    By DaveC3 in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 28th July 2008, 10:16
  4. 1-wire read Scratchpad
    By Slick in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 4th March 2005, 12:18
  5. 18f452 tables in ram - code?
    By rshanks in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 1st October 2004, 05:06

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