
6. Rotate the potentiometer on X-NUCLEO-IHM16M1 to regulate the motor speed.
1. To supply the NUCLEO-G431RB from the USB, the jumper JP5 must be connected between Pin 1 and Pin 2. For further
details on Nucleo settings refer to [3].
2. Supply voltage must be off before changing the control mode.
4.3 Hardware settings
Table 3 shows the jumper configuration on the X-NUCLEO-IHM16M1 board as shown in Figure 6. According to
the jumper selection, it is possible to choose the 1-shunt or 3-shunt current-sensing mode, the Hall encoder with
pull-up, or the external supply for the NUCLEO-G431RB board.
Table 3. Jumper settings
Jumper Permitted configuration Default
condition
J5 Selection of the FOC control algorithm. CLOSED
J6 Selection of the FOC control algorithm. CLOSED
J2 Selection of the HW current limiter threshold (disabled in 3-shunt configuration by
default).
[2-3]
CLOSED
J3 Selection of fixed or adjustable current limiter threshold (fixed by default). [1-2]
CLOSED
JP4 and JP7(1) Selection of 1-shunt or 3-shunt configuration (3-shunt by default). OPEN
1. JP4 and JP7 must have both the same configuration: both left open for 3-shunt configuration, both closed for 1- shunt
configuration. On the silkscreen, the correct position for 3- or 1-shunt is indicated together with the default position.
Table 4 shows the main connectors on the X-NUCLEO-IHM16M1 board.
Table 4. Screw terminal table
Screw terminal Function
J4 Motor power supply input (7 to 45 Vdc)
CN1 3-phase motor connector (U,V,W) and Motor Power Supply input (when J4 is not used)
The X-NUCLEO-IHM16M1 is stacked on ST morpho connectors, male pin headers (CN7 and CN10) accessible
on both sides of the board. They can be used to connect this power board to the NUCLEO-G431RB board. All
signals and power pins for the MCU are available on the ST morpho connectors. For further details refer to the
“ST morpho connectors” section in [3].
Table 5. Connector description
Part reference Description
CN7, CN10 ST morpho connector
CN5, CN6, CN9, CN8 Arduino Uno connector
U1 STSPIN830 driver
U2 TSV994IPT op. amp.
J4 Power-supply jack connector
J5, J6 Jumpers for FOC use
SPEED Potentiometer
CN1 Motor- and power-supply connector
UM2538
Hardware settings
UM2538 - Rev 1 page 9/27