Become a leader in the IoT community!
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
I’m running a FreeRTOS task in the stm32h723 that parses an incoming message (6 bytes for now) via UART, reads the header for a specific byte and then decides if it wants to process the message or forward it to another UART and vice versa from the another UART. More like an UART bridge between the two UARTS. This is the task that has the highest priority and there no other significant task except the one that’s just monitoring a GPIO every few seconds.
I see the roundtrip takes about 25-25ms when I record the time in a python script over a loopback.
The system uses DMA on TX,RX on both the UART at 11,5200 bps. 100 MHz for the UART peripheral. 200 Mhz processor clock speed. A ring buffer on the RX and sets a flag to forward if there is at least 6 bytes ( minimum size).
I feel the speed is ridiculously low. Any thoughts how to improve this speed? Thanks in advance. 🙏
CONTRIBUTE TO THIS THREAD