STM32MP1 Primer – Day 5
This week's lectures have thus far taught us how to configure and use the STM32MP157x GPIO that is common to both the Cortex-A7 and Cortex-M4 cores. We have also experienced the sensation of sitting on the I2C and USART limbs of the STM32MP157x device tree. Today we will climb the device tree one more time. There's a limb dedicated to providing leaves and branches that enable the STM32MP157x's OpenSTLinux-based SPI peripherals. The configuration of the SPI peripherals within the device tree is quite unique and must be understood thoroughly to enable any of the STM32MP157x SPI peripherals. Today's lecture will be built upon a couple of projects. First, we will code an embedded Linux driver for the popular SSD1306-based display. The SSD1306 is heavily data output-only oriented. The second project will assemble a number of embedded Linux routines designed to drive a MCP23S17 16-bit Expander with Serial Interface. The MCP23S17 driver will contain input capture algorithms as well as standard SPI output routines. Just as we have done all week, we will utilize STM32CubeMX and STM32CubeIDE to generate the device tree assign SPI peripheral GPIO pins and compile our SPI driver source code. The SPI driver code will be capable of interfacing to SPI hardware on the STM32MP157x discovery board's Raspberry Pi 4 and Arduino physical interfaces.
Microprocessors
圖片 | 製造商零件編號 | 說明 | 現有數量 | 價格 | 查看詳情 | |
---|---|---|---|---|---|---|
![]() | ![]() | STM32MP157FAC1 | IC MPU STM32MP1 800MHZ 361TFBGA | 1780 - 即時供貨 | $135.83 | 查看詳情 |
![]() | ![]() | STM32MP157CAA3 | IC MPU STM32MP1 650MHZ 448LFBGA | 319 - 即時供貨 | $142.25 | 查看詳情 |
![]() | ![]() | STM32MP151CAA3 | IC MPU STM32MP1 650MHZ 448LFBGA | 131 - 即時供貨 | $108.17 | 查看詳情 |
![]() | ![]() | STM32MP135FAE7 | 32-BIT ARM CORTEX-A7 900MHZ MPU | 760 - 即時供貨 | $93.76 | 查看詳情 |
![]() | ![]() | STM32MP153CAA3 | IC MPU STM32MP1 650MHZ 448LFBGA | 333 - 即時供貨 | $128.91 | 查看詳情 |
STMicroelectronics Embedded MCU, DSP Evaluation Boards
圖片 | 製造商零件編號 | 說明 | 現有數量 | 價格 | 查看詳情 | |
---|---|---|---|---|---|---|
![]() | ![]() | STM32MP157D-DK1 | DISCOVERY STM32MP157D EVAL BRD | 122 - 即時供貨 | $577.47 | 查看詳情 |
![]() | ![]() | STM32MP135F-DK | DISCOVERY KIT WITH STM32MP135F M | 48 - 即時供貨 | $828.72 | 查看詳情 |
![]() | ![]() | STM32MP157F-DK2 | DISCOVERY STM32MP157F CRYPTO BRD | 85 - 即時供貨 | $901.24 | 查看詳情 |
![]() | ![]() | STM32MP157F-EV1 | STM32MP157F CRYPTO EVAL BRD | 5 - 即時供貨 | $3,573.43 | 查看詳情 |
![]() | ![]() | STM32MP157D-EV1 | STM32MP157D EVAL BRD | 5 - 即時供貨 | $3,418.34 | 查看詳情 |
![]() | ![]() | MIKROE-4122 | PI 4 CLICK SHIELD | 29 - 即時供貨 | $246.96 | 查看詳情 |
![]() | ![]() | STM32MP157A-DK1 | DISCOVERY STM32MP157A EVAL BRD | 0 - 即時供貨 | $577.47 | 查看詳情 |
![]() | ![]() | STM32MP157C-DK2 | DISCOVERY STM32MP157C CRYPTO BRD | 0 - 即時供貨 | $820.65 | 查看詳情 |
![]() | ![]() | STM32MP157C-EV1 | STM32MP157C CRYPTO EVAL BRD | 0 - 即時供貨 | $3,284.57 | 查看詳情 |