-
Notifications
You must be signed in to change notification settings - Fork 974
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
YST-DXT-J20 Mainboard firmware doesn't drive properly #230
Comments
This board looks really different, it even has an IMU. |
I have a standard board with STM32F103RCT6. Compiled for i-BUS. Have the same problem. One wheel spins out of control, the other one barely moving. |
I have compared the pins of this board with older boards and they are exactly the same at least the ones that drive transistors of the H bridges (PH_HI and LO) and HALL cables but for some reason it doesn't work like previous boards. Is there anything else that might interfere with the motors except these pins so I can compare them with older boards? |
Have you tried voltage mode instead of speed mode? |
Came across this comment: |
Hi, try swapping hall pins definition in "defines.h" file, mine works swapping the V / W hall pins on both motors. Here is mine: #define LEFT_HALL_U_PIN GPIO_PIN_5//GPIO_PIN_5 #define LEFT_HALL_U_PORT GPIOB #define RIGHT_HALL_U_PIN GPIO_PIN_10//GPIO_PIN_10 |
Assuming this board is the same as the AT32 board, but only with a GD32 instead, those are the differences that are highlighted and mentioned in the discussion I have shared:
|
Your System
I have new generation cards with bluetooth. Board has YST-DXT-J20 tag on it and GD32F103RCT6 as main controller. I have successfully flashed the firmware and connected to mainboard with UART however motors doesn't turn with a given speed. Even with low speeds Motor at the mainboard side turns very fast and other one doesn't turn at all. After going through the previously posted issues I have seen some people managed to fix the issue by swapping phase cables so I have tried all combinations of three cables but it didn't fix the problem for me.
Any advice how to find and fix the problem?
The text was updated successfully, but these errors were encountered: