Is the PTOOL1V1 firmware image still available?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-11-23 02:56 AM
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
Solved! Go to Solution.
- Labels:
-
Motor Control Hardware
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-11-24 12:14 AM
Hello @jc,
you can find the firmware example in the STM32 Motor Control SDK,
download the X-CUBE-MCSDK-Y software version.
Let me know if this info is useful to you, if yes please "Select as Best" label to close the topic.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-11-24 12:14 AM
Hello @jc,
you can find the firmware example in the STM32 Motor Control SDK,
download the X-CUBE-MCSDK-Y software version.
Let me know if this info is useful to you, if yes please "Select as Best" label to close the topic.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-11-24 12:24 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-11-24 02:00 AM
Hi 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 directionBeside 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-11-24 02:46 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-11-24 02:53 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-11-24 02:56 AM
OK, Thanks very much :grinning_face:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-11-24 03:56 AM
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.