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.
Microprocessors
图片 | 制造商零件编号 | 描述 | 可供货数量 | 价格 | 查看详情 | |
---|---|---|---|---|---|---|
![]() | ![]() | STM32MP157FAC1 | IC MPU STM32MP1 800MHZ 361TFBGA | 1780 - 立即发货 |
1 : ¥136.45
托盘
| 查看详情 |
![]() | ![]() | STM32MP157CAA3 | IC MPU STM32MP1 650MHZ 448LFBGA | 329 - 立即发货 |
1 : ¥142.90
托盘
| 查看详情 |
![]() | ![]() | STM32MP151CAA3 | IC MPU STM32MP1 650MHZ 448LFBGA | 181 - 立即发货 |
1 : ¥108.66
托盘
| 查看详情 |
![]() | ![]() | STM32MP135FAE7 | 32-BIT ARM CORTEX-A7 900MHZ MPU | 1010 - 立即发货 |
1 : ¥94.19
托盘
| 查看详情 |
![]() | ![]() | STM32MP153CAA3 | IC MPU STM32MP1 650MHZ 448LFBGA | 333 - 立即发货 |
1 : ¥129.50
托盘
| 查看详情 |
STMicroelectronics Embedded MCU, DSP Evaluation Boards
图片 | 制造商零件编号 | 描述 | 可供货数量 | 价格 | 查看详情 | |
---|---|---|---|---|---|---|
![]() | ![]() | STM32MP157D-DK1 | DISCOVERY STM32MP157D EVAL BRD | 114 - 立即发货 |
1 : ¥580.10
散装
| 查看详情 |
![]() | ![]() | STM32MP135F-DK | DISCOVERY KIT WITH STM32MP135F M | 55 - 立即发货 |
1 : ¥832.49
散装
| 查看详情 |
![]() | ![]() | STM32MP157F-DK2 | DISCOVERY STM32MP157F CRYPTO BRD | 107 - 立即发货 |
1 : ¥905.34
散装
| 查看详情 |
![]() | ![]() | STM32MP157F-EV1 | STM32MP157F CRYPTO EVAL BRD | 25 - 立即发货 |
1 : ¥3,589.69
散装
| 查看详情 |
![]() | ![]() | STM32MP157D-EV1 | STM32MP157D EVAL BRD | 5 - 立即发货 |
1 : ¥3,433.89
散装
| 查看详情 |
![]() | ![]() | STM32MP157A-DK1 | DISCOVERY STM32MP157A EVAL BRD | 0 - 立即发货 |
1 : ¥580.10
散装
| 查看详情 |
![]() | ![]() | STM32MP157C-DK2 | DISCOVERY STM32MP157C CRYPTO BRD | 0 - 立即发货 |
1 : ¥824.38
散装
| 查看详情 |
![]() | ![]() | STM32MP157C-EV1 | STM32MP157C CRYPTO EVAL BRD | 0 - 立即发货 |
1 : ¥3,299.51
散装
| 查看详情 |
![]() | ![]() | MIKROE-4122 | PI 4 CLICK SHIELD | 0 - 立即发货 |
1 : ¥248.08
散装
| 查看详情 |