-
Notifications
You must be signed in to change notification settings - Fork 29
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
Gen2.4.1 (ex2.8) = MM32SPIN05PFOP :-( #22
Comments
Does the information here help add it to KEIL? |
Would be nice if @WizzardDr would explain how he added the GD32E230 target to the project: Then this repo might already compile.
But as WizzardDr succeeded with adding a new target, i now am quite optimistic that he and me could add your MM mcu and i/we resolve all compiler errors. But are you willing to invest some hours to trace the pins ?? |
When I look at my board it is slightly different than this board, appears to have the same processor though. Board Source: Jetson Plasma Slave Board Identifiers |
Yes thanks, i have added the pdf documents to the manuals folder. |
Also found in Board Source: JETSON ALPA |
Looking for help on this board. I've burned through many of the RioRand motor controllers and decided to use one of the 4 different hoverboard motors that I have. Any help will be appreciated. I'm a newbie, but I love tinkering and learning new things. |
If you have different boards you better start with a GD32F130 MCU and not this not yet supported MM32SPIN05. |
I do have a GD32F130 C8T6 MCU board, but it's a newer board and does not match any of the examples. I wasn't sure if I could flash or not since it didn't exactly match. If I can, then that will be perfect since that's the board and motor that I want to use. |
No you need to start a new issue here, upload high res photos of front and backside and start tracing the pins. See the 2.6.1 issue currently being active. I always like to add new layouts, so feel free to go ahead :-) |
@RoboDurden heres a toturial of using keil with mm32spin maybe itll help i cannot tell |
@RoboDurden can you please look into it now i have included the new build target |
Thanks for you work ! I have accepted the pull request :-)
to
This would apply to all other layouts and not only the 2.6.
|
i have uploaded my first changes, so please @AILIFE4798 sync your code.
Looks like many files in the Inc project folder should not be there. Maybe you can fix this: |
done and repo updated :-) |
do you have real hardware layout2.8 to test on or should i buy more of them to test |
MM is also using port defines like GPIOB but not pin defines like GPIO_PIN_9 :-/ So i must learn the defines to acces a port/pin for MM.
The PORT definitions for MM are in reg_gpio.h :
But i can no identify the PIN definitions yet. Maye a MM32 code example would help I think i have 2.8 but not here in the train station i think. And honestly i do not have the time=happiness at the moment to build yet another test setup. So it would be great if you had 2.8 hardware. Was $2 a typo or can you really buy fully assembled 2.8 boards for USD 2 ??? |
Maybe these are the definitions we need: https://github.com/koendv/MM32SPIN27-Arduino/blob/525f27bd91b756aeabad3b7a706f60cb9fb75275/mm32/cores/arduino/HAL_Lib/hal_gpio.h#L89 But i would like to find these defines in the target files you added. |
$2 is for a pair of master and slave layout2.8.1 board by razor no led or motor |
Where can i download this blynk example ? We have problems to port the EFeru gen1 firmware to the newer AT32 Gen1 boards ! So if there is no GD32 mcu on theser $12 boards i would be caucious. |
i see its 1, its the most terrible of all, you should really try other ones |
is your board foc capable, the $2 one isnt |
I hope so, it is $4 :) |
oh this one is just the one i use its $2 in china, its not foc capable, what do you expect for the price lmao |
eferu firmware is terrible, mine is way superior, you just didnt rtfm |
so far EFeru software are used by many peoples, and they are happy. For sure his simulink generated code - it is something... If you are not simulink user. |
yes esp32 is 5v tolerant |
STM32's most pins are 5v tolerant, but for last 2 days I manage to kill 2 UARTs. Fortunately it has 3 :) |
just IMPOSSIBLE to modify for board with other layout |
Yes i tested EFeru torque mode only once. With no load, the motor was not spinning smootly. So i continued with simple pwm/voltage mode. |
this board hardware not capable of foc what are you talking about |
if you want none blocking uart with dma its not very easy |
i did try, simply modify eferu for another gd32f103 is already near impossible, it actually hapenned (#77) |
It has even too much connection - 3 channel for phase, I have used 2 of them. Usually hoverboard control board has amplifiers for current with low amplification (3x). But mm32spin05 ADC has 1.2V ref voltage, it helps a lot. |
please upload a full image of your schematics. I do not see the phase currents input pins. |
Maybe this one comperator can be toggle between two analog inputs.. |
timer
ADC (comparator is not in the game)
interruption
|
Platformio for editing and keil uVision under wine for compilation. I didn't adapt platformio for mm32, compilation works but binary is wrong. It is possible to get working with platformio, but it takes time. I just use the simplest way. |
i already know there are 3 wire connected to phase, but the connection is NOT to the comparator, so its not useable |
this wiring is for mcu with a built in opamp like the lks32, the 3 pin wiring is exactly what you will fing connecting to the opamp |
this board is 2.4.1, the exact same one i have, long ago i have reverse engineered it(but i didnt draw full schematic) |
this wiring is for mcu with a built in opamp like the lks32, the 3 pin wiring is exactly what you will fing connecting to the op |
it is not possible, you have the diagram and pinout, clearly one all connect to in+ other all connect to in-, i already checked |
maybe @trondin got the pin connections wrong in his nice schematics :-) |
https://www.mindmotion.com.cn/en/products/mm32mcu/mm32spin/mm32spin_specific_mcu/mm32spin05/
generation and emergency stop
https://www.keil.com/dd2/mindmotion/mm32spin05nt/
https://github.com/topics/mm32
Would be nice if someone knows how to add this device to the Keil IDE.
The text was updated successfully, but these errors were encountered: