-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Motor without dshot protocol input #8785
Comments
Video of the starting sound with dshot 600 https://drive.google.com/file/d/1i_nH6X22hEqWqObbZg75YUIX0ftcmvYA/view?usp=drivesdk |
Did dshot 600 work with the previous esc? Is the esc new? It could be an esc issue. Try reflashing blheli32 to the esc. |
The esc is the same(it has 2 month life). With the previous FC was already using dshot 600. |
What I see when check with blheli32 https://drive.google.com/file/d/1jIJvhcIgo96nhtuVgNeQJgiPCyxuwZxe/view?usp=drivesdk |
Some weeks ago I've burn a motor ( the one who doesn't work now)and changed with a new one and with the FC f70 T-motor it was working good. But not with matek f405 |
Anyway I don't think that is an hardware problem cause I can fly with multishot normally, so the ESC is not damaged. |
It might be related to this open issue #8089 |
Thanks. Now I'll try to rewire something. |
@0AleBaldi0 you can try my pull request: #8788 You won't need to rewire the FC but as a side effect S9 will also be a motor output. You can use the hex for MATEKF405TE_S3DSHOT from the artifacts here: https://github.com/iNavFlight/inav/actions/runs/4146339516#artifacts |
I've to download the configurator ? |
And it's done ? |
You need to use the 6.0 RC2 configurator. You can also try the solution mentioned in 8089. |
Ok later I'll try thx |
you've resolve me 2 problems that weren't in list but thanks XD.
Unfortunately when test motors with dshot600 the same motor didn't work. You know any command to say at the fc that it has to use S5 instead of S3 ? cause when i slided cables S3 and S4, without using "S3 PAD" i could run all motors (solution find in 8089 ) |
i haven't do nothing apart installing configurator and flashing fc. But didnt understand when you talking about "side effect s9 "ecc.. |
Did you test with the firmware from the assets in the pull request, or did you just pick the firmware from the configurator list? If you did not use the hex from the pull request, try to load this one: |
To try and make S3 work with DSHOT, I had to change the timer used, with the change S9 and S3 share a timer, so they need to have the same function, so S9 ends up being a motor output as well. |
I've tested it with the hex file found in your suggestion 8788 ( the one with S3dshot in the title) now try your zip Update. Yes I've used the one that u mentioned |
How can I change timer ? It is "motor timing" in blheli ? |
If you go to Matek webpage for this FC, there's a note saying that S3 won't work with DSHOT due to DMA clash (internal MCU resource conflict): Same is true for the F-405TE: @mmosca solution to change the timer used for the S3 output can indeed solve this issue. I haven't looked at his code in detail, but it makes perfect sense. |
No, it has nothing to do with motor timing or BLHeli. The timer he mentioned is an internal MCU (STM32F405) resource, it's basically what allows the MCU to output precisely timed signals, like DSHOT requires. There's a limited number of them available at the MCU, and several features end up sharing a same timer. If two features don't use the same timer concurrently, then there's not much of a problem. But if two features try to use the same timer at the same time, and require different settings for said timer, that's when the conflict/clash occurs, and one of the features will simply not work. The solution is to use separate timers for each feature, if available. |
And how can I use separate timers for each feature? There's a cli code ? Sorry but with programming I'm bad... In 8788 found something but don't now how to proceed. it would be good like solution = ...... in pratics terms thanks |
or maybe would be good also solution in 8089. This fc will remains forever with inav, no change. But the problem is that i dont know how to change used motors with others S output (like S6). now the wires are in S1 S2 S3 S4, so if its easy ( relatively ) i could try your suggestions @rmaia3d @mmosca. if its not, i dont use S3 S5 S7 and peace. i have only to make it fly with dshot and its all ok |
If you tried my build and it still didn't work, either switching to oneshot or using the solution described in 8089 is probably better. |
Ok, you know how can i change default motors with another S output, like for the motor 3 use S4 and for motor 4 use S5 ( when i added a new mixer rule for S5 i could run the motor in S5 with dshot and no problem) so this DMA clash dont make problem with S5 in my case no ? |
FC f405 matek hdte.
ESC f55a proII t-motor.
Recently I've replaced my FC (T-motor f70) cause damaged it, with the one above . Reweld everything and go to Inav for programming. Activated output motors and choose "dshot 600" like the "T-motor f70" . When I've tested them, one motor didn't move.
Plug the battery on the quad and the starting sound repeat itself many times with all beep of control, but like for all motors. So I've checked motors with blheli 32 and one motor haven't dshoot protocol input( the one who didn't move before).
So maybe this is the problem but don't now how to fix. When choose multishot/oneshot the problem is fixed but I want dshot for turtle mode. Don't know why on the first FC this problem there wasn't . Thanks for help
The text was updated successfully, but these errors were encountered: