• 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 » Hercules™ Safety Microcontrollers » Hercules™ Safety Microcontrollers Forum » PBIST Example
Share
Hercules™ Safety Microcontrollers
  • Forum
  • E2E Wiki
Options
  • Subscribe via RSS

PBIST Example

PBIST Example

This question is answered
Irune Agirre
Posted by Irune Agirre
on Jul 19 2011 04:41 AM
Prodigy30 points

Hi,

I am using a tms570 microcontroller and I am trying to use the PBIST module.

The spna128 application report ( http://focus.ti.com/lit/an/spna128/spna128.pdf ) talks about an example which performs the PBIST test on different memories, but I can't find it anywhere.

I think that it is a very interesting and helpful example so I will be very grateful if someone could told be where to find it.

Thanks,

Irune

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Michael Sherman
    Posted by Michael Sherman
    on Jul 20 2011 10:31 AM
    Prodigy400 points

    Irune,

    I think we might have forgotten to upload the example code that it references, I am looking into it and will get it to you ASAP.

     

    Regards,

    Michael Sherman

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Michael Sherman
    Posted by Michael Sherman
    on Jul 20 2011 12:36 PM
    Prodigy400 points

    Irune,

    The owner of that app note is currently out of the country, I will try to get it from him as soon as possible.

    Regards,

    Michael Sherman

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Irune Agirre
    Posted by Irune Agirre
    on Jul 21 2011 03:29 AM
    Prodigy30 points

    Hi,

    Thanks for your attention, I will be waiting for it.

    Regards,

    Irune

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Haixiao Weng
    Posted by Haixiao Weng
    on Jul 22 2011 20:08 PM
    Genius9565 points

    This is a CCS3.3 project. You can import it to CCS4.

    The code is just example code how to call the function, which is not used for production purpose. The code is provided as it is. We are not responsible for any problem caused by this example.

    0876.TMS570_PBIST.zip

    Regards,

    Haixiao

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Irune Agirre
    Posted by Irune Agirre
    on Jul 26 2011 08:57 AM
    Prodigy30 points

    Thanks for the example Haixiao,

    I have been looking at it and I have a couple of doubts:

    1-  Both, the TRM and the application note spna128, say in the configuration steps that in case there is no failure the value of both FSRF0 and FSRF1 is going to be '0x00' and that in case of failure, any of these two registers is going to be '0x01'. So, is the following code snippet correct?  

    if  { ((e_PBIST_ST.FSRFO_UN.FSRFO_UL || e_PBIST_ST.FSRFO_UN.FSRFO_UL )==0x00)

    e_GIO_ST.Port_ST[0].Dout_UL |= 0x10;   // TEST PASSES - Signal GIO Pin

    ...}

      else {

    PutText(" FAILED ****\r\n");

    e_GIO_ST.Port_ST[0].Dout_UL |= 0x0; // TEST FAILS - Signal GIO Pin

    Shouldn't it be an AND instead of an OR and the second term FSRF1? I have had the same trouble when looking at the pbist.c file in the demo software.

    2- Is there any way to introduce an error in a memory group to check that PBIST works correctly?

    3- The TRM says that a reset is required after PBIST, but this example has no reset, has it? is it always necessary?

    Thanks,

    Irune

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Haixiao Weng
    Posted by Haixiao Weng
    on Jul 26 2011 09:16 AM
    Verified Answer
    Verified by Irune Agirre
    Genius9565 points

    1. no failure -> register =0 -> Test Pass. else (failure-> register !=0 -> Test fail). I do not see the problem

    2. No

    3. PBIST will destory any contents in the SRAM under test. That is the only reason that you might need a reset to restore the contents. It is not a must. If you run it at startup with no valid contents in the SRAM, I don't think you need a reset.

    Regards,

    Haixiao

    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