Hardware description and configuration
2.1
Selecting the chip select and clock lines of the SPI
The chip select and the clock lines of the SPI interface can be selected through dedicated
resistors as indicated in
selection".
R15
Not mounted
0R
R23
0R
Not mounted
When the alternative clock line is selected (CN9 pin 4, CN10 pin 31) the PWM2 signal is no
longer available for multi-motor configurations (see
configuration").
2.2
Multi motor configuration
The expansion boards can be stacked on a single STM32 Nucleo board in order to drive up
to three stepper motors (one for each motor).
The configuration can be changed by mounting the necessary resistors from R1 to R12 as
listed in the Table 5. The other resistors are not mounted.
By default, the stepper driver board is configured for a single motor setup, so board
configurations for multi-motor setups must be changed before stacking the boards on the
STM32 Nucleo.
Number of motors
If the alternative SPI clock line is selected (see
clock lines of the
setup is limited to two motors maximum.
The
Table 6: "Multi-motor setup with alternative SPI clock line"
configuration in this case.
6/9
Table 3: "Chip select line selection"
Table 3: Chip select line selection
R25
0R
Not mounted
Table 4: Chip select line selection
R24
Not mounted
0R
Table 5: Multi-motor setup table
Board
1
1 (bottom)
2
2 (top)
1 (bottom)
3
3 (top)
SPI") the PWM2 step clock is no longer available and the multi-motor
DocID027377 Rev 1
CN5 pin 3, CN10 pin 17 (default)
CN8 pin 3, CN7 pin 32
CN5 pin 6, CN10 pin 9 (default)
CN9 pin 4, CN10 pin 31
Section 2.2: "Multi motor
STCK\\DIR
-
PWM1\\DIR1
PWM1\\DIR1
PWM2\\DIR2
PWM1\\DIR1
2
PWM2\\DIR2
PWM3\\DIR3
Section 2.1: "Selecting the chip select and
and
Table 4: "Chip select line
CS line
CS line
Mounted resistors
(0R)
R1, R4, R7, R12
R1, R4, R7, R10
R2, R5, R8, R12
R1, R4, R7, R10
R2, R5, R8, R11
R3, R6, R9, R12
shows the proper
UM1857
Need help?
Do you have a question about the X-NUCLEO-IHM01A1 and is the answer not in the manual?
Questions and answers