This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2530 ISTXONCCA strobe is not work correctly

Other Parts Discussed in Thread: CC2530

I'm using a project "light_switch" which is from CC2530 example software. After  written data into TXFIFO,  I change the CSP strobe ISTXON to ISTXONCCA in order to send packet, than I can't get any packet by TI Packet Sniffer.

I have already open the receiver on and the CCA is valid (1), it seems like ISTXONCCA command can't generate interrupt flag RFIRQF1.TXDONE.

FROM

uint8 halRfTransmit(void)
{
    uint8 status;
    ISTXON(); // Sending

    // Waiting for transmission to finish
    while(!(RFIRQF1 & IRQ_TXDONE) );
    RFIRQF1 = ~IRQ_TXDONE;
    status= SUCCESS;

    return status;
}

TO

uint8 halRfTransmit(void)
{
    uint8 status;
    ISTXONCCA(); // Sending

    // Waiting for transmission to finish
    while(!(RFIRQF1 & IRQ_TXDONE) );
    RFIRQF1 = ~IRQ_TXDONE;
    status= SUCCESS;

    return status;
}

please help me.