using SPI protocol multi-slave modules with master stm32f1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-11-04 7:27 AM
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?
Labels:
- Labels:
-
SPI
-
STM32CubeIDE
-
STM32F1 Series
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-11-04 7:52 AM
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".
