STM32H7 Using SPI with DMA circular mode
Hello,
i currently use SPI interface of my STM32H7B3I board with DMA (mode circular) to build up a connection to Raspberry Zero W (using Python spidev-lib).
At the beginning, I start HAL_SPI_TransmitReceive_DMA() where the data exchange is initialized.
From then it transfers the bytes (8 for now). But from every transmission cycle the RX-Bytes are shifted left on Raspberry RX and right shifted on STM32 RX.
I tried using normal mode but then only one transmission is done and I havent figured out yet how to clear the responding bits manually.
STM32 is slave (full duplex) and Raspberry is master.
Any ideas?
If you need further informations let me now.
Regards
Clemens
