cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F7 HMI Ethernet based Communication

SSing.10
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

8 REPLIES 8

Hello @SSing.10​ ,

Do you use a custom board?

BeST Regards,

Walid

SSing.10
Associate II

Hi Walid,

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

Thanks & Regards

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
Associate II

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

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
Associate II

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

Hello @SSing.10​ 

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

BeST Regards,

Walid

SSing.10
Associate II

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