Users Manual

Pin number Pin name Signal name Function
28 GPIO15 - -
6.27 Motor control
The STM32MP157x-EV1 board supports both asynchronous and synchronous 3-phase brushless motor control
via a 34-pin connector MB1262/CN22, which provides all required control and feedback signals, to and from
motor power-driving board.
Available signals on this connector includes 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 (MC-xH/L)
going to the motor driving circuit.
6.27.1 Motor control IO interface
Because of IO consuming limitation, the motor control IO interface is not enabled by default. As described below,
some board modifications are needed to connect the motor control interface.
Table 43 describes the assignment of the MB1262/CN22 motor control interface and the IO function associated
from the STM32MP157xAA3.
Table 43. Motor control terminal and IO function assignment
Motor Control connector CN22 STM32MP157xAA3 microcontroller
Terminal
Terminal name
Port
name
Function
Alternate
function
Board configurations to
enable Motor Control
1 Emergency Stop PA6 TIM8_BKIN DCMI_PIXCLK Close MB1262/SB22
2 GND - - - -
3 MC_UH PI5 TIM8_CH1 SAI_2_SCK_A
Close MB1262/SB67
Open MB1262/SB9 and SB66
4 GND - - - -
5 MC_UL PH13 TIM8_CH1N CAN_1_TX Close MB1262/SB76
6 GND - - - -
7 MC_VH PI6 TIM8_CH2 SAI_2_SD_A
Close MB1262/SB75
Open MB1262/SB10 and SB73
8 GND - - - -
9 MC_VL PH14 TIM8_CH2N DCMI_D4 Close MB1262/SB21
10 GND - - - -
11 MC_WH PI7 TIM8_CH3 SAI_2_FS_A
Close MB1262/SB65
Open MB1262/SB11 and SB63
12 GND - - - -
13 MC_WL PH15 TIM8_CH3N DCMI_D11 Close MB1262/SB33
14 Bus Voltage PA3 ADC_1_IN15 GPIO6_TIM2_CH4 Close MB1262/SB14
15 PhaseA current PF12 ADC_1_IN6 - Close MB1262/SB20
16 GND - - - -
17 PhaseB current ANA0 ADC_1_IN0 ADC_2_IN0 Close MB1262/SB12
18 GND - - - -
19 PhaseC current ANA1 ADC_2_IN1 - Close MB1262/SB13
20 GND - - - -
21 NTC Bypass PF3 GPIO GPIO7 Close MB1262/SB19
UM2535
Motor control
UM2535 - Rev 2
page 38/59