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?
UART-to-UART maximum transfer speed
-
- Posts: 1710
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: UART-to-UART maximum transfer speed
Shouldn't be a problem.I need to get transfer a data between Client and LTE terminal up to 150-200 Kbit per sec.
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.Is it possible do it as shown in uart event example?
-
- Posts: 10
- Joined: Mon Apr 24, 2023 3:16 pm
Re: UART-to-UART maximum transfer speed
MicroController
thak you!
thak you!
Who is online
Users browsing this forum: No registered users and 81 guests