getting started with the steval-spin3202 evaluation board ......tp4 - speed speed potentiometer...
TRANSCRIPT
September 2017 DocID030941 Rev 1 1/20
www.st.com
UM2278 User manual
Getting started with the STEVAL-SPIN3202 evaluation board, advanced BLDC controller with embedded STM32 MCU
Introduction The STEVAL-SPIN3202 3-phase brushless DC motor driver board is based on the STSPIN32F0A 3-phase controller with integrated STM32 MCU.
It implements a single shunt resistor current reading topology and provides an easy-to-use solution for device evaluation in different applications such as home appliances, fans, drones and power tools.
The board is designed for the sensored or sensorless six-step algorithm and Field Oriented Control with single shunt current sensing.
Figure 1: STEVAL-SPIN3202 evaluation board
Contents UM2278
2/20 DocID030941 Rev 1
Contents
1 Hardware and software requirements ............................................ 5
2 Getting started ................................................................................. 6
2.1 Hardware description and configuration ............................................ 6
2.2 Circuit description .............................................................................. 8
2.2.1 STEP/FOC selection .......................................................................... 8
2.2.2 Hall/encoder_connector motor speed sensor .................................... 9
2.2.3 Overcurrent detection and current sensing measurement ................. 9
2.2.4 Bus voltage sensing circuit ............................................................... 10
2.2.5 Hardware user interface ................................................................... 10
2.2.6 Debug ............................................................................................... 10
2.2.7 Bill of materials ................................................................................. 11
2.2.8 Schematic diagrams ......................................................................... 15
3 Revision history ............................................................................ 19
UM2278 List of tables
DocID030941 Rev 1 3/20
List of tables
Table 1: Hardware setting jumpers ............................................................................................................. 7 Table 2: Connectors, jumpers and test points ............................................................................................ 7 Table 3: Hall/encoder connector (J4) .......................................................................................................... 9 Table 4: Overcurrent thresholds ................................................................................................................. 9 Table 5: STEVAL-SPIN3202 bill of materials ........................................................................................... 11 Table 6: Document revision history .......................................................................................................... 19
List of figures UM2278
4/20 DocID030941 Rev 1
List of figures
Figure 1: STEVAL-SPIN3202 evaluation board ......................................................................................... 1 Figure 2: STEVAL-SPIN3202 evaluation board: jumper and connector positions ..................................... 6 Figure 3: STEVAL-SPIN3202 schematic (1 of 4) ..................................................................................... 15 Figure 4: STEVAL-SPIN3202 schematic (2 of 4) ..................................................................................... 16 Figure 5: STEVAL-SPIN3202 schematic (3 of 4) ..................................................................................... 17 Figure 6: STEVAL-SPIN3202 schematic (4 of 4) ..................................................................................... 18
UM2278 Hardware and software requirements
DocID030941 Rev 1 5/20
1 Hardware and software requirements
Using the STEVAL-SPIN3202 evaluation board requires the following software and hardware:
a Windows ® PC (XP, Vista 7 , Windows 8, Windows 10 ) to install the software package;
a mini-B USB cable to connect the STEVAL-SPIN3202 evaluation board to the PC;
the STSW-SPIN3202 firmware example or the STM32 PMSM six-step software development kit (STSW-STM32100) (both available on www.st.com);
a 3-phase brushless DC motor with compatible voltage and current ratings;
an external DC power supply.
Getting started UM2278
6/20 DocID030941 Rev 1
2 Getting started
To use the board:
1. Check the jumper position according to the target configuration (see Section 2.2.1: "STEP/FOC selection")
2. Connect the motor to J3 connector taking care of the motor phases sequence 3. Supply the board via J2 connector input 1 and 2; the DL1 (red) LED turns on 4. Connect the board to the PC through the USB cable 5. Develop your application using the code examples provided. The STSW-SPIN3202
firmware example also provides pre-compiled binaries that are ready-to-use.
The board maximum ratings are:
power stage supply voltage (VS) from 6.7 V to 45 V;
motor phase current up to 15 Arms.
2.1 Hardware description and configuration
Figure 2: STEVAL-SPIN3202 evaluation board: jumper and connector positions
UM2278 Getting started
DocID030941 Rev 1 7/20
Table 1: Hardware setting jumpers
Jumper Permitted configurations Default condition
JP1 Selection of VREG connected to V motor OPEN
JP2 Selection motor power supply connected to DC power supply CLOSED
JP3 Selection Hall encoder supply to USB (1)/VDD (3) power supply 1-2 CLOSED
JP4 Selection reset of ST-LINK (U4) OPEN
JP5 Selection PA0 connected to Hall 1 OPEN
JP6 Selection PA1 connected to Hall 2 OPEN
JP7 Selection PA2 connected to Hall 3 OPEN
JP8 Selection mode 6STEP(1)/FOC (3) 1-2 CLOSED
J11 Selection mode FOC CLOSED
J12 Selection mode 6STEP OPEN
JP9 Selection PA0 connected to OUT U CLOSED
JP10 Selection PA1 connected to OUT V CLOSED
JP11 Selection PA2 connected to OUT W CLOSED
Table 2: Connectors, jumpers and test points
Name Pin Label Description
J1 1-2 J1 Motor power supply
J2 1-2 J2 Device main power supply (VM)
J3 1-2-3 U, V, W 3-phase BLDC motor phase connection
J4 1-2-3 J4 Hallsensors/encoder connector
4-5 J4 Hall sensors/encoder supply
J5 - J5 USB input ST-LINK
J6
1 3v3 ST-LINK power supply
2 CLK SWCLK of ST-LINK
3 GND GND
4 DIO SWDIO of ST-LINK
J7 1-2 J7 UART (ST-LINK Virtual COM)
J8 1-2 J8 ST-LINK reset
J9 1-2 BOOT Boot mode
J10 1-2 RX/TX Bootloader UART connector
TP1 - VREG 12 V voltage regulator output
TP2 - GND GND
TP3 - VDD VDD
TP4 - SPEED Speed potentiometer output
TP5 - 5V USB supply voltage
TP6 - VBUS Bus voltage feedback
Getting started UM2278
8/20 DocID030941 Rev 1
Name Pin Label Description
TP7 - OUT_U Output U
TP8 - TP8 Output op amp sense 2
TP9 - TP9 PA5 GPIO
TP10 - GND GND
TP11 - OUT_V Output V
TP12 - TP12 GPIO BEMF
TP13 - OUT_W Output W
TP14 - 3V3 3V3 ST-LINK
TP15 - TP15 Output op amp sense 3
TP16 - CLK SWD_CLK
TP17 - I/O SWD_IO
2.2 Circuit description
The STEVAL-SPIN3202 evaluation board provides a complete single-shunt six-step solution consisting of an STSPIN32F0A (advanced BLDC controller with an embedded STM32 MCU) and a triple half-bridge power stage with the NMOS STD140N6F7.
The STSPIN32F0A autonomously generates all the required supply voltages starting from the motor supply: the internal DC/DC buck converter provides 3.3 V and the internal linear regulator provides 12 V for the gate drivers.
The current feedback signal conditioning is performed through the operational amplifiers embedded in the device and an internal comparator performs overcurrent protection via the shunt resistor.
Two user buttons, two LEDs and a trimmer are available to implement simple user interfaces (e.g., starting/stopping the motor and set target speed).
The STEVAL-SPIN3202 evaluation board supports the quadrature encoder and digital Hall sensors for motor position feedback. It also provides the circuitry to sense the motor BEMF (sensorless operation).
The board includes an ST-LINK-V2 which allows the user to debug and download firmware without any extra hardware.
The board also supports sensored or sensorless Field Oriented Control algorithm with single-shunt sensing.
2.2.1 STEP/FOC selection
The user can select between six-step and Field Oriented Control modes by selecting different jumpers on the board.
By default, the six-step mode is selected as per the following configuration:
jumper connected on J12 open and jumper J11 closed;
jumper connected on JP8 between pin 1 and 2 (6 STEP position).
The Field Oriented Control mode is selected as follows:
jumper connected on J12 closed and remove jumper from J11;
jumper connected on JP8 between pin 2 and 3 (FOC position).
UM2278 Getting started
DocID030941 Rev 1 9/20
2.2.2 Hall/encoder_connector motor speed sensor
The STEVAL-SPIN3202 evaluation board supports the digital Hall and quadrature encoder sensors as motor position feedback.
The sensors can be connected to the STSPIN32F0A by closing jumpers JP5, JP6 and JP7 (open by default).
When JP5, JP6 and JP7 are closed (Hall/encoder mode), JP9, JP10 and JP11should be respectively open (BEMF sensing mode).
The Hall sensor/encoder should be connected to J4 as per the following table.
Table 3: Hall/encoder connector (J4)
Name Pin Description
Hall1/A+ 1 Hall sensor 1/encoder out A+
Hall2/B+ 2 Hall sensor 2/encoder out B+
Hall3/Z+ 3 Hall sensor 3/encoder zero feedback
VDD sensor 4 Sensor supply voltage
GND 5 Ground
A protection resistor of 1 kΩ is mounted in series with the sensor outputs.
For sensors requiring an external pull-up, three 10 kΩ resistors are already mounted on the output lines and connected to the VDD voltage. On the same lines, a footprint for pull-down resistors is also available.
The jumper JP3 selects the power supply for the sensor supply voltage:
jumper between pin 1 and pin 2: Hall sensors powered by VUSB (5 V)
jumper between pin 1 and pin 2: Hall sensors powered by VDD (3.3 V)
2.2.3 Overcurrent detection and current sensing measurement
The STEVAL-SPIN3202 evaluation board implements overcurrent protection based on the STSPIN32F0A integrated OC comparator.
The shunt resistor measures the load current. Resistors R26 and R27 bring the voltage signal to the OC_COMP pin. When the peak current flowing though the shunt exceeds the selected threshold, the integrated comparator is triggered and all the high side power switches are disabled.
The current threshold of the STEVAL-SPIN3202 varies according to the STSPIN32F0A OC threshold as listed in the following table.
Table 4: Overcurrent thresholds
PF6 PF7 Internal comp. threshold OC threshold
0 1 100 mV 20 A
1 0 250 mV 65 A
1 1 500 mV 140 A
Getting started UM2278
10/20 DocID030941 Rev 1
2.2.4 Bus voltage sensing circuit
The STEVAL-SPIN3202 evaluation board provides the bus voltage sensing. This signal is set through a voltage divider by the motor supply voltage (VBUS, R10 and R16) and sent to the PB1 GPIO (the ADC channel 9) of the embedded MCU. The signal is also available on the TP6.
2.2.5 Hardware user interface
The board provides the following hardware user interface:
potentiometer (R6 setting, for example, the target speed)
switch SW1 (to reset STSPIN32F0A MCU and ST-LINK V2)
switch SW2 (user button 1)
Switch SW3 (user button 2)
LED DL3 (user LED 1, turned on when the user 1 button is pressed too)
LED DL4 (user LED 2, turned on when the user 2 button is pressed too)
2.2.6 Debug
The STEVAL-SPIN3202 evaluation board embeds an ST-LINK/V2-1 debugger/programmer.
The ST-LINK features:
USB software re-enumeration
virtual com port interface on USB connected to the STSPIN32F0A (UART1) PB6/PB7 pins
mass storage interface on USB
The ST-LINK is supplied by the host PC through the USB cable connected to the board.
The LED LD1 provides ST-LINK communication status information:
Red LED flashing slowly: at power-on before USB initialization
Red LED flashing quickly: following the first successful communication between the PC and ST-LINK/V2-1 (enumeration)
Red LED ON: the initialization between the PC and ST-LINK/V2-1 is complete
Green LED ON: successful target communication initialization
Red/green LED flashing: during communication with target
Green ON: communication successfully completed
The reset function is activated by removing the jumper J8.
UM2278 Getting started
DocID030941 Rev 1 11/20
2.2.7 Bill of materials
Table 5: STEVAL-SPIN3202 bill of materials
Item Q.ty Ref. Part/Value Description Manufacturer Order code
1 15
C1, C5, C7, C8,
C9, C11, C19, C20, C26, C27, C28, C29, C33, C34,
C37
100nF 50V ±15% 603
CER N.A. 100NF_50V_X7R_0603
2 1 C2 22µF 63V ±20% L8.3_W8.3_H9.5
ALU PANASONIC EEEFK1J220P
3 4 C3, C25, C40, C41
220nF 100V ±15% 805
CER N.A. 220NF_100V_X7R_0805
4 1 C4 10µF 25V ±20% D4_H5.5
ALU WURTH 865080440002
5 1 C6 3.3nF 50V ±15% 603
CER N.A. 3.3NF_50V_X7R_0603
6 1 C10 47µF 6.3V ±20% 805
CER N.A. 47UF_6.3V_X5R_0805
7 2 C12, C13 1 nF 50 V ±15% 603
CER N.A. 1NF_50V_X5R_0603
8 2 C14, C18 4.7nF 50V ±15% 603
CER N.A. 4.7NF_50V_X7R_0603
9 1 C15 100pF 50V ±15% 603
CER N.A. 100PF_50V_X5R_0603
10 2 C16, C17
220µF 63V ±20% L13.5_W13.5_H15
ALU PANASONIC EEVFK1J221Q
11 1 C21 220pF 50V ±15% 603
CER N.A. 220PF_50V_X7R_0603
12 5 C22, C23, C24, C35,
C36
10pF 50V 0.1 603
CER N.A. 10PF_50V_COG_0603
13 2 C30, C31 1µF 10V ±15% 603
CER N.A. 1UF_10V_X7R_0603
14 1 C32 10nF 50V ±15% 603
CER N.A. 10NF_50V_X7R_0603
15 2 C38, C39 NP 63V ±20% D12.5_H22_P5
ALU N.A. 220UF_63V_RADIAL_D12.5_H22_P5
16 3 C42, C43,
C44 68PF 50V ±15% 603
CER N.A. 68PF_50V_X7R_0603
17 1 DL1 RED 603 LED WURTH 150060RS75000
18 1 DL2 RED 805 LED WURTH 150080RS75000
19 2 DL3, DL4 YELLOW 603 LED WURTH 150060YS75000
Getting started UM2278
12/20 DocID030941 Rev 1
Item Q.ty Ref. Part/Value Description Manufacturer Order code
20 1 D1 STPS0560Z SOD123
SCHOTTKY ST STPS0560Z
21 7
D2, D9, D10, D11, D12, D13,
D14
BAT30KFILM SOD523
SCHOTTKY ST BAT30KFILM
22 6 D3, D4, D5, D6, D7, D8
4148WS SOD323
DIODE N.A. 4148WS
23 5 JP1, JP4, JP5, JP6,
JP7 OPEN 805 RES N.A. TIN-DROP OPEN
24 4 JP2, JP9,
JP10, JP11 CLOSE 805 RES N.A. TIN-DROP CLOSE
25 2 JP3, JP8 61300311121 HEADER WURTH 61300311121
26 6
JUMPER1 JUMPER2 JUMPER3 JUMPER4 JUMPER5 JUMPER6
BLACK JUMPER WURTH 60900213621
27 2 J1, J2 691213510002 SCREW WURTH 691213510002
28 1 J3 691213510003 SCREW WURTH 691213510003
29 1 J4 61300511121 HEADER WURTH 61300511121
30 1 J5 65100516121 USB WURTH 65100516121
31 1 J6 61300411121 HEADER WURTH 61300411121
32 5 J7, J8, J9, J11, J12
61300211121 HEADER WURTH 61300211121
33 1 J10 NP HEADER WURTH 61300211121
34 1 LD1 RED-GREEN PLCC4
LED AVAGO HSMF-A201-A00J1
35 1 L1 22µH 0.6A ±20% L3_W3_H1.5
INDUCTOR WURTH 744 040 322 20
36 1 M8 GX_3xx PCB N.A. PCB GX rev3 - 2 layers
37 2 N1, N2 NETS_L1_W0.5 COPPER N.A. NETS_L1_W0.5
38 6 Q1, Q2, Q3, Q4, Q5, Q6
N-MOS DPAK CMS ST STD140N6F7
39 1 Q7 NPN SOT23 CMS ON SEMICONDUCTOR
BC847BL
40 1 R1 39K 1/10W ±5% 603
RES N.A. 39K_5%_0603
UM2278 Getting started
DocID030941 Rev 1 13/20
Item Q.ty Ref. Part/Value Description Manufacturer Order code
41 7
R2, R7, R8, R62,
R63, R67, R73
100R 1/10W ±5% 603
RES N.A. 100R_5%_0603
42 1 R3 330R 1/10W ±5% 603
RES N.A. 330R_5%_0603
43 2 R4, R5 120R 1/10W ±5% 603
RES N.A. 120R_5%_0603
44 1 R6 100K 1/2W 0.1 L9.5_W4.9_H9.5
TRIMMER BOURNS 3386G-1-104-LF
45 6 R9, R14,
R43, R50, R51, R52
0R 1/10W ±5% 603
RES N.A. 0R_5%_0603
46 1 R10 169K 1/8W ±1% 805
RES N.A. 169K_1%_0805
47 3 R11, R48,
R49 680R 1/8W ±5% 805
RES N.A. 680R_5%_0805
48 1 R12 5.6K 1/10W ±5% 603
RES N.A. 5.6K_5%_0603
49 9
R13, R45, R46, R47, R53, R54, R55, R65,
R71
10K 1/10W ±5% 603
RES N.A. 10K_5%_0603
50 1 R15 8.2K 1/10W ±5% 603
RES N.A. 8.2K_5%_0603
51 1 R16 9.31K 1/8W ±1% 805
RES N.A. 9.31K_1%_0805
52 6 R17, R22, R31, R35, R39, R41
10R 1/10W ±5% 603
RES N.A. 10R_5%_0603
53 6 R18, R23, R32, R36, R40, R42
62R 1/10W ±5% 603
RES N.A. 62R_5%_0603
54 1 R19 15K 1/10W ±5% 603
RES N.A. 15K_5%_0603
55 1 R20 1.2K 1/10W ±5% 603
RES N.A. 1.2K_5%_0603
56 5 R21, R59, R60, R61,
R72 NP 603 RES N.A. R_NP_0603
57 3 R24, R25,
R28 2.2K 1/10W ±5% 603
RES N.A. 2.2K_5%_0603
58 2 R26, R27 0.02R 2W ±5% 2512
RES N.A. 0R02_1%_2512
59 4 R29, R56, R57, R58
1K 1/10W ±5% 603
RES N.A. 1K_5%_0603
Getting started UM2278
14/20 DocID030941 Rev 1
Item Q.ty Ref. Part/Value Description Manufacturer Order code
60 2 R30, R70 100K 1/10W ±5% 603
RES N.A. 100K_5%_0603
61 1 R33 560R 1/10W ±5% 603
RES N.A. 560R_5%_0603
62 2 R34, R38 18K 1/10W ±5% 603
RES N.A. 18K_5%_0603
63 1 R37 33K 1/10W ±5% 603
RES N.A. 33K_5%_0603
64 4 R44, R69, R74, R75
4.7K 1/10W ±5% 603
RES N.A. 4.7K_5%_0603
65 1 R64 1.5K 1/10W ±5% 603
RES N.A. 1.5K_5%_0603
66 1 R66 36K 1/10W ±5% 603
RES N.A. 36K_5%_0603
67 1 R68 2.7K 1/10W ±5% 603
RES N.A. 2.7K_5%_0603
68 3 SW1, SW2,
SW3
430483025816 L6.2_W6.2_H2.5
BUTTON WURTH 430483025816
69 10
TP1, TP2, TP3, TP4, TP5, TP7,
TP10, TP11, TP13, TP14
S1751-46R TEST POINT HARWIN S1751-46R
70 5 TP6, TP8,
TP9, TP12, TP15
TPSMD-1MM TEST POINT N.A. TPSMD-1MM
71 2 TP16, TP17
NEEDLE-PAD-1.7mm
TEST POINT N.A. NEEDLE-PAD-1.7mm
72 1 U1 STSPIN32F0A VFQFPN48_L7_W7_P.5
DRIVER ST STSPIN32F0A
73 1 U2 USBLC6-2SC6 SOT23-6L
TVS/ESD/EMI ST USBLC6-2SC6
74 1 U3 LD3985M33R SOT23-5
CONVERTER ST LD3985M33R
75 1 U4 STM32F103CBT6 LQFP48
MCU ST STM32F103CBT6
76 1 X1 8MHz L3.2_W2.5
QUARTZ NDK NX3225GD 8MHz EXS00A-CG04874
UM2278 Getting started
DocID030941 Rev 1 15/20
2.2.8 Schematic diagrams
Figure 3: STEVAL-SPIN3202 schematic (1 of 4)
RE
SE
T
2R
ES
U1
RE
SU
BO
UR
NS
3386G
-1-1
04LF
SP
EE
D
VM
VR
EG
VD
D
VD
D
VD
D
VD
D
VD
DV
DD
VD
D
VD
D
OP
2P
OP
2N
OP1N
OP1P
UART1_TX
OP3P
UART1_RX
OP3N
PF
0
PF
1
PA
0
PA
1
PA2
CURR ENT_REF
PA4
PA5
PA3
GPIO_BEMF
PB1
OP1O
OP3O
OCCOMPSWD_IO
SWD_CLK
PA15
NR
ST
LS
U
HS
U
LS
V
HS
V
LS
W
HS
W
OU
TU
OU
TV
OU
TW
NR
ST
PF
0P
F1
PA
3
OP
2O
PA15
PA5
SWD_CLK
+C
2
22
UF
R7
100
R
C1
1
100
NF
DL
1
RE
D
J9
6130021112
1
12
TP
2
1
SW
3
43048302581
6
13 4
2
C8
100
NF
R1
39
K
R1
3
10
K
R5
120
R
C7
100
NF
JP
1
OP
EN
12
SW
1
43048302581
6
13 4
2
C1
2
1N
F
TP
1 1
J1
0
6130021112
1
1
2
U1
ST
SP
IN32
F0
A
OP
2P
1
OP
2N
2
OP
2O
3
PF
04
PF
15
VR
EG
12
6
NR
ST
7
VM
8
SW
9
VD
DA
10
PA
01
1
PA
11
2
PA 213
PA 314
PA 415
PA 516
PA 617
PA 718
PB 119
TES TMODE20
OP1O21
OP1N22
OP1P23
OCC OMP24
HS
W2
5O
UT
W2
6V
BO
OT
W2
7L
SW
28
HS
V2
9
VB
OO
TV
31
LS
V3
2
OU
TV
30
OU
TU
34
LS
U3
6
HS
U3
3
VB
OO
TU
35
PA 1337 PA 1438 PA 1539 PB 640 PB 741 BOO T042 RESE RVE D43 GND44 OP3P45 OP3N46 OP3O47 VDD48
EPAD
TP
4
1
C9
100
NF
D1
ST
PS
0560
Z
C3
220
NF
R1
4
0R
R3
330
R
R8
100
R
L1
22u
H
744
040
322
20
R4
120
R
C1
4
4.7
NF
SW
2
43048302581
6
13 4
2
DL
3
YE
LL
OW
R2
100
R
JU
MP
ER
6
TP
3
1
C1
0
47
UF
C1
3
1N
F
+C
4
10
UF
TP
9
TP
SM
D-1
MM
1
C6
3.3
NF
R6
100
K
1 3
2
C1
100
NF
DL
4
YE
LL
OW
C5
100
NF
Getting started UM2278
16/20 DocID030941 Rev 1
Figure 4: STEVAL-SPIN3202 schematic (2 of 4)
1 2 3 4 5
S1
75
1-4
6R
R6
0
NP
R2
7
OU
TU
10
R
R3
9
10
K
R5
3
1
TP
13
HO
22
0N
F
C3
9 NP
220µF
M3
1
D4
R2
3
62
R
10
R
R1
7
NP
R6
1
HO
LE
_3
.2M
M_
6
HO
68
0R R
49
R4
1
10
R
VM
LS
V
1
2
HS
U
SE
NS
EP
C2
3C
22
_6
41
48
WS
00
3
22
0N
F
LE
_3
.2M
M
3
N2
D8
N-M
OS
1K
R5
6
2
OU
TW
1
TP
11
OP
TIC
AL
_TA
RG
ET
220µF
VB
US
2
C4
1
JP
7O
PE
N
3
220µF
VU
SB
10
PF
J4
GX
_3
xx
61
30
05
111
21
10
PF
M6
2
_6
0.0
2R
HO
R4
2
62
R
2
Q1
10
K
R5
5
D5
41
48
WS
JP
2
Q6
N-M
OS
2
LE
_3
.2M
M
M4
C1
6
VD
D
C1
7
1
R1
8
62
R
11
1
R5
81
K
000
PA
2
2
41
48
WS
LE
_3
.2M
M
PA
1
TP
10
41
48
WS
68
0R
CL
OS
E
N-M
OS
1
N-M
OS
LS
U
JU
MP
ER
1
M8
LS
W
VB
US
R5
71
K
M2
1
J3
69
12
13
51
00
03
2
2
D7
C2
4
10
PF
2
1
_6
DL
2
RE
D
S1
75
1-4
6R
3
1
1
R3
6
62
R
D6
41
48
WS
C4
01
M1
Q5
VB
US
VD
D
OP
TIC
AL
_TA
RG
ET
N-M
OS
Q2
R4
0
62
R
68
0R
R4
8
PA
0
R3
1
10
R
S1
75
1-4
6R
41
48
WS
J2
69
12
13
51
00
02
TP
7
3
D3
2
62
R
R3
2
2
Q3
61
30
03
111
21
JP
3
C3
8
220µF
NP
31
J1
69
12
13
51
00
02
R2
6
0.0
2R
JP
5O
PE
N
Q4
SE
NS
EN
N1
R11
M5
R2
2
10
R
3
OU
TV
C2
5
22
0N
F
1
32
1
OP
TIC
AL
_TA
RG
ET
M7
JP
6O
PE
N
10
R
R3
5
HS
V
1
VB
US
S1
75
1-4
6R
10
K
R5
4
2
N-M
OS
HS
W
NP
R5
9
UM2278 Getting started
DocID030941 Rev 1 17/20
Figure 5: STEVAL-SPIN3202 schematic (3 of 4)
+-
- +
OC
Com
p
OC
RE
F
OC
+-+-
VB
US
Feedback
6 STEP FOC
R12 5.6K 15K
Jumper 4
Jumper 3
CLOSEDOPEN
1-2 2-3
Jumper 5 OPENCLOSED
VB
US
VD
D
VD
DV
DD
VD
D
VD
D
OP
1O
OP
1N
OP
1P
OP
2O
OP
2N
OP
2P
OP
3N
OP
3O
OP
3P
OC
CO
MP
PB
1
SE
NS
EN
SE
NS
EP
CU
RR
EN
T_
RE
F
GP
IO_
BE
MF
PA
0P
A1
PA
2O
UT
UO
UT
VO
UT
W
PA
4
SE
NS
EP
TP
12
TP
SM
D-1
MM
1
D2
BA
T3
0K
FIL
M
R2
4
2.2
K
R2
5
2.2
K
R2
8
2.2
KC
43
68
PF
R1
5
8.2
K
R2
01
.2K
J1
2
1
2
TP
8
TP
SM
D-1
MM
1
JP
8
61
30
03
11
12
1
13
2
R1
9
15
K
D9
BA
T3
0K
FIL
M
D1
1
BA
T3
0K
FIL
M
JU
MP
ER
5
JP
11
CL
OS
E12 C
44
68
PF
JU
MP
ER
3
D1
0
BA
T3
0K
FIL
M
TP
15
TP
SM
D-1
MM
1
R1
6
9.3
1K
C2
1
22
0P
F
J1
1
1
2
D1
4
BA
T3
0K
FIL
M
JU
MP
ER
4
TP
6
TP
SM
D-1
MM
1
JP
9
CL
OS
E12R
29
1K
D1
3
BA
T3
0K
FIL
M
R3
4
18
K
R4
4
4.7
K
R2
1
NP
R9
0R
C1
8
4.7
NF
D1
2
BA
T3
0K
FIL
M
R3
3
56
0R
R3
81
8K
R1
0
16
9K
R4
5
10
K
R4
7
10
K
R4
6
10
K
C4
2
68
PF
R1
25
.6K
JP
10
CL
OS
E12
C1
9
10
0N
F
C1
51
00
PF
R3
7
33
K
Getting started UM2278
18/20 DocID030941 Rev 1
Figure 6: STEVAL-SPIN3202 schematic (4 of 4)
TX
RX
D-
D+
ST
LIN
KF
W L
OA
D
3V
3_
ST
LIN
K
3V
3_
ST
LIN
K
VD
D
3V
3_
ST
LIN
K
3V
3_
ST
LIN
K
VU
SB
3V
3_
ST
LIN
K
VU
SB
VU
SB
3V
3_
ST
LIN
K
VD
D
UA
RT
1_
TX
UA
RT
1_
RX
SW
D_
IO
SW
D_
CL
K
NR
ST
R7
5
4.7
K
TP
14
S1751
-46
R
1
C2
9
100
NF
JU
MP
ER
2
J8
6130021112
1
1
2
C3
6
10
PF
R6
2100
R
R7
110
K
J6
1 2 3 4
C3
2
10
NF
R6
5
10
KU
3
LD
3985
M33
RGN
D2
OU
T5
VIN
1
BY
PA
SS
4
INH
IBIT
3
R5
10
R
J5
6510051612
1
US
B_
VC
C1
US
BD
M2
US
BD
P3
US
B_
GN
D5
SH
EL
L6
SH
EL
L7
SH
EL
L8
ID4
SH
EL
L9
R7
3
100
R
TP
16
1
R6
3100
R
R6
6
36
K
C3
7
100
NF
R5
00
R
C3
4100
NF
R3
0
100
K
R6
8
2.7
K
U4
ST
M32
F103
CB
T6
PB
743
PB
642
PB
541
PB
4/J
NT
RS
T40
PB
3/J
TD
O39
PA
0-W
KU
P10
PA
111
PA
212
PA
313
PA
414
PA
515
PA
616
PA
717
PA
829
PA
930
PA
10
31
PA
11
32
PA
12
33
PA
13
34
PB
018
PB
119
PB
2/B
OO
T1
20
PB
845
PB
946
PB
10
21
PB
11
22
PB
12
25
PB
13
26
PB
14
27
PB
15
28
PC
13-
TA
MP
ER
-RT
C2
PC
14-O
SC
32
_IN
3
PC
15-
OS
C3
2_
OU
T4
VS
S_1
23
OS
CIN
/PD
05
NR
ST
7
OS
CO
UT
/PD
16
VS
SA
8
VS
S_2
35
VS
S_3
47
VB
AT
1
PA
14
37
PA
15
38
VD
D_1
24
BO
OT
044
VD
D_3
48
VD
D_2
36
VD
DA
9
R5
20
R
C3
5
10
PF
X1
8M
Hz
C3
3
100
NF
JP
4
OP
EN
12
Q7
NP
N
1
23
R6
9
4.7
K
C3
1
1U
F
C2
7
100
NF
U2
US
BL
C6
-2S
C6
I/O
1#
11
GN
D2
VB
US
5
I/O
2#
44
I/O
1#
66
I/O
2#
33
R7
4
4.7
K
R6
7
100
R
R4
30
R
C2
6
100
NF
R7
2N
P
C2
8
100
NF
TP
5
S1751
-46
R
1
C2
0
100
NF
R6
4
1.5
K
R7
0100
K
TP
17
1
J7
6130021112
1
12
C3
0
1U
F
RE
D-G
RE
EN
LD
1
K1
A1
K2
A2
US
B_
DP
US
B_
DM
US
B_
RE
NU
MS
WD
IO
ST
LIN
K_
TX
ST
LIN
K_
RX
T_
NR
ST
LE
D_
ST
LIN
K
LE
D_
ST
LIN
K
FM
_S
WC
LK
US
B_
DM
US
B_
RE
NU
M
US
B_
DP
FM
_S
WD
IO
T_
JT
CK
T_
JT
CK
T_
JT
CK
T_
JT
MS
T_
JT
MS
T_
NR
ST
UM2278 Revision history
DocID030941 Rev 1 19/20
3 Revision history Table 6: Document revision history
Date Revision Changes
26-Sep-2017 1 Initial release
UM2278
20/20 DocID030941 Rev 1
IMPORTANT NOTICE – PLEASE READ CAREFULLY
STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications , and improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order acknowledgement.
Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of Purchasers’ products.
No license, express or implied, to any intellectual property right is granted by ST herein.
Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.
ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.
© 2017 STMicroelectronics – All rights reserved