VideoLibrary

STM32MP1 Primer – Day 2

STM32CubeMXwhich front ends STM32CubeIDEdoes not allow us to directly assign STM32MP157x GPIO pins to the Cortex-A7 or Cortex-M4 cores. Thus, blinking LEDs is simply a matter of manually configuring the desired core's GPIO pins that drive the discovery kit's on-board LEDs. HoweverSTM32CubeMX does allow us to assign communications peripherals such as I2C to a specific core. To accomplish this peripheral assignment, we must use the resources provided by the kernel device tree. The device tree describes almost every aspect of a peripheral as it relates to the host STM32MP157x hardware. The level of detail contained within the device tree makes it a difficult thing for us to manually create. FortunatelySTM32CubeMX in conjunction with STM32CubeIDE generates a detailed device tree automatically based on our inputs to STM32CubeMX during the initial project development process. Today we will generate an STM32MP1 embedded Linux project aimed at driving an Accel6 click using the STM32MP157D's I2C peripheral I2C5. We will use STM32CubeMX to generate a device tree that includes our desired I2C5 peripheral. The Accel 6 click's physical interface to the STM32MP157D's I2C peripheral is realized using a Pi 4 click shield attached to the STM32MP157D-DK1's on-board Raspberry Pi compatible pin set.

1/29/2025 8:04:03 PM

Microprocessors

ImagineManufacturer Part NumberDescriereAvailable QuantityPrețVedeți detalii
IC MPU STM32MP1 800MHZ 361TFBGASTM32MP157FAC1IC MPU STM32MP1 800MHZ 361TFBGA1300 - Immediate$72.41Vedeți detalii
IC MPU STM32MP1 650MHZ 448LFBGASTM32MP157CAA3IC MPU STM32MP1 650MHZ 448LFBGA0 - Immediate$75.83Vedeți detalii
IC MPU STM32MP1 650MHZ 448LFBGASTM32MP151CAA3IC MPU STM32MP1 650MHZ 448LFBGA203 - Immediate$57.66Vedeți detalii
32-BIT ARM CORTEX-A7 900MHZ MPUSTM32MP135FAE732-BIT ARM CORTEX-A7 900MHZ MPU446 - Immediate$49.98Vedeți detalii
IC MPU STM32MP1 650MHZ 448LFBGASTM32MP153CAA3IC MPU STM32MP1 650MHZ 448LFBGA313 - Immediate$68.72Vedeți detalii

STMicroelectronics Embedded MCU, DSP Evaluation Boards

ImagineManufacturer Part NumberDescriereAvailable QuantityPrețVedeți detalii
DISCOVERY STM32MP157D EVAL BRDSTM32MP157D-DK1DISCOVERY STM32MP157D EVAL BRD153 - Immediate$351.23Vedeți detalii
DISCOVERY KIT WITH STM32MP135F MSTM32MP135F-DKDISCOVERY KIT WITH STM32MP135F M20 - Immediate$441.76Vedeți detalii
DISCOVERY STM32MP157F CRYPTO BRDSTM32MP157F-DK2DISCOVERY STM32MP157F CRYPTO BRD178 - Immediate$554.84Vedeți detalii
STM32MP157F CRYPTO EVAL BRDSTM32MP157F-EV1STM32MP157F CRYPTO EVAL BRD20 - Immediate$2,284.28Vedeți detalii
STM32MP157D EVAL BRDSTM32MP157D-EV1STM32MP157D EVAL BRD2 - Immediate$1,822.20Vedeți detalii
DISCOVERY STM32MP157A EVAL BRDSTM32MP157A-DK1DISCOVERY STM32MP157A EVAL BRD0 - Immediate$307.83Vedeți detalii
DISCOVERY STM32MP157C CRYPTO BRDSTM32MP157C-DK2DISCOVERY STM32MP157C CRYPTO BRD0 - Immediate$437.46Vedeți detalii
STM32MP157C CRYPTO EVAL BRDSTM32MP157C-EV1STM32MP157C CRYPTO EVAL BRD0 - Immediate$1,750.89Vedeți detalii
PI 4 CLICK SHIELDMIKROE-4122PI 4 CLICK SHIELD30 - Immediate$131.65Vedeți detalii