2021-07-29 11:20 AM
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
Solved! Go to Solution.
2021-08-23 02:22 AM
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
2021-08-16 03:43 AM
Hello @SSing.10 ,
Do you use a custom board?
BeST Regards,
Walid
2021-08-19 09:50 AM
Hi Walid,
No I am working on the STM32F7-Nucleo board for prototyping.
Thanks & Regards
2021-08-23 02:00 AM
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
2021-08-23 02:13 AM
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
2021-08-23 02:22 AM
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
2021-08-23 02:28 AM
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
2021-08-23 02:56 AM
Hello @SSing.10
Watch this video, it may help you : https://www.youtube.com/watch?v=3dgwJFga674
BeST Regards,
Walid
2021-09-09 11:25 PM
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