anbello
(Andrea Belloni)
March 13, 2021, 3:48pm
346
With SERVO_DSHOT_RATE=0,1,2 DShot300 only 3 motors
[EDIT: other DShot* OK]
with SERVO_DSHOT_RATE=3 DShot300 OK
Other relevant parameter:
SERVO_BLH_AUTO,1
SERVO_BLH_BDMASK,15
INS_HNTCH_MODE,3
INS_HNTCH_OPTS,2
INS_HNTCH_REF,1
If I set SERVO_BLH_BDMASK=0 or INS_HNTCH_MODE=1 no problems with all modes all rates
andyp1per
(Andyp1per)
March 13, 2021, 4:19pm
347
Iāve just tried all of these with the parameters I posted and my setup with no issues at all
R.S.T
(Ruediger)
March 13, 2021, 6:19pm
348
Hi,
Iām trying to get bi-dshot running on the Pixracer but no RPM is showing up.
Here is what I set up:
dev 4.1
looprate: 1000
DShot: 300
Is there anything wrong with that?
Thanks
andyp1per
(Andyp1per)
March 13, 2021, 6:26pm
349
You need to set BDMASK rather than MASK
anbello
(Andrea Belloni)
March 13, 2021, 6:40pm
350
I tested many parameters different in your and my params files, I donāt find something repeatable.
Some parameter seem related to the problem but not always cure it.
LOG_BACKEND_TYPE 1 in my 4 in your (are you not using SD?)
INS_LOG_BAT_MASK 1 in my 0 in your
SERVO_BLH_TRATE 100 in my 0 in your
When I change this parameters from my values to your values sometimes DShot300 works but not always.
Now I am a little bit confused
andyp1per
(Andyp1per)
March 13, 2021, 7:53pm
351
I guess all it shows is that there is a subtle timing issue
R.S.T
(Ruediger)
March 13, 2021, 8:15pm
352
doesnāt make any difference
could I test the ESCs seperatly one by one?
Or wouldnāt that work anyway?
andyp1per
(Andyp1per)
March 13, 2021, 8:18pm
353
How are you determining there is no rpm? Try setting SERVO_BLH_DEBUG = 2 and see if you get rpm data when you run a motor test
R.S.T
(Ruediger)
March 13, 2021, 8:20pm
354
I displayed escX_rpm in MP and there was 0 even when armed and spinning
andyp1per
(Andyp1per)
March 13, 2021, 8:35pm
355
Yeah I don;t think that will currently pick it up
andyp1per
(Andyp1per)
March 13, 2021, 8:37pm
356
Ok, so interesting - I can reproduce this on my 3" - there is definitely a weird interplay between the pulse rate and whether things work. Once the motor has armed its perfectly fine, its just getting it to arm that is sometimes hard. Iām beginning to think this is the BeastH7 problem
andyp1per
(Andyp1per)
March 14, 2021, 9:37am
357
@anbello BLHeli32.8 came out this morning - Iāve tried it on my test setup and all seems good. One of the fixes is:
Improved reliability of signal detection
So its possible it might help.
anbello
(Andrea Belloni)
March 14, 2021, 11:43am
358
Thanks @andyp1per I will test it afternoon.
anbello
(Andrea Belloni)
March 14, 2021, 2:37pm
359
Sorry, same problems with DShot300 also with BLHeli32.8.
I forgot if I said you that with SERVO_DSHOT_RATE=3 DShot300 works, both with BLHeli32.7 and BLHeli32.8.
R.S.T
(Ruediger)
March 14, 2021, 3:34pm
360
ok, I see the RPM in the log
andyp1per
(Andyp1per)
March 14, 2021, 4:06pm
362
Yes thatās right. Bi-dir also gives you a faster update rate than regular ESC telemetry which can reduce noise.
R.S.T
(Ruediger)
March 14, 2021, 4:40pm
363
what would you recommend for bdshot for SERVO_BLH_TRATE ?
andyp1per
(Andyp1per)
March 17, 2021, 9:19pm
364
Ok, can you try again? I have not been able to recover BDShot300, but everything else should be more reliable now I hope.
anbello
(Andrea Belloni)
March 18, 2021, 6:52pm
365
Tested only on bench, it seem all OK apart for BDShot300.
One time I see this on GCS Message:
[MAV 001:1] PreArm: Internal errors 0x200000 l:145 sfs_recursi
[MAV 001:1] on
After reboot OK.
I will do more test as soon as I have more time.