cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding issue : STEVAL-SPIN3202 design

Shubham08
Associate III

I have used STEVAL-SPIN3202 evaluation board for Pump application after finalizing the code i have tried to make my custom board from the existing schematic but faced with many issues as listed below

1) From the existing schematic i have removed the programmer part and kept the pins open for connecting it through external stlink programmer to upload.

2) out the 4 board that was designed and assembled issues like one board was working fine but the debugging through uart pin was not possible, even though i have connected logic analyzer to check if data is transmitted by the mcu or not.

3) In some board the PWR LED was not turned on, but as the was assembled same as the working one with same components values.

Waiting for STEVAL-SPIN3202 ST team response for detailed explaination of the issue

7 REPLIES 7
Hl_st
ST Employee

Hello,

for the 2) MCU can be debugging through Serial Wire Debug (SWD) interface (SWD_CLK, SWD_IO pins) not through UART. Through UART can be MCU programmed or it can be used to send some data from MCU to PC if MCU is programmed to do it.

for the 3) Can you attached schematic of your board please? Did you measure a correct voltage on those LEDs? Are those LEDs connected in a correct polarity?

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Shubham08
Associate III

I have attached the schematic of the board.

Yes on board the VDD is 3V3 but Vin/Main supply is led is not ON also i checked the voltage across C301 and C302 it is 12V as i was powering 12V supply

And is buck converter (VBUS -> 3V3) works right? Is 3.3 V on C503 and C504?

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Shubham08
Associate III

yes the buck converter is working fine  and it is3V3 at C503 and C504

 

Right, so is 3V3 also on D2O2? Maybe the LED couldn´t work right.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Shubham08
Associate III

it is working fine and it is glowing but D301 is not turning on

Shubham08
Associate III

Recently through debugging the uart issue was solved in custom board and i was able to connect to motor pilot, but found the issue that it was starting with undervoltage, getting error like speed feedback error and overcurrent error although there was no load in motor after pressing the reset 2-3 times the motor was running smoothly.

I need help in software part as below

1) how to set the parameters in motor controller because i have tried, but as i have set under voltage at 9V and giving the supply of 12V then also it is showing undervoltage, setting the speed confiuration in sensorless startup as shown in the image it is not properly set and not getting how to calculate the parameters.

Shubham08_0-1743588915955.png

2)I have set the parameter for overcurrent to 50A but then also it showing error when motor is under no load.

3)In the code how to add such that if the the input supply current is greater than X A then the motor controller should top and for any other error it should wait for 15sec and then clear the error and again try to run the motor.

 

sir don't suggest some file or API like mc_api and all because previously also getting the same response and the problem is not solved Give a code snippet to add and solve the problem