2019-12-03 06:37 AM
Hy there,
I would like to ask you, if there is possible to get the basic source code that you are uploading to the STM32G431CB ? I am using it with that basic code, with a MOTOR PROFILER GUI. I am trying to change the motor rotation periodicly (eg. after 3 period the direction of the rotation should change IMMIDIATELY) but with the help of the GUI it changes very slow... I would like to modify the code, I just do not know, which code should I download?
Can you please send me the basic source code for STM32G431CB , motor rotation?
Thank you in advance,
N.
Solved! Go to Solution.
2019-12-04 12:48 AM
Hello,
The source code is actually included and generated with the motor control development kit:
or
for the full source code (requires registration). For modifying speed or doing reserval, the first version should be enough.
Best regards,
Vincent
2019-12-03 02:28 PM
Are you talking about some particular devboard?
Isn't that code present in the examples in CubeG4 ?
JW
2019-12-03 10:55 PM
Dear JW,
I am talking about this devboard:
It hs an STM32 on it, with an uploaded code on it, I just can find the code, I downloaded the examole package but still has no idea which one in it. The code is perfect, I just need little changes in it.
I am using the following GUI in this setup:
it works perfectly with it, so I am looking for that code.
Thank you
2019-12-03 11:08 PM
The exact type on my kit: STM32F103C8T6
2019-12-03 11:10 PM
I've just downloaded the related CubeG4 and indeed, code for this board is missing. It's not on https://github.com/STMicroelectronics/STM32CubeG4/tree/master/Projects either.
I can't even find the binary.
@Amel NASRI , ST sells these boards as one of the Disco line, can we please have the usual support for it?
Jan
@Vincent Onde
2019-12-03 11:19 PM
If it helps this is where I ordered from:
https://hu.mouser.com/ProductDetail/STMicroelectronics/B-G431B-ESC1?qs=%252B6g0mu59x7KUfhaFDGurZQ==
2019-12-03 11:24 PM
Sorry The first post was the right one STM32G431CB
2019-12-04 12:48 AM
Hello,
The source code is actually included and generated with the motor control development kit:
or
for the full source code (requires registration). For modifying speed or doing reserval, the first version should be enough.
Best regards,
Vincent
2019-12-04 12:58 AM
Hi Jan,
From B-G431B-ESC1 board page on ST web site, we see that we list both STM32CubeG4 and X-CUBE-MCSDK as embedded software.
I assume that this board is supported in the X-Cube package dedicated for motor control applications.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2019-12-04 03:31 AM
Hi Vincent, @Vincent Onde
Thanks for the explanation.
Oh, it needs installing an .exe.... :( so the sources are not available for non-windows platforms... :(
As this is surprising for a board which is marketed together with the Discovery boards, can please this information be added to the place where the users would expect to find the code, i.e. into Projects under CubeG4?
And, of course, into UM2516 (and please don't make it into "modern feel and look").
Thanks,
Jan