Skip to main content
Visitor II
November 2, 2024
Question

STM32 SPI master and slave issue

  • November 2, 2024
  • 1 reply
  • 1066 views

Hello everyone.

I am working on a project and I have two stm32 MCU connected over SPI interface. One acting as a master (STM32H743VIT6) and the second acting as a slave (STM32C011U6) in full duplex.

When sending data between the two devices the received data are sometimes correct and sometimes wrong.

The slave is using DMA in circular mode to receive the master data. Once received it sends back and array of 3 bytes [24, 15, 64];

Sometimes the master reading is correct and sometimes it is wrong.  Here is a capture of the received data.

sousa_1-1730544656409.png

If anyone has already face similar issue. 

Thanks . Hope to find some solutions. 

 

    This topic has been closed for replies.

    1 reply

    Graduate II
    November 2, 2024

    Connect analyzer or .... how speed?

    sousaAuthor
    Visitor II
    November 2, 2024

    Thanks for your quick response.

    The running speed is  750Mbit/s. 

    Graduate II
    November 2, 2024

    750 seems as mission impossible on C011 ...