cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F407 _ Packet transfer

SS_135
Associate II

Hi Team,

How to transfer huge data through UART interface , is it any method or procedure to achieve. Brief description:

Quectel module is been used, data of 80kb transported from AWS server to Quectel module.We need to identify the fastest and efficient way to transport the data from Quectel module to STM32F407 MCU via UART interface.

Sudeendra S

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

The fastest way is going to be using the highest clock speed you can and to ensure there is no delay between bytes by using DMA or other technique.

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

2 REPLIES 2
prain
Senior III

fastest way but​ not the most reliable: use raw usart byte transfer with hardware parity check.

for a reliable transfer, use a packet based protocol that incorporate CRC and ​acknowledge mechanism. A light weight example is MAVLink protocol

TDK
Guru

The fastest way is going to be using the highest clock speed you can and to ensure there is no delay between bytes by using DMA or other technique.

If you feel a post has answered your question, please click "Accept as Solution".