cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 SPI master and slave issue

sousa
Associate II

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. 

 

5 REPLIES 5
MM..1
Chief III

Connect analyzer or .... how speed?

Thanks for your quick response.

The running speed is  750Mbit/s. 

750 seems as mission impossible on C011 ...

Sorry it is 750kbis/s 

sousa_0-1730555359972.png

Right now I don't have logic analyzer but I will do some probing later. 

 

Hi,

Are they connected via a cable? If so, how long are the cables between them?

Kind regards
Pedro

AI = Artificial Intelligence, NI = No Intelligence, RI = Real Intelligence.