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.

TM4C1294NCPDT: KSZ9477

Part Number: TM4C1294NCPDT

Hi

  I am interfacing KSZ9477 with tm4c1294ncpdt micro-controller.

my configuration strap setting in hardware is

  0 - LED4_1,  1 - LED3_1 -->  I2C communication is selected.

  1 - LED2_1   -->   Normal link up

  0 - LED1_0  --> Wire filtering enabled

  1 - LED1_1 --> Flow control enabled.

  1 - LED2_0 , 1 - LED4_0 --> Normal link up, Auto negotiation enabled.

  1 - LED5_1 --> Start switch link up enabled.

My firmware setting is

  PHY Basic control register (0x1100) - data -0x1000 for all the 5 ports.

 PHY Auto-Negotiation Advertisement Register (0x1108) -data - 0x0D41 for all the 5 ports

 PHY 1000BASE-T Control Register(0x1112) -data -0x0200 for all the 5 ports .

   We are using TP-LINK (TL-SG1024D).when i try to connect 1000Mbps,100Mbps with TP-LINK , its trying to connect but connection is not established.  When i connect with Laptop all the configuration is working fine.

  I need support to make it work, is my settings are correct?

  • Hi,

      I'm very unclear with your problem description. Please do understand that I'm not familiar with the Microchip KSZ9477 if the issue involves configuration on the KSZ9477.

    balamurugan subbiah said:

    my configuration strap setting in hardware is

      0 - LED4_1,  1 - LED3_1 -->  I2C communication is selected.

      1 - LED2_1   -->   Normal link up

      0 - LED1_0  --> Wire filtering enabled

      1 - LED1_1 --> Flow control enabled.

      1 - LED2_0 , 1 - LED4_0 --> Normal link up, Auto negotiation enabled.

      1 - LED5_1 --> Start switch link up enabled.

      What are all these LEDs? It seems like these are the LEDs from the KSZ9477, correct? I will not be able tell if they are right or wrong. You need to consult Microchip if these LEDs are blinking correctly or not. 

    balamurugan subbiah said:

      PHY Basic control register (0x1100) - data -0x1000 for all the 5 ports.

     PHY Auto-Negotiation Advertisement Register (0x1108) -data - 0x0D41 for all the 5 ports

     PHY 1000BASE-T Control Register(0x1112) -data -0x0200 for all the 5 ports .

    The TM4C129 only supports 10BASE-T/100BASE-TX. You seem to enable 1000BAS-T but why? Again, these are the KSZ9477 registers. You need to reach out to Microchip if you want someone to help you on the register configuration of the KSZ9477. The TM4C129 has its own built-in PHY and I assume you are connecting the TM4C129 to one of the KSZ9477's five ports. 

    balamurugan subbiah said:
       We are using TP-LINK (TL-SG1024D).when i try to connect 1000Mbps,100Mbps with TP-LINK , its trying to connect but connection is not established.  When i connect with Laptop all the configuration is working fine.

    I think I'm confused here. Can you show a pictorial diagram or schematic on the connection between Tiva MCU, KSZ9477  and TP-LINK. At first you said the Tiva is connected to the KSZ9477 which is a switch. The TL-SG1024D is another switch. How are they all connected together. 

    At the end of the day, I think the best place to post your question is the Microchip support forum as it is their product. Make sure you elaborate how you are connecting all the things together.