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.

RTOS/66AK2H14: Auto-negotiation

Part Number: 66AK2H14

Tool/software: TI-RTOS

Hi,

I am using CCV7 and ti-processor-sdk-rtos-k2hk-evm-04.03.00.05-Windows-x86-Install.

We have designed the custom board using 66AK2H14 . In which  Micro semi Ethernet switch(VCS7429) is connected to the SGMII ports of the K2H processor.

Auto negotiation is disabled in the switch  , So I have to disable the same in 66ak2h14 processor.

We have K2H EVM with us , So I thought of trying it  on the EVM first.

I  run the EMAC example application in non loopback mode, I was able to see the packet transmission in the wire shark.

 I disabled the Auto negotiation as

  •         CSL_SGMII_disableAutoNegotiation (macPortNum) in Init_SGMII()
  • I set the speed and duplex mode in MAC control register and cleared the EXT_EN bit in Init_MAC()

                

                  CSL_CPGMAC_SL_enableFullDuplex (macPortNum);


                 CSL_CPGMAC_SL_enableGMII (macPortNum);


                 CSL_CPGMAC_SL_enableGigabit (macPortNum);

                  CSL_CPGMAC_SL_disableExtControl (macPortNum);

and run the application , Application executed successfully but there is no packet transmission in the Wireshark.

Whether we can disable the Auto-negotiation in EVM ? Because there is no PHY configuration in EMAC example so If I disable auto negotiation on SGMII Whether it works  as  I have not configured the same in PHY.

Whether the steps that I followed to disable the auto negotiation is correct ?

Please help me with this , I was just trying this on EVM before I configure it  on my custom board so as to make sure the 66AK2H14 SGMII configuration is correct.

Thanks and Regards,

Mahima Shanbag

            

  • The RTOS team is notified. They will post their feedback directly here.

    Best Regards,
    Yordan
  • Hi,

    When you use K2H EVM and connected it to a PC via the RJ-45 port, the PHY is the master and K2H's SGMII is the slave. You can see the packets on the Wireshark. This is expected.

    Can you explain how the K2H EVM and Micro semi Ethernet switch(VCS7429) physically connected? How you capture packet using Wireshark? Is there a PC in between? Does the Micro semi Ethernet switch(VCS7429) has a RJ-45 port with a PHY? Or you use an AMC connector to connect a different K2H SGMII port and made an MAC-TO-MAC connection to VCS7429?

    Regards, Eric
  • Hi,
    Sorry for miscommunication , we have not connected the Micro semi Ethernet switch(VCS7429) to the K2H EVM.
    Micro semi Ethernet switch(VCS7429) is in our custom board between 66AK2H14 processor and RJ45 ports.
    I was just trying to disable auto negotiation in EMAC example . To verify this I used EVM K2H so as to make sure 66AK2H14 processor side configuration.
    But after disabling the auto-negotiation , Application executed successfully but there is no packet transmission in the Wireshark.
    So I got some doubts like,

    Whether we can disable the Auto-negotiation in EVM ? Because there is no PHY configuration in EMAC example so If I disable auto negotiation on SGMII Whether it works as I have not configured the same in PHY.

    Whether the steps that I followed to disable the auto negotiation is correct ?

    Thanks and Regards,
    Mahima Shanbag
  • Hi,

    Thanks for the explanation of the test setup! For using the SGMII with auto-negotiation disabled, please check the www.ti.com/.../sprugv9d.pdf section 2.4.3.4 SGMII to SGMII with Forced Link Configuration

    Also in the init_mac(), "In the MAC module, the user must set the EXT_EN bit in the MAC_CONTROL Register to allow
    the speed and duplex mode to be set by the signals from the SGMII."

    Regards, Eric