Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
8018spi操作外部设备 类似与下面这种的函数, 怎么操作,如果使用io口模拟的话, 速度太慢
uint8_t SPI_SendByte(uint8_t ucTx) { BYTE ucRet= 0; HAL_SPI_TransmitReceive(&hspi2, &ucTx, &ucRet, 1, 1000); return ucRet; }
FR801xH-SDK-master\examples\none_evm\ble_drivers_demo
参考一下这里面的SPI例程 ,提供的接口是SSP,SSP也支持SPI协议