Yes, once the firmware is downloaded in the STSPIN32F0601 you can run the motor without connecting the board to the PC.
Take care of two points:
- you have to set correctly the jumpers in order to provide the supply to the microcontroller embedded in the STSPIN32F0601 VDD = 3.3V (JP8 closed between pin1 and pin2)
- Since the PC is no more connected, you cannot use the GUI embedded in the X-CUBE-MCSDK. The firmware should manage this with proper instructions to start and stop the motor or to change the speed and so on… If you need to connect the PC for debugging and using the GUI, I suggest to use an USB isolator in between the board and the PC.
I forgot one last important thing… good luck !