UART中的数据丢失 [英] Loss of data in UART
问题描述
大家好,我正在开发一个数据采集系统,我在其中传达
Raspberry Pi和Arduino 。我使用Arduino因为我需要按照IoT不允许的频率对数据进行采样,问题是当我对数据进行采样时,我需要将它们发送到Raspberry,并且
问题是 Raspberry是否足够快以不丢失数据。两台设备之间的通信将通过UART b 波特率为28800 。任何帮助将非常感谢,感谢您的时间
Hello everyone, I am developing a data acquisition system in which I communicate a Raspberry Pi and an Arduino. I use the Arduino because I need to sample the data at a frequency to which windows IoT does not allow me, the problem is that as I sample the data, I need to send them to the Raspberry, and the question is whether the Raspberry will be fast enough to Do not lose data. The communication between both devices will be through UART with a baud rate of 28800. Any help will be highly appreciated, thanks for your time
推荐答案
您好ElCompa94,
Hi ElCompa94,
我建议您从使用以下GITHUB示例测试串行吞吐量 https://github.com/Microsoft/Windows -iotcore-samples / tree / develop / Samples / SerialUART
I suggest you start by testing serial throughput with the following GITHUB sample https://github.com/Microsoft/Windows-iotcore-samples/tree/develop/Samples/SerialUART
这个和其他样本可以在https://developer.microsoft.com/en-us/windows/iot/samples
This and other samples can be found at https://developer.microsoft.com/en-us/windows/iot/samples
此致,
IoTGirl
这篇关于UART中的数据丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!