Shop OBEX P1 Docs P2 Docs Learn Events
storing and running selected freq values — Parallax Forums

storing and running selected freq values

datacpsdatacps Posts: 139
edited 2007-07-23 01:16 in General Discussion
······ I am a newbie and I looked at he SX/B help and the best threads and SX/List. Perhaps I may have overlooked something but I need to be able to select a freq Value then store it so I can run it in a set of frequencies.· In other words I want to be able to select ten different values by·turning my encoders to the selected frequency.
Then push a button to store that value.
Then when I pick the ten I want to run,·I press another button·to·run the ·Autorun sub and run those frequencies for the predertermined time.
·The selected freq won't change that·often so I think I can use the eeprom in the SX.
Could the SX work this way or should I just use the·FRAM chip?
My freqout, and encoders, and the LCD display,,,, ECT.. Work perfect
thanks to the everyone·who has helped me on this site.
·· I am at the last part of my project and decided that I need to be able to select,·store, and run·different frequencies values depending on the application it will be used for.
I am out of RAM but I·can change one of the subs and word VAR·if I have to.
If this can't be done then I will·have to use the FRAM chip.
Thanks··rolleyes.gif

Comments

  • JonnyMacJonnyMac Posts: 9,215
    edited 2007-07-22 23:40
    You can't store in the SX's memory during run time; you'll have to go external. You could use a FRAM, or a small, very inexpensive I2C memory -- the help file shows how to connect to an I2C EEPROM.
  • datacpsdatacps Posts: 139
    edited 2007-07-23 00:24
    Thanks Jonny thats what I thought. I thought I would ask incase I missed something .... I will use the FRAM Chip.. I think the eeprom 24LC32A is used the same way as the fram chip.. The Fram Chip is SMD and I can't test it. Could I use the eeprom for testing? The 8 DIP will just pop into the PDB,,, and it would be a lot easier to develop the code that way.. I think I read in the best threads that all the memory chips work the same ,,, (The Serial chips I mean)
    Thanks again Jonny
  • JonnyMacJonnyMac Posts: 9,215
    edited 2007-07-23 01:16
    I *believe* the FRAM interface mimics a standard I2C EEPROM -- but you need to check the data sheets of both; if it does, use a 24LC32 (or similar) for testing, then switch to the FRAM if you feel that's what your project needs. The only reason, I believe, is a lot of writes to the EE which doesn't seem to be the case with your project.
Sign In or Register to comment.