cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F3/F7 SPI with DMA implementation

itanium7000
Associate II
Posted on May 24, 2016 at 09:22

Hello,

I want to use SPI to transmit/receive data on two board (F3 vs F7), that using SPI/DMA. But I don't know how to implement.

I have seen SPI/DMA examples in STM32Cube Firmware packages but it seem transmit/receiver ONCE TIME them sleep sleep forever.

Now, I need to continuous transmission in fulltime. What's way to do that? Put all mechanism of SPI/DMA (HAL_SPI_Transmit_DMA, HAL_SPI_Transmit_DMA...etc,) in a while(){....} or how to do?

I'm doing with 2 board:

1. STM32F3DISCOVER: Read quadrature encorder and send data to STM32F7DISCOVER via SPI/DMA continuously.

2. STM32F7DISCOVER receiver data from STM32F3 continuously. I want to use benefit of SPI/DMA in non-blocking access.

Please help me, thanks!

#!stm32-!spi-!dma
0 REPLIES 0