Hello~ Can I ask you some questions about the Lora module of SX1278? ( the datasheet of SX1278 is given below: http://www.kynix.com/uploadfiles/pdf65976/SX1278IMLTRT.pdf )
I don’t know why the Lora module always failed to send. This is my sending function:
[code]uint8_t SpiInOut( uint8_t outData )
{
        uint8_t lmGET_data;

        HAL_SPI_TransmitReceive(&hspi1, &outData, &lmGET_data, 1, SPI_TIMEOUT);

        return lmGET_data;
}      [/code]
However, the DIO0 here cannot be set ! ! ! Please give me some feasible advice! Thanks a lot! ! !
[code]case RFLR_STATE_TX_RUNNING:
        if( DIO0 == 1 ) // TxDone
        {
            // Clear Irq
            SX1276Write( REG_LR_IRQFLAGS, RFLR_IRQFLAGS_TXDONE  );
            RFLRState = RFLR_STATE_TX_DONE;   
        }[/code]