X-CUBE-SPI-EMUL:Full duplex SPI emulation for STM32F4 microcontrollers, software expansion for STM32Cube (AN4678)

The X-CUBE-SPI-EMUL embedded software provides an emulated simplex or full-duplex SPI in the master and slave modes.

The SPI emulator is needed in applications that require more SPIs.

The X-CUBE-SPI-EMUL embedded software also offers two examples of communication between a hardware and a software SPI.

For more details refer to the application note AN4678.

Key Features

  • Simplex/full-duplex, synchronous, serial communication
  • Master and slave operations
  • SPI clock up to 6 MHz in full-duplex mode with CPU operating at 168 MHz
  • Programmable data word length: 8 and 16 bits
  • Programmable clock polarity and phase
  • Programmable data order with MSB-first or LSB-first shifting
  • Flexible GPIO usage: all GPIOs can be configured as SPI MOSI/MISO
  • Status flags/interrupt
Product Specifications
DescriptionVersionSize
DB2659: Full-duplex SPI emulation software expansion for STM32Cube1.0119 KB
Application Notes
DescriptionVersionSize
AN4678: Full duplex SPI emulation for STM32F4 microcontrollers1.01 MB
Brochures
DescriptionVersionSize
STM32 Open Development Environment Brochure15.104 MB
License Agreement
DescriptionVersionSize
SLA0048: Mix Liberty + OSS + 3rd- party V1 - SOFTWARE LICENSE AGREEMENT2.18112 KB
Get Software
Part NumberSoftware VersionSupplier
X-CUBE-SPI-EMUL1.0.0ST
Full-duplex SPI emulation software expansion for STM32Cube X-CUBE-SPI-EMUL
Full duplex SPI emulation for STM32F4 microcontrollers X-CUBE-SPI-EMUL
Getting started with X-CUBE-SPN6, low voltage stepper motor driver software expansion for STM32Cube X-CUBE-SPN6
Mix Liberty + OSS + 3rd- party V1 - SOFTWARE LICENSE AGREEMENT STSW-STM32019