Configuration
UM0896
12/43
Doc ID 17009 Rev 1
5.3
General purpose 5-way joystick SW1
A 5-way general purpose joystick is available on the top side of the board.
5.4 LEDs
4 general purpose LEDs (LD1-LD4) are available on the top side of the board. All LEDs are
switched on when the related GPIO pin is driven low.
5.5 SPI
bus
communication
SPI signals are connected to the MEMS connector, Wi-Fi module and PLM. Use carefully
the signal enable of the listed devices to select only one at a time. SPI signals can be also
configured as analog inputs of the STM32 microcontroller ADC for optionally attached
analog MEMS module. Please refer to
Section 5.7
for details.
Table 7.
Joystick direction mapping
STM32 pin mapping
Joystick function
PE14
Central button
PE13
Direction right
PE12
Direction left
PE11
Direction down
PE10
Direction up
Table 8.
LED mapping
STM32 pin mapping
LED
PD15
LD1
PD14
LD2
PE8
LD3
PE9
LD4
electronic components distributor