The issue with STM32H745 SPI with DMA communication with two boards.
- June 21, 2022
- 2 replies
- 1317 views
Hello Support Team,
Please find the below issue description along with the attached code.
Please suggest how we can fix this issue.
I have developed the SPI with DMA code for STM32H745-DISC (Discovery board). I have flashed master code on the first board and salve code on the second board.
Both the board are not able to communicate over SPI with each other.
I have debugged well and found that callback doesn't also register and is not executed.
For transmitting and receiving the data from one STM32H745-DISC board to another STM32H745-DISC board.I have used HAL_SPI_TransmitReceive_DMA() API and written our own callback API (void HAL_SPI_TxRxCpltCallback(SPI_HandleTypeDef *hspi)).
For the same code, It is working fine with STM32F746-DISC boards.
Environment Scenario Details.
i) STM32Cube IDE : Version - 1.9.0
ii)OS : Windows 10 Pro - 64 bit
iii) STM32 Board : STM32H745 Discovery Kit
I have gone through a few support tickets and came to know that SPI + DMA is not working STM32H745-DISC (Discovery board). If this is not true please help us out for fixing this issue or let us know if it HAL layer issue. It would be great if you share the working SPI + DMA example for STM32H745-DISC (Discovery board).
Thanks In Advance.
