This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Question about AM335x ISDK PROFINET and TLK105L

Guru 15520 points
Other Parts Discussed in Thread: TLK105L, AM3357, TLK105

Hi,

I have questions about AM3357 ISDK and TLK105L.
In my customer's board there are two TLK105L for IN and OUT.
Each TLK105 are connected to AM3357 PRU.
They are using AM3357 PROFIBNET protocol as SLAVE and they are using ISDK v1.1.0.9.

They are having following issue right now.
//////////////////////////////////////////////////////////////
One TLK105L(IN) is connected to PROFINET Master and LED_LINK are blinking fine.
Other TLK105L(OUT) are not connected to anything but LED_LINK are also blinking.
We don't know why.
//////////////////////////////////////////////////////////////

For above issue, my customer have following questions.
Q1.When communication with PROFINET, who will judge the "Linkup"?
  Is it pr1_mii<0:1>_rxlink of AM335x PRU or TLK105L register?

Q2.In customer board, TLK105L LED_LINK pin are connected to pr1_mii<0:1>_rxlink of AM335x.
   Do I must connect LED_LINK to pr1_mii<0:1>_rxlink when using PROFINET communication?

Q3.When will TLK105L LED_LINK will get ON or blinking?
   Is it only "Linkup" and during LAN communication?
   Does LED get ON or blinking when AM3357 transmit the data?

best regards,
g.f.

  • Hi,

    I will forward this to the ISDK team.
  • Hi g.f, Apologize my late reply, I got some answer from our developers

    Q1: Profinet uses MDIO LINK register to judge Link up

    Q2: Using LED_LINK with pr1_mii_rxlink, requires drivers to take care of LED_LINK polarity which means this is not always active HIGH indication... One option is to make sure that MLINK is disabled at MDIO.

    Q3: TLK105L LED behavior can be programmed depending on strap setting, please refer to TLK105L for additional details. Are you using our AM335x IDK EVM schematics as a reference? if so, I think we have a HW. errata for TLK105L connection in our IDK EVM, I will try to find it in case you need it.

    thank you,

    Paula

  • Hi Paula,

    Thank you for the answers.
    May I ask questions against my previous question again?

    For Q2, I asked this question 6 month ago at E2E(sorry, I forgot that I have posted before).
    6 month ago, I had an answer that pr1_mii_rxlink are not used in PROFINET
    and the pins can be left floating or configure as other functions(ex.GPIO).
    So, I understood that pri_mii_rxlink pin doesn't need to be connected, right?

    For Q3, I understood that TLK105L LED behavior can be programmed depending on strap pin.
    What I want to know is the condition when the LED will get ON or blinking.
    Because of the issue which I posted above.

    Does LED get ON or blinking only when it is "Linkup" and during LAN communication?
    Or
    Does LED get ON or blinking when AM3357 transmit the data TLK105L without LAN connected?
    Which means it is not Linkuped and no LAN communication.

    best regards,
    g.f.
  • Hi g.f,

    For Q2: My understanding is same as yours, but I will confirm.
    For Q3: Depending on strap setting, LED can be on without activity too.. I will ask the experts how do we have it set for our ICE board. Are you using our AM335x IDK EVM schematics as a reference?

    thank you,
    Paula
  • Hi Paula,

    Thank you for the reply.

    Actually, this questions are from my customer.
    Their customer board are not refer to AM335x IDK EVM schematics.

    best regards,
    g.f.
  • Hi Paula,

    >Depending on strap setting, LED can be on without activity too..
    I understood that it is depending on strap setting.
    And there are two mode as follow:
    Mode 1: Link Indication LED (Indicates the status of the link. When the link is good, the LED is ON)
    Mode 2: ACT indication LED (Indicates transmit and receive activity in addition to the status of the Link.
    The LED is ON when Link is good. The LED blinks when the transmitter or receiver is active.)

    I think the LED will be ON/Blink after LAN cable are connected and Linkup.
    But my customer's issue are happening when LAN cable are not connected so that it is not Linkup yet.

    best regards,
    g.f.
  • Hi g.f, Let me add some feedback I got from the developers 

    Q2: You are correct, rxlink connection is not mandatory for Profinet as link loss detection latencies in the order of milliseconds are acceptable here

    Q3: When issue happens on your customer board, It will be good to monitor MDIO ALIVE and LINK register and also read back relevant PHY registers for a better understanding

    thank you,

    Paula

     

  • Hi g.f, I got confirmation that described issue, where profinet firmware was forwarding the frames to second port without checking link status causing PHY LED to blink (SDOCM00119697), was fixed in ISDK 1.1.1.1 and ISDK 2.1.1.x  

    http://processors.wiki.ti.com/index.php/SYSBIOS_Industrial_SDK_02.01.01_Release_Notes

    Could you please check with your customer if they can upgrade to latest SDK?

    Links to our latest Industrial SDKs

    http://downloads.ti.com/sitara_indus/esd/SYSBIOSSDK-IND-SITARA/latest/index_FDS.html  

    http://software-dl.ti.com/sitara_indus/esd/AM335x_SYSBIOS_Industrial_SDK/latest/index_FDS.html

     

    Thank you,

    Paula

  • Hi Paula,

    Thank you so much for the anwser.
    I understood.

    By the way, are there any pdf/ppt/etc.. which describing this issue?
    I checked the Release Note of ISDK which you attached but it said only the following:
    /////////////////////////////////////////////////////////////////////////
    PN IRT/RT_MRP: DUT is forwarding the frames to second port which is down
    /////////////////////////////////////////////////////////////////////////

    I need to tell my customer about this issue, and if there are any pdf/ppt/etc it will be great.

    best regards,
    g.f.
  • Hi g.f, Unfortunately SDOCM00119697 was created as "internal only" (there are some SDOCM which are created as "public"). But I can give some extra information here

    Description: While running Profinet IRT, RT_MRP applications, DUT is forwarding the frames to second port without checking the link status. PHY Activity LED(Green in case of ICEv2.1) is ON in the second port even-though the link is down.

    Resolution: Firmware checks the port state before forwarding a frame. If link is down on a port then frame is not forwarded to that port.

    Thank you,

    Paula

  • Hi Paula,

    Thank you so much for the details. I understood.
    I will share the details with my customer.

    best regards,
    g.f.