• 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 » IO / Functional Multiplexing during program execution
Share
Hercules™ Safety Microcontrollers
  • Forum
  • E2E Wiki
Options
  • Subscribe via RSS

IO / Functional Multiplexing during program execution

IO / Functional Multiplexing during program execution

This question is answered
Lorenz Gruebler
Posted by Lorenz Gruebler
on Apr 27 2012 04:38 AM
Intellectual425 points

Hello Forum,

 

CPU: TMS570LS3137

 

For HW Self Check reasons I want to switch the DCAN Interface TX Pin between GIO and functional mode during program execution. The RX terminal of the appropriate DCAN Controller need still to keep CAN RX functionality.

As I've found in the TRM (SPNU499, Tabe23-19 CAN TX IO Control Register Field Description) this function can be controlled by the Func field. There is mentioned that this bit is forced to 1 during initialization of the CAN controller.

Q: can I clear this bit to use I/O functionality during after the init of the can controller?

Q: is it possible to switch back to CAN mode without new initialization? (The HW Self check should be a short as possible!)

Q: Is there a similar possibility for the MII TX terminals?

 

regards,

 

Lorenz

 

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Diwakar Bansal
    Posted by Diwakar Bansal
    on Apr 27 2012 19:36 PM
    Intellectual1280 points

    Hello Lorenz,

    We will look at this and back to you.

    Regards,

    Diwakar

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Diwakar Bansal
    Posted by Diwakar Bansal
    on May 08 2012 08:40 AM
    Verified Answer
    Verified by Lorenz Gruebler
    Intellectual1280 points

    Hello Lorenz,

    Sorry for the delayed response.

    - MII does not support GIO functionality.

    - DCAN does support GIO mode, which can be used prior to DCAN initialization and DCAN node participating on the bus. But it is not recommended to switch back from functional to GIO mode once the DCAN communication is ongoing.

    Best regards,

    Diwakar

    DCAN
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Lorenz Gruebler
    Posted by Lorenz Gruebler
    on Aug 27 2012 10:01 AM
    Intellectual425 points

    Follow up Question:

    Exists there a detailed description of each Signal Type of the Pins/Balls?

    Q: Still for self test purposes I want to set the DCAN TX Pin and the MII_TXD[n] Pins for a short period in hi-z mode. Is this possible?

    regards,

    logan54

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Kevin Lavery
    Posted by Kevin Lavery
    on Aug 29 2012 13:26 PM
    Intellectual1460 points

    Lorenz,

    the MII pins are not GIO configurable.

    The DCAN TX pin can be forced into a high Z state by configuring it as an input. This configuration is not recommended when the CAN is connected to the network (because the high-Z state is not a valid CAN TX state for the CAN protocol).

    Regards,

    Forum Support

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Lorenz Gruebler
    Posted by Lorenz Gruebler
    on Nov 02 2012 03:06 AM
    Intellectual425 points

    Hello Mr. Lavery,

    Is it possible to use GIO before set up the MII pins, because my Transceiver use Boot strap information after reset on MII_RXD, MII_RXER and MII_RXCLK.

    After set up the correct Bootstrap Information on the MII Pins by GIO Functionality, I will need to reset the PHY and switch the TMS570 to EMAC Mode.

    is this sequence possible?

    regards,

    Lorenz

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Kevin Lavery
    Posted by Kevin Lavery
    on Nov 05 2012 06:50 AM
    Verified Answer
    Verified by Lorenz Gruebler
    Intellectual1460 points

    Hi Lorenz!

    The balls of the 337 pin BGA are multiplexed, and the MII faimly of pins is not the default choice. That is, the balls are initially connected to other functionality that DOES have GIO capability. From the microcontroller's perspective, it is certainly possible to use the I/O capability of the default (or alternate muxing) pin selection and then change the ball to MII functionality.

    Whether the transition can be done in a way that works with the PHY is not assured, but the microcontroller can use the GIO functionality of the muxed pins and then change to MII (I'm not sure what kind of timing is required which is why "I don't know if the transition can be done in a way that works with the PHY"...).

    Best Regards,

    Kevin Lavery

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Lorenz Gruebler
    Posted by Lorenz Gruebler
    on Nov 06 2012 00:37 AM
    Intellectual425 points

    Thank you for your answer,

    I want to use the SMSC8710A, which requires bootstrap information. I'll take case about the reset and timing sequence. So it seems to be possible to use this PHY with HW-Bootstrap.

    regards,

    Lorenz

    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