Setting up the STM32MP1 SOM Starter Kit
This note explains how to set up the STM32MP1 SOM Starter Kit hardware.
The kit includes the following items:
STM32MP1 module (SOM-STM32MP1);
Development baseboard (STM32MP1-BSB);
LCD panel (4.3" 480x272 LCD with capacitive touchscreen).
The Starter Kit provides the following hardware components and interfaces:
To power the kit up, simply connect it to a PC / notebook by plugging a USB Type C cable into the J10 USB Type C connector on the STM32MP1-BSB baseboard. As soon as the connection to the PC has been made, the LED DS1 "POWER" should lit up, indicating that the board is up and running.
Please note that although for most use case scenarios the power provided by the PC via a USB 3x port which is capable only minimum specified current (0.9A) is sufficient to run the kit, theoretically for some very extensive use case scenarios additional power may be required. For such use case scenarios, please apply power to the kit via a USB 3x port with 3.0A current capability.
On the PC host side, the U-Boot/Linux console is available via the J10 dual port UART/USB connector. The software installed on the STM32MP1 SOM configures the serial console for a 115.2 Kbs terminal.
On some Linux distributions, connecting to the dual port UART/USB device causes the Modem Manager package to try opening the TTY device and sending modem commands to it, thus occupying the port. To avoid this effect, the ModemManager package must be disabled on the host with the following command:
$ sudo mv /usr/share/dbus-1/system-services/org.freedesktop.ModemManager.service
/usr/share/dbus-1/system-services/org.freedesktop.ModemManager.service.disabled
On the Linux host, the dmesg
command can be used to figure out the TTY devices corresponding to the two serial consoles:
$ dmesg | tail
[495846.154337] cp210x 1-5.1.5:1.0: cp210x converter detected
[495846.216898] usb 1-5.1.5: reset full-speed USB device number 8 using ehci-pci
[495846.292179] usb 1-5.1.5: cp210x converter now attached to ttyUSB0
[495846.292643] usb 1-5.1.5: cp210x converter now attached to ttyUSB1
The U-Boot/Linux serial console is available on the second USB TTY device. For example:
$ picocom –l /dev/ttyUSB1 –b 115200
To get access to the serial console of the STM32MP1 from a Windows host, install the device driver for the CP2105 USB-UART chip.
To provide network connectivity to the board, connect it into your LAN by plugging a standard Ethernet cable into the lower slot of the dual-port Ethernet connector.
By default, the STM32MP1 SOM is configured to boot Linux from the on-module eMMC device in autoboot mode. After you have applied the power to the kit, you can monitor the Linux boot-up sequence on the serial console. After a while, the Linux startup scripts will bring the Weston compositor graphical interface up on the LCD. Specifically, you should see the following on the display:
Touch the graphical button in the upper left corner to start a new xterm
window. For instance: