cancel
Showing results for 
Search instead for 
Did you mean: 

using SPI protocol multi-slave modules with master stm32f1

Hg.1
Associate

Hello there,

I am working on a project. In the project I want to implement, an external ADC module will collect the data and transfer it to the STM32F103C8. My STM32F103C8 microprocessor will transfer these data to my wireless module. Here I am having trouble with SPI communication. Using SPI1, the STM32F103C8 will be the master, while my other two modules will work as slaves. How can I compile this using single SPI?

1 REPLY 1
TDK
Guru

In general, manage the SPI CS lines as GPIO pins manually. Set the one CS low when you want to talk to a slave. One set one CS low at a time.

If you feel a post has answered your question, please click "Accept as Solution".