金牌会员
 
- 积分
- 1897
- 金钱
- 1897
- 注册时间
- 2016-8-20
- 在线时间
- 238 小时
|
发表于 2018-4-19 11:14:16
|
显示全部楼层
===================================================================
* How to use this driver
* ===================================================================
* 1. Enable peripheral clock using CLK_PeripheralClockConfig(CLK_Peripheral_SPIx,
* ENABLE) function (Refer to the product datasheet for the available SPI
* peripherals)
*
* 2. Enable the external Pull-up on the used SPI Pins using the
* GPIO_ExternalPullUpConfig() function or an eternal pull-up equivalent resistor
* (RPU = 45 KOhm typical value).
*
我最近也在搞这个SPI,库函数里面说的配置SPI的几个IO必须配置成Pull_up |
|