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.

CCA promble on CC430F5137?

Other Parts Discussed in Thread: CC430F5137, CC1101

Hi all

     I am debugging CCA using CC430F5137 . I have two CC430F5137 board, one as interference source ,the other one observe CCA value from the register(PKTSTATUS).

However ,i can't get the desired result with repeated attempts . I read too much about CCA from E2E community,but still can not solve the problem . I am puzzled by error result...

my criticl code as follws:

                WriteSingleReg(AGCCTRL2, 0xC7);//AGCCTRL2   0xC7
                WriteSingleReg(AGCCTRL1, 0x00););//AGCCTRL1

               WriteSingleReg(IOCFG0,0x06); 

               WriteSingleReg(MCSM1,0x3F);

              

unsigned char CC1101_SendData(unsigned char *TxBuffer)
{
    unsigned char marcState = 0;
    unsigned char state = 0;
    unsigned char Tx_fifo_bytes = 0;
  
    ReceiveOff();
    Strobe( RF_SRX );
    // Check that the RX state has been entered
    while( (( state = Read_Radio_Register(0x35)) & 0x1F ) != 0x0D){
        Strobe( RF_SFRX );
        Strobe( RF_SRX );
        delay_ms(5);
    }
    delay_us(500);
       
    WriteBurstReg(RF_TXFIFOWR, TxBuffer, (TxBuffer[0] + 1));


    Strobe( RF_STX );
    marcState = Read_Radio_Register(0x35);
       
    if((marcState != 0x13) && ( marcState != 0x14 ) && (marcState != 0x15)){
          Strobe( RF_SFTX );//FLUSH TXFIFO
          Strobe( RF_SRX );
          return FALSE;      

      }
   
    if((Read_Radio_Register(0x3A) & 0x7F) == 0)
      return TRUE;
    else
      return FALSE;
  
}

is CS Absolute Threshold mistake?

I want to receive help from here, Thanks for any help!