• 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 » Data Converters » Precision Data Converters » Precision Data Converters Forum » ADS8320 with MSP430FR5739 SPI communication question
Share
Precision Data Converters
  • Forum
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS
Check out
The Signal blog
  • $core_v2_blog.Current.Name

    Grounding Principles

    Posted 1 day 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 9 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 17 days ago
    by Bruce Trump
    Chopper op amps offer very low offset voltage and dramatically...

ADS8320 with MSP430FR5739 SPI communication question

ADS8320 with MSP430FR5739 SPI communication question

This question is answered
DannyEllen
Posted by DannyEllen
on Aug 27 2012 02:38 AM
Intellectual655 points

Hello,

I have an ADS8320 hooked up to to an MSP430FR5739 micro-controller.
I read in the ADS8320 manual that its SPI need to be clocked 22 times continuously to receive a 16 bits ADC value. (5 for generating a same, 1 returns 0, 16 for the actual data)

The normal MSP430FR5739 SPI eUSCI peripheral can be configured to 7 or 8 bit transfers. When using 3 consecutive 8 bits transfers, the clock to the ADS8320 is non-continuous (it is actually composed of 3 bursts of 8 clocks each). 

Can I safely use 3 consecutive 8 bits transfers or do I need to write a dedicated function with continuous clock and polling?

Best Regards,

Danny

ADS8320 MSP430FR5739
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Kevin Duke
    Posted by Kevin Duke
    on Aug 27 2012 17:42 PM
    Verified Answer
    Verified by DannyEllen
    Genius17925 points

    Danny,

    Generally speaking for a SPI bus a disruption in continuity of the SCLK is not a problem so long as CS is also not rebounded. In this case the serial bus is reset and you'd run into problems. Of course sometimes some devices can deviate from this compliance, so it's a worthwhile question to ask. I wrote some quick code to test this, here my clocks are divided into two 11 bit groups and I apply a ludicrously long delay between the pair of clock bursts:

    No problems. Just make sure CS stays low and you'll be fine.

    --------------------------------------
    Kevin Duke             
    Precision DAC Applications

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • DannyEllen
    Posted by DannyEllen
    on Aug 27 2012 23:48 PM
    Intellectual655 points

    Kevin,

    Many thanks for your answer !!!

    Best Regards,

    Danny

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Kevin Duke
    Posted by Kevin Duke
    on Aug 28 2012 10:56 AM
    Genius17925 points

    Danny,

    Glad to help. As one final note here for anyone else that stumbles upon this thread, it's okay to interrupt the SCLK in general but in devices that use the serial clock as a conversion clock as well should not be interrupted during the conversion clock period. This should be a case-by-case investigation for each device.

    --------------------------------------
    Kevin Duke             
    Precision DAC Applications

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • DannyEllen
    Posted by DannyEllen
    on Aug 28 2012 14:33 PM
    Intellectual655 points

    Hi Kevin,

    So now I am confused again. My original question was about the ADS8320. This device has no other clock than its DCLOCK input (clocked in three - 8 bit bursts by my MSP430 SPI output). I am now able to read reasonable values from the ADC. But am I damaging my accuracy by dividing the clock? The datasheet is a bit unclear about this issue.

    Best regards,

    Danny 

    ADS8320 SPI
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Kevin Duke
    Posted by Kevin Duke
    on Aug 28 2012 14:50 PM
    Verified Answer
    Verified by DannyEllen
    Genius17925 points

    Danny,

    I did not notice any substantial impact on performance even with the large gap in clocks. As long as you're not inserting an unreasonable amount of time your results should be accurate.

    My note was really just intended to keep other people that may notice this post from wildly inserting clock breaks on other devices where there may be a problem.

    --------------------------------------
    Kevin Duke             
    Precision DAC Applications

    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