You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got myself a TMotor Velox F7 SE stack for a new 5 inch build. Unfortunately i found, that any firmware version that i build and flash via the bf configurator, has problems with motor 3. (For some reason i can only build BF 4.5 RC1 and newer. I can't build 4.4.3 myself. Can someone clue me in why?)
With dshot_bidir enabled, motor 3 shows a high error rate, ranging from 5-10% when idle, to 30...40..50% when spinning. Sometimes the motor starts spinning by itself, even when motors are disabled in the configurator. So let's say motor 3 is acting very weirdly.
Once i go back to version 4.4.3 (i can't build it myself, but i got the original hex-file from TMotor) everything works fine again.
I started to dig deeper and compared CLI outputs of 4.5. build with bf-configurator to 4.4.3 shipped by TMotor. Interestingly there are major differences in the way the TIMERS and DMA channels are set up. I have general understanding of how micro-controllers, timers and dma work. That's what gives me the feeling, that something is very wrong here. But i'm not deep enough into BF, to draw the right conclusions and even more, resolve or help to resolve the issue. That's why i'm reaching out, hoping someone is able to help me and everyone else encountering that issue.
Here is what i found:
Resources:
4.5 build in configurator (not working):
resource MOTOR 1 A01
resource MOTOR 2 B00
resource MOTOR 3 B05
resource MOTOR 4 B01
resource MOTOR 5 C08
resource MOTOR 6 C09
resource MOTOR 7 A08
resource MOTOR 8 A09
4.4.3. shipped by TMotor (working):
resource MOTOR 2 B00resource MOTOR 3 B05resource MOTOR 4 B01resource MOTOR 5 A09resource MOTOR 6 A08resource MOTOR 7 C09resource MOTOR 8 C08
While there are differences with motor 5,6,7 and 8 beeing switched, i don't think this has something to do with my issue, since my issue has mainly to do with motor 3 ( B05 ).
Here i think, we see some problems. In the FW build by the configurator, the timer on B05 related to motor 3 shares TIM0 Ch18 with two other Pins, namely C08 and C09. In my understanding of timers, that makes no sense. In the working factory firmware of TMotor, this is also not the case. Every output has their own timer channel and that firmware is working. It's a similar story with DMA:
Pin B05 related to the problematic motor 3 has no dma channel assigned in the configurator-built firmware. However it's assigned to a dma channel in the working factory firmware by TMotor.
For a full comparison of the configs:
4.5 Build in configurator (not working): "ea8963bb-7f82-4a86-82e9-9265ed3b15b3"
4.4.3 by TMotor (working): "d57fae43-4542-431a-a12a-c5dacef14ec4"
I would love to help to bring things in working order for me and everyone else using this FC. But i currently don't know what i need to do, to find out the correct configuration and propose a corresponding change to the config file. I hope you guys can point me into the right direction.
Regards
To Reproduce
Use BF configurator to build and flash any version of BF to TMotor Velox F7 SE.
Enable DSHOT 600
Enable bidirectional dshot
Try to spin up Motors
Expected behavior
Motors spinning with telemetry working and a near zero error rate.
Support ID
Id: "ea8963bb-7f82-4a86-82e9-9265ed3b15b3"
Flight controller
TMotor Velox F7 SE
Other components
Velox F7 SE 50A ESC
How are the different components wired up (including port information)
No response
Add any other context about the problem that you think might be relevant here
I submitted support data for both firmwares:
4.5 Build in configurator (not working): Id: "ea8963bb-7f82-4a86-82e9-9265ed3b15b3"
4.4.3 by TMotor (working): Id: "d57fae43-4542-431a-a12a-c5dacef14ec4"
The text was updated successfully, but these errors were encountered:
Describe the bug
I got myself a TMotor Velox F7 SE stack for a new 5 inch build. Unfortunately i found, that any firmware version that i build and flash via the bf configurator, has problems with motor 3. (For some reason i can only build BF 4.5 RC1 and newer. I can't build 4.4.3 myself. Can someone clue me in why?)
With dshot_bidir enabled, motor 3 shows a high error rate, ranging from 5-10% when idle, to 30...40..50% when spinning. Sometimes the motor starts spinning by itself, even when motors are disabled in the configurator. So let's say motor 3 is acting very weirdly.
Once i go back to version 4.4.3 (i can't build it myself, but i got the original hex-file from TMotor) everything works fine again.
I started to dig deeper and compared CLI outputs of 4.5. build with bf-configurator to 4.4.3 shipped by TMotor. Interestingly there are major differences in the way the TIMERS and DMA channels are set up. I have general understanding of how micro-controllers, timers and dma work. That's what gives me the feeling, that something is very wrong here. But i'm not deep enough into BF, to draw the right conclusions and even more, resolve or help to resolve the issue. That's why i'm reaching out, hoping someone is able to help me and everyone else encountering that issue.
Here is what i found:
Resources:
4.5 build in configurator (not working):
4.4.3. shipped by TMotor (working):
While there are differences with motor 5,6,7 and 8 beeing switched, i don't think this has something to do with my issue, since my issue has mainly to do with motor 3 ( B05 ).
Timers:
4.5 build in configurator (not working):
4.4.3. shipped by TMotor (working):
Here i think, we see some problems. In the FW build by the configurator, the timer on B05 related to motor 3 shares TIM0 Ch18 with two other Pins, namely C08 and C09. In my understanding of timers, that makes no sense. In the working factory firmware of TMotor, this is also not the case. Every output has their own timer channel and that firmware is working. It's a similar story with DMA:
DMA:
4.5 build in configurator (not working):
4.4.3. shipped by TMotor (working):
Pin B05 related to the problematic motor 3 has no dma channel assigned in the configurator-built firmware. However it's assigned to a dma channel in the working factory firmware by TMotor.
Is it correct to assume, that he config.h file for the TMOTOR VELOX F7 SE is simply wrong? Or am i missing something here?
For a full comparison of the configs:
4.5 Build in configurator (not working): "ea8963bb-7f82-4a86-82e9-9265ed3b15b3"
4.4.3 by TMotor (working): "d57fae43-4542-431a-a12a-c5dacef14ec4"
I would love to help to bring things in working order for me and everyone else using this FC. But i currently don't know what i need to do, to find out the correct configuration and propose a corresponding change to the config file. I hope you guys can point me into the right direction.
Regards
To Reproduce
Expected behavior
Motors spinning with telemetry working and a near zero error rate.
Support ID
Flight controller
TMotor Velox F7 SE
Other components
How are the different components wired up (including port information)
No response
Add any other context about the problem that you think might be relevant here
I submitted support data for both firmwares:
4.5 Build in configurator (not working): Id: "ea8963bb-7f82-4a86-82e9-9265ed3b15b3"
4.4.3 by TMotor (working): Id: "d57fae43-4542-431a-a12a-c5dacef14ec4"
The text was updated successfully, but these errors were encountered: