Pushing the limits of a PIC10F222


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Nov 2006
    Posts
    70


    Did you find this post helpful? Yes | No

    Default Good advice

    Thanks for the tips guys.

    Brian, I did some testing a long time ago and got the impression that the PIC10 did not retain RAM in deep sleep (WDT disabled etc). The drain from the EEPROM was a concern, but the system appears to be able to withstand it. I can do multiple reads and writes without going into sleep mode. So, I don't think voltage is a problem, but I think I will go back and do some basic testing again to get to the bottom of the RAM issue. As you say, if I can retain RAM data then I can eliminate a lot of code. Good guessing about those batteries.

    The Word variables are aliased using the EXT command. Read through these threads:
    Bits, Bytes Words and Arrays
    The EXT (external) modifier.

  2. #2
    Join Date
    Nov 2006
    Posts
    70


    Did you find this post helpful? Yes | No

    Default Acknowledge polling

    tenaja,

    I looked into acknowledge polling. I get the concept, but it seems way more expensive than a pause. You gotta have a loop with a shiftin or I2Cwrite command right? Is there a cheap way to do it? Am I missing something?

  3. #3
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    967


    Did you find this post helpful? Yes | No

    Default

    I am sure you will save a lot of room by doing it in ASM.

Members who have read this thread : 0

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts