• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Microcontrollers » MSP430™ Microcontrollers » MSP430 Ultra-Low Power 16-bit Microcontroller Forum » PIC replacement with EEPROM???
Share
MSP430™ Microcontrollers
  • Forum
  • Announcements
  • E2E Wiki
Options
  • Subscribe via RSS
MSP430 Resources
  • MSP430 Product Folder
  • MSP-EXP430G2 - MSP430 LaunchPad Value Line Development kit
  • MSP430 Getting Started Guide
  • MSP430 Microcontroller Projects
  • More Resources >
  • Forums

    PIC replacement with EEPROM???

    This question is not answered
    Amy Garcia
    Posted by Amy Garcia
    on Mar 02 2011 18:19 PM
    Expert1490 points

    I don't think this exists, but I have a customer who is looking to replace his fairly large 16 bit PIC (256k Flash, 60 I/O) with an MSP430. The one thing he needs but doesn't have is writable EEPROM.  Any recommendations?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Clark Molster
      Posted by Clark Molster
      on Mar 02 2011 19:26 PM
      Expert5425 points

      Hi Amy,

      EEPROM is old technology and should be a non-issue.  We use small (64B and 128B) 'INFO' flash segments in place of EEPROM, which reduces the cost of manfacturing.  Offer the MSP430F5438.  This chip provides better performance and much lower power than the PIC device.  Futher, the MSP430's superior architecture results in tighter code, hence more efficient use of flash for code space.

      Hope this helps.

      Regards,

      Clark

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jens-Michael Gross
      Posted by Jens-Michael Gross
      on Mar 03 2011 12:32 PM
      Guru139970 points

      Hi Amy,

      The MSP430 series can reprogram itself during code execution. So there is no need for a separate EEPROM (which is very costly compared to Flash). All of the MSPs flash memory (if not used for the program itself) can be used for dynamical data storage. For convenience, however, all MSPs have teh mentioned info section which consists of 2 to 4 small Flash segments outside the normal program memory.

      There is, however, one thing that's different: while the EEPROM usually can be directly written to more or less randomly, flash cells can only be written to once, then they need to be erasded. So if the program does not sequentially write to the flash space but wants to overwrite/update already written cells, it needs to read the whole flash segment, erase it and write the buffered data back, including the change. This is why the info segments are smaller (64 or 128 bytes) than the program flash (512 bytes).

      So maybe the data storage strategy needs to be slightly changes (e.g. fill the segment sequentially, then erase it and begin from start, rather than just writing at the same location all the time).

       

      _____________________________________
      Before posting bug reports or ask for help, do at least quick scan over this article. It applies to any kind of problem reporting. On any forum. And/or look here.
      If you cannot discuss your problem in the public, feel free to start a private conversation: click on my name and then 'start conversation'. But please do so only if you really cannot do it in a public thread, as I usually read all threads. And I prefer to answer where others can profit from it (or contribute to it) too.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • John Todd
      Posted by John Todd
      on May 01 2012 18:29 PM
      Prodigy10 points

      Clark get with

       me on planochurch2011@att.net

      Church Website - planochurchofgod.org

      check us out

      Thanks

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lenio Cacula
      Posted by Lenio Cacula
      on May 01 2012 21:20 PM
      Intellectual1920 points

      Another advantage of the MSP430 is that most of the 16-bit PIC24 depend on an external EEPROM for storing non-volatile data. Besides the obvious penalty of material and processing cost, the external EEPROM is susceptible to noise and have the nasty tendency of clamping down Vcc, preventing the whole system from operating. Another problem is when the I2C package to the EEPROM is not complete with an acknowledgment, a lengthy reset routine becomes necessary to get it back to operation. In that perspective, the erasing of the block before writing to flash is a minor shortcoming easily handled with a well published routine in C (examples readily available in CCS).


       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use