Hardware layout and configuration
UM1065
Doc ID 018640 Rev 4
2.9 Motor
control
The STM3221G-EVAL evaluation board enables a three-phase brushless motor control via
a 34-pin connector (CN5), which provides all required control and feedback signals to and
from the motor power-driving board. Available signals on this connector include emergency
stop, motor speed, 3-phase motor current, bus voltage, heatsink temperature (coming from
the motor driving board) and 6 channels of PWM control signal going to the motor driving
circuit.
The solder bridge (SB18) allows to choose two kinds of synchronization methods for PFCs
(Power Factor Correction) while the SB17 can be set for different signals on pin 31 of CN5.
The I/O pins used on motor control connector CN5 are multiplexed with some peripherals on
the board; either motor control connector or multiplexed peripherals can be enabled by the
setting of solder bridges SB10, SB11, SB12, SB14, SB15 and SB16.
Note:
1
Some 0 ohm resistors have to be removed or soldered to enable motor control application
except the solder bridges configurations mentioned above:
– R34, R58 & R51 to be removed
– R66, R204 & R205 to be soldered
2
MicroSD Card must be removed from CN6 for motor control application.
Table 7.
Motor control solder bridges
Solder
bridge
Description
Multiplexed
peripherals
SB18
When closed, SB18 redirects the PFC synchronized signal to timer 3
input capture pin 2 in addition to the timer 3 external trigger input.
Default setting: Open
SB17
For CN5 encoder signal input (pin 31), SB17 must be open.
For CN5 special motor analog signal input (pin 31), SB17 must be
closed.
Default setting: Open
SB16
To connect MC_EmergencySTOP to PI4, close SB16.
Default setting: Open
Camera module
connected to
CN15
SB10
To connect MC_EnIndex to PB8, close SB10.
Default setting: Open
Ethernet
SB11
To connect MC_CurrentA to PC1, close SB11.
Default setting: Open
SB12
To connect MC_CurrentB to PC2, close SB12.
Default setting: Open
SB14
To connect MC_EnB to PD13, close SB14.
Default setting: Open
FSMC
SB15
To connect MC_EnA to PD12 close SB15.
Default setting: Open