UART data transfer rate

General topics and discussions about the VESC and its development.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable
boback
Posts: 3
Joined: 05 Jul 2017, 23:09
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

UART data transfer rate

Postby boback » 09 Jul 2017, 00:04


rew
Posts: 943
Joined: 25 Mar 2016, 12:29
Location: Delft, Netherlands.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: UART data transfer rate

Postby rew » 10 Jul 2017, 07:09

PI3? The broadcom chip has a "lousy" uart and one "even worse". On pi3 it is the lousy one that they used for bluetooth, so the GPIO connector got stuck with the "even worse" one. Add:
dtoverlay=pi3-disable-bt
to /boot/config.txt to get the slightly better one.

boback
Posts: 3
Joined: 05 Jul 2017, 23:09
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: UART data transfer rate

Postby boback » 11 Jul 2017, 20:08

I did make the swap on the RPI 3 to use the hardware UART on the GPIO pins. I am still only able to achieve a reliable data rate of 15Hz across UART. I was not aware of the limitations of the broadcom chip's UART, which sucks. I am using the PI 3 to do some data processing while the board is moving.

Thanks.

rew
Posts: 943
Joined: 25 Mar 2016, 12:29
Location: Delft, Netherlands.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: UART data transfer rate

Postby rew » 12 Jul 2017, 05:49

WAIT!
If you have a pi3, you have USB. Why not use USB?

amund7
Posts: 10
Joined: 10 Jul 2017, 08:05
Location: Oslo, Norway
Contact:

Re: UART data transfer rate

Postby amund7 » 12 Jul 2017, 21:01


boback
Posts: 3
Joined: 05 Jul 2017, 23:09
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: UART data transfer rate

Postby boback » 13 Jul 2017, 02:17

Awesome that usb on pi 3 gives much better data transfer rates! I'll look into using the usb. Thanks.


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Return to “General”

Who is online

Users browsing this forum: No registered users and 2 guests