Skip to main content
Graduate II
July 1, 2024
Question

How to config the LwIP by cubeMx(DM9000(MAC+PHY) connected to STM32F429BI by FMC)?

  • July 1, 2024
  • 2 replies
  • 983 views

Hi there,

I have a board with STM32F429BI and DM9000(connected to MCU by FMC).

I enabled and config the FMC in cubeMx, after that, the LWIP is still gray(can't enable it).

Does that mean only when the ETH is configured then the LWIP is useful?

If I want to use the DM9000 with STM32F429BI, I can't configure the LWIP in cubeMx, I must port the LWIP by myself, yes?

If not, could you tell me why I can't configure the LWIP after FMC is configured?

Thanks for your help!

    This topic has been closed for replies.

    2 replies

    Graduate II
    July 1, 2024

    Combining code written on another platform with code created with CubeMX is a bit of a painful process, but it comes at the price of wanting to work with non-standard hardware.

    JundeAuthor
    Graduate II
    July 2, 2024

    @Muhammed Güler 

    Thanks for your reply.

    So I must need port the LWIP by myself if I want to using the DM9000...

    One more question, I see some config in cubeMx as below:

    Junde_0-1719888354162.png

    My board also has a DM9161CEP with RMII interface, so I can config the ETH and LWIP.

    But here must choose DP83848 or LAN8742, do your know what's the influence about this option?

    Thanks for your help!