cancel
Showing results for 
Search instead for 
Did you mean: 

Is the PTOOL1V1 firmware image still available?

jc1
Associate II

I have a couple of STEVAL-PTOOL1V1 boards that I wish to use to quickly demonstrate a motor driver to a client however I can no longer find the ready-complied firmware image that is supposed to be available with the boards.

The boards are still for sale but the firmware image seems not to be available.

Does anyone know where I can find it?

I have spent years programming Atmel (now Microchip), TI, and PIC processors and don't want to spend hours learning yet another IDE and programming environment until after the demo gets me the project!

Many thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Cristiana SCARAMEL
ST Employee

Hello @jc​,

you can find the firmware example in the STM32 Motor Control SDK,

download the X-CUBE-MCSDK-Y software version.

0693W00000WJPChQAP.pngLet me know if this info is useful to you, if yes please "Select as Best" label to close the topic.

If you feel a post has answered your question, please click "Accept as Solution"

View solution in original post

7 REPLIES 7
Cristiana SCARAMEL
ST Employee

Hello @jc​,

you can find the firmware example in the STM32 Motor Control SDK,

download the X-CUBE-MCSDK-Y software version.

0693W00000WJPChQAP.pngLet me know if this info is useful to you, if yes please "Select as Best" label to close the topic.

If you feel a post has answered your question, please click "Accept as Solution"
jc1
Associate II

Hi Christina

Yes, I have downloaded the example and managed, after much pain (STCubeIDE does not like compiling code on anything other than local drives - maybe a PATH thing), to compile it. On the way I have discovered that while ST supply some very useful software they do most for Windows only - a bit more complicated for those of us with Macs - but nonetheless easier than writing everything from scratch! Thanks ST :grinning_face:

I now have a compiled firmware image however starting it on either of my PTOOL1V1 will only move the motor 1 step and then it will shut the motor down. Switching the Trigger input does much the same.

It seems to me that I have missed something basic. Any idea what?

ADAVE.1
ST Employee

0693W00000WJPuPQAX.jpgHi jc,

that usually happens when expected sensor status doesn't match with acquired status.

This may due to either a wrong connection or a wrong Hall sensor decoding table.

Supposing that all the connections are OK (phases U, V, W and signals H1, H2, H3), I suggest you to have a look to the decoding table included in the file 6step_synch_hall.c and here above attached. This table gives the correspondence between hall sensors status and step. For your understanding, steps and sensor status are defined as indicated in the manual of motor Shinano LA052 (also attached) where step1 corresponds to W1 high, W2 low and w3 floating, and DIRCT0 is the clockwise direction0693W00000WJPyqQAH.jpgBeside this, in case that the fault might due to an overcurrent event at start-up, I would also recommend to reduce the PI gains of the speed loop.

Regards

Alessio

jc1
Associate II

Thanks Alessio. I'll check all that out.

In the meantime is there a technical manual for the STAPIN32F0 family? The separate data sheets are quite basic.

ADAVE.1
ST Employee

All the documents available for STSPIN32F0 are on the web page

https://www.st.com/en/motor-drivers/stspin32f0.html#documentation

If you are interested in details about programming you can refer to the manual of the microcontroller inside the STSPIN32F0 (STM32F031C6) whose manual can be found here

https://www.st.com/en/microcontrollers-microprocessors/stm32f031c6.html#documentation

jc1
Associate II

OK, Thanks very much :grinning_face:

Hi @jc​ remember to "Select as Best" label in the proper reply to your original question.

So, you can help others Community member to find the answer at similar question.

If you feel a post has answered your question, please click "Accept as Solution"