How to do SPI communication on STM32 discovery?

How to do SPI communication on STM32 discovery?

I’m trying to do simple SPI communication on STM32 Discovery, HAL lib is used. I’m trying to send some data via SPI1 and to receive same data on SPI3 (SPI1 = Full Duplex Master, SPI3 = Full Duplex Slave). For transmit polling method is used and for receive DMA circular. Communication is on 1 device (just one Discovery is used).

Is the stm32f429 a SPI slave?

I’m getting some really strange behavior on an STM32F429, trying to synchronize data over SPI with another microcontroller. The STM32F4 is SPI slave.

How to explain code stuck in STM32 microcontroller?

I’m trying to send some data via SPI1 and to receive same data on SPI3 (SPI1 = Full Duplex Master, SPI3 = Full Duplex Slave). For transmit polling method is used and for receive DMA circular. Communication is on 1 device (just one Discovery is used). Code stuck here: Can someone explain me why code stuck there?

What kind of flash IC does stm32f051r8t6 use?

I’m using STM32F051R8T6 on STM32F0-Discovery board and M25P80 flash IC as a peripheral. I’ve got the SPI configured in 3-line (+ 1 software chip select line), full-duplex mode and I’m using polling to send and receive data.

Why is the spi3 not ready to receive 10 bytes?

If you tell the SPI3 to receive 10 bytes via DMA, the state will be BUSY_RX until it has received those bytes. That is why the state is not ready.

Why is SPI not working on my mcp23s09?

I’m trying to enable the LED’s on my MCP23S09 by writing to the GPIO register using SPI. There are two chips on the board one is for the inputs and the other one is for the outputs, so the LED’s.

Is the DSP a slave or a Master?

So the DSP is slave, and an STM32 is master. I have set up everything (I think correct), but it’s not working and I don’t know where to look for the problem. I want to receive data in 8-bit mode via DMA, firing an interrupt when 3 bytes were received.