Page 1 of 1

STM32F4 SPI Circular transfer

Posted: Wed Aug 02, 2023 8:05 pm
by CsZoli
Dear All,

I'm stuck with the following task:
Would like to send 3 fixed byte value to the SPI bus but ~1000 times sequence (without for loop or large buffer if possible).
Is it possible somehow with circular DMA or any other clever / efficient way?
Please advise.

Many thanks
Zoltan

Re: STM32F4 SPI Circular transfer

Posted: Thu Aug 03, 2023 6:26 am
by Giovanni
Hi,

The SPI driver has a circular mode, see the configuration structure, however it is not possible to send an accurate amount of data, it goes until explicitly stopped.

Giovanni