cancel
Showing results for 
Search instead for 
Did you mean: 

SPI between F769I and F446RE not working

RMuel.18
Associate

Hi,

I'm trying to implement a basic SPI full-duplex between two STM32.

I have set up an F769I as Master, which works just fine. However the F446RE Slave doesnt transmit anything.

I used CubeMX to create the project (file attached).

The Master currently does HAL_SPI_Receive in 1 second intervalls.

For the Slave:

uint8_t send = 20;

while(1)

{

HAL_SPI_Transmit(&hspi2, &send, 1, HAL_MAX_DELAY);

while(HAL_SPI_GetState(&hspi2) != HAL_SPI_STATE_READY);

}

I'm new to STM32, so what am I doing wrong?

Thanks

0 REPLIES 0