Page 1 of 1

ESP Hosted for STM32 with UART

Posted: Fri Jul 29, 2022 9:05 am
by Whitehouse112
Hi everybody,

I have an STM32U5xx and an ESP32-WROOM-32E. I would like to use stm32 as host (with Azure RTOS NetXDuo TCP/IP network stack) and esp32 to implement wifi capabilities: the mcu communicates with the esp32 through UART.

I'm looking for some documentation/examples/suggestions about what is the best way to achieve that: i've seen the "esp hosted" solution but it uses SPI communication instead UART one.

- There is some examples that implements UART communication too?
- Is it possible to use "esp hosted" solution with uart or having only this peripheral I have to to opt for the AT commands?

Thanks

Re: ESP Hosted for STM32 with UART

Posted: Wed Feb 28, 2024 5:37 am
by ESP_yogesh.mantri
Hello @Whitehouse112,

Somehow I missed this and now might be very late to respond.
With UART it should be fairly possible, but not yet implemented, as uart data rate is on the lower side.
It is very much do-able.

We also had ported 'Azure RTOS NetXDuo TCP/IP' (for SPI) with ESP and it is very stable.
But cannot provide source as it was done as part of customer software.

Can you please raise issue at https://github.com/espressif/esp-hosted/issues for faster responses?

~ Yogesh