Skip to main content
Visitor II
July 29, 2021
Solved

STM32F7 HMI Ethernet based Communication

  • July 29, 2021
  • 6 replies
  • 1939 views

Hi,

I working Stm32f767zi mcu with HMI screen and I need to make communication using RJ45 interface using tcp ip.

I need to know that which example is works for it, I have searched and checked a tcp ip server example code to get new incoming hmi connection on stm32f767zi RJ45 jack.

But little confused between the connection setup and the selected example for working & testing initially.

I request you to please confirm my above setup, if I am going wrong and please suggest proper way to start communication between stm32f767zi rj45 jack to hmi rj45 jack direct connection.

Looking forward for the support.

Thanks & Regards

    This topic has been closed for replies.
    Best answer by Walid ZRELLI

    Hello @SSing.10​ ,

    You could reuse the following examples :

    Projects\STM32756G_EVAL\Applications\LwIP\LwIP_TCP_Echo_Server

    Projects\STM32756G_EVAL\Applications\LwIP\LwIP_TCP_Echo_Client

    Then, you shall do porting to your board.

    BeST Regards,

    Walid

    6 replies

    Visitor II
    August 16, 2021

    Hello @SSing.10​ ,

    Do you use a custom board?

    BeST Regards,

    Walid

    SSing.10Author
    Visitor II
    August 19, 2021

    Hi Walid,

    No I am working on the STM32F7-Nucleo board for prototyping.

    Thanks & Regards

    Visitor II
    August 23, 2021

    Hello @SSing.10​ ,

    You can try to reuse an example provided under our F7 Firmware Package.

    You can get inspiration for the setup.

    BeST Regards,

    Walid

    SSing.10Author
    Visitor II
    August 23, 2021

    Hi Walid,

    I have gone through all the example provided in the "STM32Cube_FW_F7_V1.16.0" repository and accordingly my Nucleo board - Nucleo-F767Zi (STM32F767ZI-Nucleo) there is only one example is available which is based on the HTTP, not on the TCP/IP.

    As I am looking for the TCP/IP server- client examples for further developments.

    Please let me know is there any other example which support the same.

    Regards

    Visitor II
    August 23, 2021

    Hello @SSing.10​ ,

    You could reuse the following examples :

    Projects\STM32756G_EVAL\Applications\LwIP\LwIP_TCP_Echo_Server

    Projects\STM32756G_EVAL\Applications\LwIP\LwIP_TCP_Echo_Client

    Then, you shall do porting to your board.

    BeST Regards,

    Walid

    SSing.10Author
    Visitor II
    August 23, 2021

    Hi Walid,

    I have tried this example in STM32F767ZI-Nucleo board but it error in "CPU_CACHE_Enable();" function & get stuck.

    Can you please share or refer any document which states the required changes to do it and run the example in STM32F767ZI-Nucleo board.

    Thanks & Regards

    SS

    Visitor II
    August 23, 2021

    Hello @SSing.10​ 

    Watch this video, it may help you : https://www.youtube.com/watch?v=3dgwJFga674

    BeST Regards,

    Walid

    SSing.10Author
    Visitor II
    September 10, 2021

    Hi @Walid ZRELLI​ ,

    I tried the above but it still gives error and I am still stuck in same issue.

    I request you to please provide support the STM32F767ZI Nucleo based Board example package for tcp-ip client, if possible.

    Your all the support will be highly appreciated.

    Regards

    SS