STM32F1硬件SPI
时间: 2023-12-01 14:48:15 浏览: 125
STM32F1系列芯片具备硬件SPI控制器,支持SPI通信。根据不同型号,STM32F1芯片可以具备一个或多个SPI控制器。SPI(Serial Peripheral Interface)是一种串行外设通信接口,用于实现设备之间的通信。SPI通信由CS、SCK、MISO、MOSI四根通信线连接而成。在使用STM32F1作为SPI主机时,可以配置NSS输出使能,通过SPI_CR2寄存器的SSOE位使能NSS输出。这时,NSS引脚会被拉低,与主SPI的NSS引脚相连的NSS引脚会自动变成从的SPI设备。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [STM32F10x_SPI(硬件接口 + 软件模拟)读写Flash(25Q16)](https://blog.csdn.net/ybhuangfugui/article/details/52068759)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [17. STM32——SPI硬件](https://blog.csdn.net/weixin_46105931/article/details/121128607)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文