VideoLibrary
STM32MP1 Primer – Day 5
Coding STM32MP1 Embedded Linux SPI Drivers.. is Day 5 in this series.
Video Player is loading.
Current Time 0:00
Duration 0:00
Loaded: 0%
Stream Type LIVE
Remaining Time 0:00
 
1x
  • Chapters
  • descriptions off, selected
  • subtitles off, selected

      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.

      1/29/2025 8:59:48 PM

      Microprocessors

      图片制造商零件编号描述可供货数量价格查看详情
      IC MPU STM32MP1 800MHZ 361TFBGASTM32MP157FAC1IC MPU STM32MP1 800MHZ 361TFBGA2149 - 立即发货
      1 : ¥136.45
      托盘
      查看详情
      IC MPU STM32MP1 650MHZ 448LFBGASTM32MP157CAA3IC MPU STM32MP1 650MHZ 448LFBGA332 - 立即发货
      1 : ¥142.90
      托盘
      查看详情
      IC MPU STM32MP1 650MHZ 448LFBGASTM32MP151CAA3IC MPU STM32MP1 650MHZ 448LFBGA184 - 立即发货
      1 : ¥108.67
      托盘
      查看详情
      32-BIT ARM CORTEX-A7 900MHZ MPUSTM32MP135FAE732-BIT ARM CORTEX-A7 900MHZ MPU1026 - 立即发货
      1 : ¥94.19
      托盘
      查看详情
      IC MPU STM32MP1 650MHZ 448LFBGASTM32MP153CAA3IC MPU STM32MP1 650MHZ 448LFBGA333 - 立即发货
      1 : ¥129.50
      托盘
      查看详情

      STMicroelectronics Embedded MCU, DSP Evaluation Boards

      图片制造商零件编号描述可供货数量价格查看详情
      DISCOVERY STM32MP157D EVAL BRDSTM32MP157D-DK1DISCOVERY STM32MP157D EVAL BRD147 - 立即发货
      1 : ¥580.13
      散装
      查看详情
      DISCOVERY KIT WITH STM32MP135F MSTM32MP135F-DKDISCOVERY KIT WITH STM32MP135F M36 - 立即发货
      1 : ¥832.52
      散装
      查看详情
      DISCOVERY STM32MP157F CRYPTO BRDSTM32MP157F-DK2DISCOVERY STM32MP157F CRYPTO BRD61 - 立即发货
      1 : ¥905.38
      散装
      查看详情
      STM32MP157F CRYPTO EVAL BRDSTM32MP157F-EV1STM32MP157F CRYPTO EVAL BRD25 - 立即发货
      1 : ¥3,589.83
      散装
      查看详情
      STM32MP157D EVAL BRDSTM32MP157D-EV1STM32MP157D EVAL BRD5 - 立即发货
      1 : ¥3,434.03
      散装
      查看详情
      PI 4 CLICK SHIELDMIKROE-4122PI 4 CLICK SHIELD20 - 立即发货
      1 : ¥248.09
      散装
      查看详情
      DISCOVERY STM32MP157A EVAL BRDSTM32MP157A-DK1DISCOVERY STM32MP157A EVAL BRD0 - 立即发货
      1 : ¥580.13
      散装
      查看详情
      DISCOVERY STM32MP157C CRYPTO BRDSTM32MP157C-DK2DISCOVERY STM32MP157C CRYPTO BRD0 - 立即发货
      1 : ¥824.42
      散装
      查看详情
      STM32MP157C CRYPTO EVAL BRDSTM32MP157C-EV1STM32MP157C CRYPTO EVAL BRD0 - 立即发货
      1 : ¥3,299.65
      散装
      查看详情