UART-to-UART maximum transfer speed

Ildar Belkin
Posts: 10
Joined: Mon Apr 24, 2023 3:16 pm

UART-to-UART maximum transfer speed

Postby Ildar Belkin » Tue Jun 20, 2023 10:25 am

Hello.
I need to get a device as a "ESP32 bridge" with two UARTs.
Client(RS-232) <------> (RS-232)ESP32 bridge(RS-232) <---------> LTE terminal.
LTE terminal works in transparent mode transmition ("as is") between RS-232 and LTE.
The client sends to the bridge a raw data with first byte as trafic-type marker. If first byte = 1 then the bridge transfers all other data(without first byte) to the LTE Terminal ("transparent mode").
First byte = 0 means that the bridge don't send any data to LTE Terminal and get the data to internal task.

So, my quetion is:
I need to get transfer a data between Client and LTE terminal up to 150-200 Kbit per sec.
Is it possible do it as shown in uart event example? I usually use a DMA for such cases on other MCU, but have no any info about the DMA on ESP32.
Also I saw UART's maximum bit rate is 5Mbps. As I read it isn't useable in real application or I am wrong?

Has anyone an expirience of real case and what is the rate you have got?

MicroController
Posts: 1729
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: UART-to-UART maximum transfer speed

Postby MicroController » Fri Jun 23, 2023 7:41 pm

I need to get transfer a data between Client and LTE terminal up to 150-200 Kbit per sec.
Shouldn't be a problem.
Is it possible do it as shown in uart event example?
Yes, but you'll want to create one task for each direction of data flow, i.e. one task which receives on UART A and transmits via UART B and one task which receives on UART B and transmits via UART A.

Ildar Belkin
Posts: 10
Joined: Mon Apr 24, 2023 3:16 pm

Re: UART-to-UART maximum transfer speed

Postby Ildar Belkin » Wed Jun 28, 2023 5:31 pm

MicroController
thak you!

Who is online

Users browsing this forum: Bing [Bot] and 81 guests