• 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 » C2000™ Microcontrollers » C2000 32-bit Microcontrollers Forum » SPI TMS320F240 bit stream length
Share
C2000™ Microcontrollers
  • Forums
  • Announcements
  • E2E Wiki
Options
  • Subscribe via RSS
C2000 Resources
  • Product Folder
  • C2000 Training Portal
  • C2000 Technical Training Catalog
  • C2000 Datasheets, App Notes, User Guides
  • C2000 Hardware Design Kits
  • controlSUITE for C2000 Software Library


  • InstaSPIN Resources
  • What is InstaSPIN?
  • Videos and Support


  • InstaSPIN-FOC and InstaSPIN-MOTION Resources
  • What is InstaSPIN-FOC?
  • What is InstaSPIN-MOTION?
  • InstaSPIN Simulation Tool
  • Product Folder: F28069F, F28068F, F28062F, F28068M, F28069M
  • User’s Guide
  • Technical User’s Manual
  • Tools
  • SPI TMS320F240 bit stream length

    SPI TMS320F240 bit stream length

    This question is answered
    Maria Perdomo
    Posted by Maria Perdomo
    on Jul 05 2012 09:06 AM
    Prodigy230 points

    Hallo,

    Im using a the SPI  of the TMS320F240 as slave. I use it as slave and i would like to read the bit stream that a external Master sends to the TMS320F240

    As a Test Pattern, the external Master sends 0x123456789ABCDEF. This is a bit stream of 60Bits (15 Bytes7.5 Bytes), at 1.14MBitps, After each bit stream there is a small Pause of ca 9microseconds.

    The bit stream, looks like this (with zoom for each 12 Bites):

    123

    456

    789

    ABC

    DEF

    Should it be a problem for the SPI TMS320F240  to read this stream, as it is an 8 Bit Peripheral? Is it possible to receive this string? and then with software distribute in 8 Bit Variables?

    Thank you for your Help!

    SPI slave TMS320F240 string lenght
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Maria Perdomo
      Posted by Maria Perdomo
      on Jul 06 2012 02:59 AM
      Prodigy230 points

      some idea?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Kris Parrent
      Posted by Kris Parrent
      on Jul 06 2012 10:27 AM
      Expert6005 points

      Maria,

      There aren't many people who are still familiar with this device as it is very old and is being discontinued.  

      I am very familiar with our SPI which followed this one.  Based on that, I would not expect there to be any problems.  My thought is you would just have to read the data after each 8 bits to prevent it from being lost.  However, I do not have any experience with this peripheral.  I would recommend giving it a try as this will probably be faster than waiting on an answer from us.

      Kris

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Maria Perdomo
      Posted by Maria Perdomo
      on Jul 06 2012 11:26 AM
      Prodigy230 points

      Thank you Kris,

      Yes, I've been traying for a while.  The TMS320F240 is part of a development board, which didnt give to much information about it. As the only acces is through funtions developed specifically for this development board and a I got recurrent errors, since im beginner, i just wanted to understand the meaning of "8 Bit Peripheral" and discard the possibility that the error were due to the lenght of the transmision (60 bits much more than 8 Bits). For  a moment i thought there should be a pause every 8 Bits, but as i read your post. I see the master the transmition can be this long (60 bits without pause) and the information will be received as long as it is read every 8 Bits. so the Pause is not necessary and i can focus to search an other causes of the errors.

      Thank you

      Maria

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Kris Parrent
      Posted by Kris Parrent
      on Jul 06 2012 11:29 AM
      Verified Answer
      Verified by Maria Perdomo
      Expert6005 points

      Maria,

      If you haven't looked at this already, I would recommend checking out the documentation we have available for the F240 SPI:

      http://www.ti.com/lit/ug/spru161d/spru161d.pdf

      Good luck!

      Kris

      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