• 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 » Clocks & Timers » Clocks & Timers Forum » CDCE72010 EEPROM Write
Share
Clocks & Timers
  • Forum
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

CDCE72010 EEPROM Write

This question is answered
Aaron Byman
Posted by Aaron Byman
on Apr 18 2012 07:56 AM
Prodigy100 points

Hello,

I can successfully write the CDCE registers via the SPI bus. However when I try to write these to the eeprom I can't get them to stick. After issuing the write-eeprom command and a power cycle the original values are found.

According to the 0xB bit 26 the eeprom is unlocked, so this should not be an issue. Is there something that I am missing? Is the write - eeprom command as specified in the data sheet? 0x1F?

Thanks for any help.

-Aaron

CDCE72010 eeprom
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Matt Sunna
    Posted by Matt Sunna
    on Apr 18 2012 09:33 AM
    Expert3240 points

    Hi Aaron,

    It looks like you are using the correct command to write the EEPROM. After issuing the write EEPROM command, do you allow 50ms without using the SPI or cycling power for the EEPROM contents to be loaded?

    Best regards,

    Matt

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Aaron Byman
    Posted by Aaron Byman
    on Apr 19 2012 01:46 AM
    Prodigy100 points

    Hello Matt,

    No in fact I was not waiting 50ms. Thanks for the tip. However, since fixing this, I am getting all zeros from the registers after powerup. Only the 0xB bit 27 is high. This is, BTW, with the ads62p48 evm. 

    My spi interface is implemented with a bit-bang register. Thus the waveform is not necessarily perfectly synchronous. The effective clock rate of the spi clock is very very slow. Could this be an issue?

    -Aaron

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Matt Sunna
    Posted by Matt Sunna
    on Apr 19 2012 08:07 AM
    Verified Answer
    Verified by Aaron Byman
    Expert3240 points

    Hi Aaron,

    One thing to check is to make sure the SPI_LE pin is high during power up. If this pin is low, it will prevent the EEPROM from loading to the registers.

    I do not think a slow SPI clock would cause an issue as the bit-bang approach is used on the CDCE72010 EVM as well.

    Best regards,

    Matt

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Aaron Byman
    Posted by Aaron Byman
    on Apr 20 2012 03:35 AM
    Prodigy100 points

    Hello,

    Ok, it must have something to do with the SPI_LE pin during powerup. After writing the registers and sending the ram to eeprom command I can verify that the settings are indeed in the eeprom by resetting the cdce with the reset and powerdown buttons on the ads evm. After reset the values are as written. Thus the values must be in the eeprom.

    The SPI_LE is driven by my FPGA. I have a pullup on the output (internal to the FPGA) and there is another pullup resistor on the EVM. From my understanding the FPGA pins should be at high-impedence during FPGA loading so in theory the pullup on the EVM should keep the SPI_LE high during loading of the FPGA. After load the internal pullup should only help.

    -Aaron

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Aaron Byman
    Posted by Aaron Byman
    on Apr 20 2012 05:44 AM
    Prodigy100 points

    Hello Matt,

    This was exactly the case. At pwr up the fpga is loaded from a flash. During this config time the pin is for some reason weakly pulled down and settles at roughly Vcc/2. I guess one solution would be to try a slightly stronger pullup resistor on the evm. I am working around it now by simply disconnecting the spi_li from the fpga completely (via a jumper on my evm-fmc adapter board.

    -Aaron

    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