Skip to main content
TARHAN SAMAH
Senior
February 20, 2018
Question

ETHERNET İN NUCLEO STM312F429ZI CUBEMX

  • February 20, 2018
  • 1 reply
  • 1456 views
Posted on February 20, 2018 at 10:12

Hello evry body , i need to install ethernet in my project so im using the board nucleo stm32f429ZI ,

the repository ethernet example works good .:

RMII_REF_CLK ----------------------> PA1

RMII_MDIO -------------------------> PA2

RMII_MDC --------------------------> PC1

RMII_MII_CRS_DV -------------------> PA7

RMII_MII_RXD0 ---------------------> PC4

RMII_MII_RXD1 ---------------------> PC5

RMII_MII_RXER ---------------------> PG2

RMII_MII_TX_EN --------------------> PG11

RMII_MII_TXD0 ---------------------> PG13

RMII_MII_TXD1 ---------------------> PB13

now i need to create my project :

but when enabling the ethernet and ipwl in cube mx RMII with PHY ADRESS 0 i dont enable any rtos or interrupt :

i dont get PG11 PG13 like the demo ???!! BUT PB11 AND PB

because i create my project i guess it is one of the reasonsthat i dont detect my cart tftpd64 software or modbuspoll..

plz help needed

Note: this post was migrated and contained many threaded conversations, some content may be missing.
    This topic has been closed for replies.

    1 reply

    ab val
    Associate III
    February 20, 2018
    Posted on February 20, 2018 at 11:06

    you can edit those pins in CubeMx. Just click on PB13 and select ETH_TXD1. same for PG11

    0690X00000609iWQAQ.png
    TARHAN SAMAH
    Senior
    February 20, 2018
    Posted on February 20, 2018 at 12:12

    thanks much i didnt know this option in cube  ill chek it , and i have a question someone said it is a condition to add a thread for the tcpip , is it really necessary in nucleo 144 , or i can use without rtos ? 

    ab val
    Associate III
    February 20, 2018
    Posted on February 20, 2018 at 13:23

    I don't think you have to use FreeRTOS. I always use it with LWIP as it is easier to implement you app in parallel.

    Here are some examples of LWIP without FreeROTS: 

    STM32Cube_FW_H7_V1.2.0\Projects\STM32H743I_EVAL\Applications\LwIP\LwIP_TCP_Echo_Server

    That you can download from here: 

    http://www.st.com/en/embedded-software/stm32cubeh7.html