cancel
Showing results for 
Search instead for 
Did you mean: 

Compare data in receive buffer aRxBuffer fails , in SPI_FULLDuplex_ComDMA

Rb7
Associate

Hi,
I work with STM32H753zi , and I used the example SPI_FULLDuplex_ComDMA.
I took 2 boards and connected 4 wires between them , as shown in the Readme file.
I run the test .
In master , the 2 LEDS that indicate Rx and TX completion turn ON.
In slave  , LED 2 that indicate Rx completion turn ON, LED 1 is OFF.  But LED 3 that indicates error 
is ON.
After debugging , the error arrives from trying to compare the received data (aRxBuffer ) to expected data.
The data in aRxBuffer is 0.
I tried to replace all 4 wires -> it did not help.
I tried to move to another example SPI_FULLDuplex_ComIT -> same failure.

What may be the cause ?
Am I missing something ?
Thanks,
Rafi.

0 REPLIES 0