Hardware layout and configuration
UM2403
24/78
UM2403 Rev 1
no daughterboard on these connector, pin17 must be closed to pin18 on both CN4 and CN5
by jumpers. Thus I2C pull up voltage and reset pull up voltage on CN2 would be the voltage
of VDD.
8.6.6 Motor
Control
The STM32G081B-EVAL Evaluation board supports both asynchronous and synchronous
three-phase brushless motor control via a 34-pins connector CN1, 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, power heatsink coming from the motor driving board and 6 channels of
PWM control signal going to the motor driving circuit.
Daughterboard on CN4 and CN5 must be removed and some jumpers set for motor control
application:
•
Close JP1, JP2 and JP3.
•
Open JP4 and JP6.
•
Open pin2-3 of JP8 and JP10.
8.6.7 Display
and Input devices
The 2.4" color TFT LCD connected to SPI1 port of STM32G081RBT6 and 4 general
purpose color LED's (LD 1,2,3,4) are available as display device. The 4-direction joystick
(B3) with selection key which connected to PA0 and supports wakeup feature. Tamper
button (B2) are also available as input devices.
Note:
The bi-directional voltage translator is implemented on SPI MOSI signal between
STM32G081RBT6 and LCD to support 3-wires serial interface of LCD panel only supports
3-wire SPI port. The direction of this voltage translator is controlled by IO PC12 (the IO PA7
is working as MOSI when PC12 is high or as MISO when PC12 is LOW).
Table 11. LCD modules
2.4” TFT LCD connector CN14
Pin Description
Pin
connection Pin Description
Pin
connection
1
CS
PB8
9
VDD
3.3V
2
SCL
PB3
10
VCI
3.3V
3
SDI
PA7
11
GND
GND
4
RS
-
12
GND
GND
5
WR
-
13
BL_VDD
5V
6
RD
-
14
BL_Control
5V
7
SDO
PB4
15
BL_GND
GND
8
RESET
RESET#
16
BL_GND
GND