2025-07-20 8:15 AM
Hi All,
I am trying to get up and running the above hardware. I downloaded the software for the board, and we already use IAR compiler here. After compiling and downloading (via the STLink), the system runs the program just fine.
However, I just need to run the system with the onboard POT and it is not moving or energizing the motor at all.
I changed the 6step_conf.h file to POTENTIOMETER_INTERFACE = 1 and all others to 0. Nothing happens.
All the voltages to the board are perfect (running 70VDC to the board via a 7 amp programmable power supply).
All help would be greatly appreciated. This is my first intro into using the part. Time is very tight.
regards,
Charles
2025-07-21 2:58 AM
Hi SimpleStep
for using potentiometer, i suggest you first to set the potentiometer feature into the ST MCSDK WB. This will generate all the SW required to control your motor with the potentiometer.
Best regards.
Fabrice
2025-07-21 8:45 AM
Hi Fabrice,
Thank you for the information, however I am going to be using this in an embedded system and there will be no communication with the controller after the initial program is downloaded.
This is why I sent the 6step_conf.h file hoping changing this would allow me to run it without the use of the 6-step wizard.
I also need to make a connection to the system with a serial port for initial testing. After that it will not be used again expect for possibly debug info.
regards.
Charles