2023-08-09 10:26 AM
Hi please a can not build the sample application of STEVAL-PTOOL2V1.
Have any newer version of application?
I download this https://www.st.com/en/embedded-software/stsw-ptool2v1.html but not compile?
what should I do ? I have to install something in cubeMX or CubeIDE?
Why this board not have suppont on MC WorkBench?
2023-09-27 02:01 AM
Hello @Ana Flavia Kohlrauch and welcome to the ST Community.
What is the compilation error you are getting?
You can find more detail on the FW in the dedicated UM2788
Keep in mind that for the STSW-PTOOL2V1 firmware the supported IDE is IAR Workbench.
You can find attached the STM32CubeIDE project to be copied into the "\Projects\EVALSTSPIN32F0H25-HallSensors\Applications\MotorControl" folder.
Let me know if this info are useful to you, if yes click on "Accept as solution"
2024-02-16 04:55 AM
Hello @Cristiana SCARAMEL ,
Firstly, I want to express my gratitude for your assistance; your provided file has been incredibly helpful.
I have a few queries concerning the PTOOL2V1:
-> IOC Configuration File: In the sample project, there is an IOC configuration file. However, it seems not to correspond to the hardware configuration outlined in the STEVAL-PTOOL2V1 Data Brief documentation for the PTOOL2V1 board. Could you confirm this? If it doesn't correspond, do you have an IOC file that matches the correct configuration?
-> Importing Project Files into Workspace: After copying the files as per your instructions and successfully importing them into CUDEIDE using Import->General->Projects from Folder or Archive, the project links files outside my workspace directory. I want to build my application starting from this project, so how can I import all files into a workspace directory as a project built directly from CUBEIDE? Additionally, how can I include the IOC configuration file in this process?
Here is the configuration I used:
Hardware: F411 Nucleo board with disabled STlink and U5V power jumpers, wired as follows:
T_NRST STLink to NRST PTOOL
T_TMS STLink to SWDIO PTOOL
GND STLink to GND PTOOL
T_JTCK STLink to SWCLK PTOOL
+3V3 STLink JP1 to VDD PTOOL
PTOOL2V1:
ST-LINK Nucleo board :
PTOOL2V1 Configuration:
I unsoldered R44 and shorted R43 to have 12V powering the Hall sensors of my motor.
Configured JP2, JP3, and JP4 to use the Hall sensors.
The motor used for testing is a 5 pole pairs Hurst DMB0224C10002.
I appreciate your time and expertise in addressing these inquiries.
Best regards,
Joël