2023-11-20 02:28 PM
Hi All,
I am looking to use the STM32H745 dual-core chip in my next design. I currently use a CH9121 device that handles the transparent ethernet to UART bridge for me and looking to incorporate this functionality into the STM32H745 on the M4 processor and internally send/receive UART serial data from/to the M4 processor to the M7 processor. Although the CH9121 device works well for my application I want a low parts count design and if I am going to be using a high-power dual-core chip, might as well incorporate the ethernet bridge into the design. The host PC will mainly use LightBurn and Laser GRBL and both use TELNET. Is this possible to do with the STM32H745? Please let me know.
Thanks,
Eric Norton
2023-11-20 04:33 PM
> Is this possible to do with the STM32H745?
Of course it is possible. Handling ethernet and LwIP will introduce quite a bit more complexity to the program than if you were just handling UART. Don't need a dual core processor for that, but it's certainly an option.
2023-11-20 05:19 PM
I'm mainly concerned with data throughput. I want the one processor handling the ethernet stuff while the other is handling the data and motion control stuff. For slow speeds, I'd consider just using one processor but since I want high-speed operation I am thinking of having them reside in two different processors. How is TELNET handled inside the STM32H device? I guess I need to familiarize myself with the protocol. Maybe I might just stay with my current setup since it is already done and it is a cheaper solution and works well aside from having to set up the ethernet connection but that can be shown to the customer.
2023-11-20 08:21 PM
STM32 doesn't have a hardware IP stack. You'll need to implement a telnet client using LwIP or similar. No doubt you can find a telnet client example online, or at the very least a TCP client in order to adapt to your particular needs.