Announcements

Equip yourself to optimize AURIX™ MCUs for Evs at the EV Webinar. Click here to register.

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

AURIX™ Forum Discussions

eric_cal
Level 1
Level 1
First solution authored First like given First reply posted

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
2 Replies
dw
Moderator
Moderator
Moderator
100 likes received 750 replies posted 10 likes given
  • 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
First solution authored First like given First reply posted

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