HAL Library 33- DMA extension for SPI on STM32Fxxx

SPI DMA library allows you to send and receive data via SPI in non-blocking mode. It can be use for TX only, RX only or both (transmissing mode).

This library is extension for my SPI library. It requires SPI library as basic to make this to work.

Library

Read more about HAL libraries

Features

  • SPI extension for non-blocking TX, RX or both modes
  • Supports all SPI peripherals on STM32F4 and STM32F7 device
  • Supports interrupt processing
  • Allows you to start DMA transmissing and wait till done
    • This is handy when working with RTOS for example and when you have to wait transmissing

Dependencies

  • HAL
  • TM
    • STM32Fxxx HAL
    • defines.h configuration file
    • TM DMA
    • TM SPI

Pinout, functions and enumerations

Pinout, list of functions and its enumerations can be found on SPI library API and SPI DMA library API.

Example

SPI DMA example is available on my Github account.

tilz0R

Owner of this site. Application engineer, currently employed by STMicroelectronics. Exploring latest technologies and owner of different libraries posted on Github.

You may also like...

Read before commenting!

Before you make a new comment, make sure you agree with things listed below:

  • - Read post to make sure if it is already posted what you are asking for,
  • - Make sure you have the latest version of libraries used in your project,
  • - Make a clean and grammatically correct written message,
  • - Report as many details as possible, including what have you done so far,
  • - Do NOT post any code here. Use Pastebin,
  • - Do NOT post any error codes here. Use Pastebin,
  • - Specify STM32Fxxx family and used Discovery/EVAL/Nucleo or custom made board,
  • - Make sure your clock is set correct for PLL,
  • - If you are using my HAL drivers, please check this post how to start.
Comment will be deleted on breaking these rules without notification!