Associate II
June 17, 2021
Question
STSPIN32G4 does not start with software from MCSDK
- June 17, 2021
- 3 replies
- 3982 views
Hello,
I have built an ESC based on STSPIN32G4 and created a software for it using MC SDK. I did select the following in MC Workbench: Inverter, EVSPIN32G4. Did not change any other options. Schematic of my PCB is based on the EVSPIN32G4 electronic with 1-to-1 pinout.
Behaviour when I power-on my board:
- There is no communication over USART.
- MC_MotorControl_Init() never returns.
- HAL_Delay() works twice slower as expected - HAL_Delay(500) takes one second.
- Of course, due to the listed problems, motor control does not work.
I am still able to flash any other of my demo software on this board and it works (triggering GPIOs, communicating over USART and I2C) but I am still not able to let the "original" software generated by MCSDK to run.
Does anyone has an experience with this issue? Do I need to set some specific options in MCSDK to let software run on STSPIN32G4?
On the picture you can see the ESC part of my board.
Thank you in advance.
