2020-11-09 07:58 AM
spi half duplex with dma,change tx ino rx,when finished tx process,start rx process,just set the "spe" bit of spi master(not set cstart bit),dma just starts working,and cntdr goes to zero,then rx process fail,spi report overun error.
2020-11-11 09:20 AM
Hello @Wdong.2 ,
Welcome to the STM32 Community :smiling_face_with_smiling_eyes:.
You can refer to the ready SPI example with STM32CubeH7 MCU package, for data buffer transmission/reception between two boards via SPI using DMA, this will help you as an implementation example and get inspiration to achieve you goal:
STM32Cube_FW_H7_Vx.x.x\Projects\NUCLEO-H7A3ZI-Q\Examples\SPI\SPI_FullDuplex_ComDMA
Hope this helps you.
Imen