Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

How do I manage UART RX when there are many data to read ?

$
0
0

Hello all, 

I use SKS7G2 on e2studio with SSP 1.2.1. In my application, I use a sensor LIDAR 2D (http://www.robotshop.com/en/rplidar-a2-360-laser-scanner.html). The communication interface of this LIDAR is UART. The baudrate is 115200.

After the initialization of the LIDAR, and after I put the LIDAR in a scan mode, it constantly transmits data. A scan is a measurement of distances around it (0-360°). A scan is composed of x points and each point is composed of 5 bytes (octet). After the end of a scan, it begins a new scan and so on. It doesn't stop.

So, my question is what's the best way to recover all data transmitted ???

Is it better to use Driver UART or Framework UART ? If I use Framework UART, should it be good to extend read input queue size ? Is it a good way to use DMA ? Is a good solution to store data directly ? 

Thank you for your answers.

Best regards


Viewing all articles
Browse latest Browse all 5781

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>