Ethernet Driver for AURIX TC299 TRB Dev Board

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
eric_cal
Level 1
Level 1
5 replies posted 5 sign-ins First solution authored

I'm looking to set up a TCP demo utilizing LWIP on an AURIX TC299 TRB (Step BB) development board. I noticed that Infineon's GitHub repository doesn't include code examples for TC299 TRB boards but have tried to use examples for TC297's to some success. Specifically, I've been able to get a loopback example to run to conclusion but nothing else.

Two questions:

1) is there an example of an Ethernet driver for TC299 TRB dev boards? If not, then

2) which project is compatible with my dev board's MAC/PHY setup? e.g. do I use RMII or GMII in the PHY setup?

Thanks in advance!

0 Likes
1 Solution
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

In AURIX TC297x TFT Application Kit Firmware, there is lwip support, you can step into this function for initialize iwip

Ifx_Lwip_init(ethAddr);

The project is in myICP.

 

View solution in original post

0 Likes
5 Replies
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored
  • For eth demo, please refer to the demo project of TC2xx on myICP.
  • Please use BIFACE to open the project, which is on myICP also.
  • PEF7071 is used for PHY.
  • Please refer to AURIX TC297x TFT Application Kit Firmware\0_Src\0_AppSw\Config\Common\Configuration.h for RMII pins definition.

    /* we define here the pins for ethernet phy RMII connection */
    #define ETH_CRSDIV_PIN              IfxEth_CRSDVA_P11_11_IN
    #define ETH_REFCLK_PIN              IfxEth_REFCLK_P11_12_IN
    #define ETH_RXD0_PIN                IfxEth_RXD0_P11_10_IN
    #define ETH_RXD1_PIN                IfxEth_RXD1_P11_9_IN
    #define ETH_MDC_PIN                 IfxEth_MDC_P21_2_OUT
    #define ETH_MDIO_PIN                IfxEth_MDIOD_P21_3_INOUT
    #define ETH_TXD0_PIN                IfxEth_TXD0_P11_3_OUT
    #define ETH_TXD1_PIN                IfxEth_TXD1_P11_2_OUT
    #define ETH_TXEN_PIN                IfxEth_TXEN_P11_6_OUT
0 Likes
eric_cal
Level 1
Level 1
5 replies posted 5 sign-ins First solution authored

Thanks for the response.
How long does it usually take to get accepted into myICP after sending the request to the parties listed on myICP's page?

0 Likes
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

Hi eric, It's suggest to resend the apply email more times if no response.

0 Likes
eric_cal
Level 1
Level 1
5 replies posted 5 sign-ins First solution authored

With all features, except for the LWIP itself, disabled I've managed to get the project compiled as prescribed above and loaded onto the dev board. Unfortunately, the LWIP fails to initialize.

0 Likes
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

In AURIX TC297x TFT Application Kit Firmware, there is lwip support, you can step into this function for initialize iwip

Ifx_Lwip_init(ethAddr);

The project is in myICP.

 

0 Likes