2478| 6
|
关于W25Q64 |
100金钱
最佳答案上周已经解决了,解决办法
u8 spi_read_write_byte(SPI_TypeDef * SPIX,u8 tx_data)
{
while (SPI_I2S_GetFlagStatus(SPIX, SPI_I2S_FLAG_TXE) == RESET){}
while(SPI_I2S_GetFlagStatus(SPI2, SPI_I2S_FLAG_RXNE) == SET)
SPI_I2S_ReceiveData(SPI2);
SPI_I2S_SendData(SPIX, tx_data);
while (SPI_I2S_GetFlagStatus(SPIX, SPI_I2S_FLAG_RXNE) == RESET){}
return SPI_I2S_ReceiveD ...
| ||
| ||
| ||
| ||
| ||
| ||
| ||
|手机版|OpenEdv-开源电子网
( 粤ICP备12000418号-1 )
GMT+8, 2025-6-19 13:20
Powered by OpenEdv-开源电子网
© 2001-2030 OpenEdv-开源电子网