• 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 » Amplifiers » Precision Amplifiers » Precision Amplifiers Forum » PGA309 controlled trough a microcontroler
Share
Precision Amplifiers
  • Forum
  • Announcements
  • E2E Wiki
Options
  • Subscribe via RSS
Check out
The Signal blog
  • $core_v2_blog.Current.Name

    Grounding Principles

    Posted 3 days ago
    by Bruce Trump
    In a previous blog on supply bypassing , I cautioned that poor...
  • $core_v2_blog.Current.Name

    Handy Gadgets and Resistor Divider Calculations

    Posted 10 days ago
    by Bruce Trump
    Handy gadgets make our engineering life easier—the little...
  • $core_v2_blog.Current.Name

    Chopper Op Amps—are they really noisy?

    Posted 18 days ago
    by Bruce Trump
    Chopper op amps offer very low offset voltage and dramatically...

PGA309 controlled trough a microcontroler

PGA309 controlled trough a microcontroler

This question is answered
Royke
Posted by Royke
on May 09 2012 03:49 AM
Intellectual490 points

In our system we are using the PGA309 frontend anr we control it trough a microcontroler with the One-wire Interface.
This all works fine, till we enable bit15 register 4 and then disable it again and flash this in the EEPROM.
After this the PGA309 does not response to any question. Can't read registers and eeprom any more.
How can we recover from this state? 

Programming on OMAP L138, LogicPD evm board 

PGA309
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Ian Williams
    Posted by Ian Williams
    on May 09 2012 12:03 PM
    Verified Answer
    Verified by Royke
    Genius14235 points

    Hello Royke,

    The short answer is that once setting the One-Wire-Disable (OWD) bit, you must cycle power to the PGA309 before you can communicate again.

    Are you using 3-Wire (One-Wire-to-Vout) mode with your PGA309 design? If not, then it should not be necessary to set the OWD bit. If so, then you must follow the proper timing requirements while in this mode. 

    The procedure for communicating while in this mode is as follows (refer to the PGA309 User's Guide, section 4.10 for more information):

    1. Power is cycled on the device, and within a few milliseconds we write to the device. This can be done with the command "CMD WAKE_UP_ONE"
    2. Once communications are established we wipe the first byte of the EEPROM. The voltage output will remain disabled for 1 second after the last communication is issued (subsequent communications will reset the 1 second timer).
    3. After one second the PGA309 will try to read the EEPROM. The TI flag has been erased, so the EEPROM format is no longer valid and the output will be disabled.
    4. The output will remain disabled until valid information is written into the EEPROM. 

    Best regards,

    Ian Williams
    Linear Applications Engineer
    Precision Analog and Sensing Products 


    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Royke
    Posted by Royke
    on May 10 2012 01:04 AM
    Intellectual490 points

    Thanks Ian for you reaction.
    We are using the 4.3 One-Wire Interface, so not through One-Wire-to-Vout.
    I know we don't have to set the OWD bit, but we did. (It was available through the user interface) 
    So the OWD-bit  affects also our 1 wire interface. Now I have 3 sensor-modules that I can't use and I would like to use them again.
    Can I do this by following you described procedure?
    Also what is the CMD WAKE_UP_ONE? 

    Programming on OMAP L138, LogicPD evm board 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ian Williams
    Posted by Ian Williams
    on May 10 2012 16:00 PM
    Verified Answer
    Verified by Royke
    Genius14235 points

    Royke,

    Correct, the OWD bit affects the One-Wire interface. If you set the OWD (One-Wire-Disable) bit, that disables the One-Wire interface communication and places the PRG pin in a high-impedance state. The exception is for 25ms after powering up the device.

    The "CMD WAKE_UP_ONE" is a command which cycles power and writes to the device during the 25ms waiting period. This command can only be given when using the PGA309EVM.

    To re-establish communications with your modules, simply cycle power to them and perform any One-Wire communication within 25ms. This will allow further communications for up to 1s, and during this time you can clear the OWD bit, clear the EEPROM, and perform any other necessary transactions.

    Best regards,

    Ian Williams


    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Royke
    Posted by Royke
    on May 11 2012 00:41 AM
    Intellectual490 points

    Thanks again Ian for your clear answer.
    I know what to do now. 

    Programming on OMAP L138, LogicPD evm board 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ian Williams
    Posted by Ian Williams
    on May 11 2012 12:52 PM
    Genius14235 points

    Royke,

    You're very welcome.

    One final note - it may be desired to set the OWD bit once you have finished communicating and calibrating the modules and they are ready to go into their end system. This is because noise can couple into the system from the outside world which may look like communication attempts at the PRG pin. This can cause issues as you might expect. Setting the OWD bit and placing the PRG pin in a high-impedance state prevents this. We refer to this as "stand-alone operation."

    Best regards,

    Ian Williams


    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Royke
    Posted by Royke
    on May 14 2012 01:36 AM
    Intellectual490 points

    Thanks Ian,
    One final note from me, we completely control the PGA309 in the machine through a microcontroler including the setup. So we wouldn't set the OWD-bit.

    Again thanks for your support!

    Programming on OMAP L138, LogicPD evm board 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ian Williams
    Posted by Ian Williams
    on May 14 2012 13:15 PM
    Genius14235 points

    Hello Royke,

    Thank you for the clarification. I'm happy to help.

    Best regards,

    Ian Williams


    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