WXK
2024-11-07 a61102099d74e7a5293696af70a18104e8e78975
Src/OnChipDevices/Spi.c
@@ -50,7 +50,7 @@
    decaIrqStatus_t  stat ;
//    stat = decamutexon() ;
Uwb_CS_di();
//Uwb_CS_di();
    SPIx_CS_GPIO->BRR = SPIx_CS;
//   delay_ms(1);
//   tt=HAL_SPI_Transmit(&hspi1,headerBuffer,headerLength,10);
@@ -104,7 +104,7 @@
    /* Wait for SPIx Tx buffer empty */
    //while (port_SPIx_busy_sending());
Uwb_CS_di();
//Uwb_CS_di();
    SPIx_CS_GPIO->BRR = SPIx_CS;
//   HAL_SPI_Transmit(&hspi1,headerBuffer,headerLength,10);
//   HAL_SPI_Receive(&hspi1,readBuffer,readlength,10);