Skip to main content
SSing.10
Associate III
Jul 29, 2021 6:20 PM UTC
Solved

STM32F7 HMI Ethernet based Communication

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.
Walid ZRELLI
Walid ZRELLIBest answer
Visitor II
Aug 23, 2021 9:22 AM UTC

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

8 replies

Walid ZRELLI
Visitor II
Aug 16, 2021 10:43 AM UTC

Hello @SSing.10​ ,

Do you use a custom board?

BeST Regards,

Walid

SSing.10
SSing.10Author
Associate III
Aug 19, 2021 4:50 PM UTC

Hi Walid,

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

Thanks & Regards

Walid ZRELLI
Visitor II
Aug 23, 2021 9:00 AM UTC

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.10
SSing.10Author
Associate III
Aug 23, 2021 9:13 AM UTC

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

Walid ZRELLI
Walid ZRELLIBest answer
Visitor II
Aug 23, 2021 9:22 AM UTC

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.10
SSing.10Author
Associate III
Aug 23, 2021 9:28 AM UTC

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

Walid ZRELLI
Visitor II
Aug 23, 2021 9:56 AM UTC

Hello @SSing.10​ 

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

BeST Regards,

Walid

SSing.10
SSing.10Author
Associate III
Sep 10, 2021 6:25 AM UTC

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