Serial Communication Problems

General discussion of using Roboclaw motor controllers
MaskOfSanity
Posts: 13
Joined: Fri Sep 15, 2017 7:51 am
Re: Serial Communication Problems

Post by MaskOfSanity »

The last tested firmware version is 4.1.26. I tested it on 21 of July. (Other updates are not available)

Here some LogicAnalyzer data.

You can use:

https://www.saleae.com/downloads/

to open files.

In Read Temprature example @ 38400 Baud:

Looking around t=3 s.

pin changing during send @ t = ~2.8 s
not working @ t = ~2.9 s, ~3.0 s
working @ t = ~3.1s

If you plan to implement just a delay which drives the direction pin, what happens when i change the Baudrate?
Attachments
notworking.PNG
notworking.PNG (91.74 KiB) Viewed 5167 times
changing_while_sending.PNG
changing_while_sending.PNG (93.49 KiB) Viewed 5167 times
LogicData.zip
(8.85 KiB) Downloaded 343 times
User avatar
Basicmicro Support
Posts: 1594
Joined: Thu Feb 26, 2015 9:45 pm
Re: Serial Communication Problems

Post by Basicmicro Support »

The delay would be ratio'd based on baudrate.
MaskOfSanity
Posts: 13
Joined: Fri Sep 15, 2017 7:51 am
Re: Serial Communication Problems

Post by MaskOfSanity »

Hi there,

when is the release of your next firmware update?
Is the problem fixed?

If you plan to introduce new products it would be great if you could use modbus rtu as default protokoll, so nobody has to do much with the protokoll.

Bye
User avatar
Basicmicro Support
Posts: 1594
Joined: Thu Feb 26, 2015 9:45 pm
Re: Serial Communication Problems

Post by Basicmicro Support »

We've had a couple interim firmware updates but we still have a fairly long list of changes/updates that are being worked on.

Modbus RTU looks interesting. I will keep it in mind, though we are already pretty well set on what communications formats we are using on future products.

Post Reply