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.

CC430F5137 RF interface difficulties

Hi,

I am currently trying to set up a simple program that constantly transmits an incrementing 8-bit value at 433MHz. We want to do signal strength testing, and it's the first time I've worked with an RF module so I wanted to start simple. I am working in CCS 5.4 and my code is as follows:

unsigned char TxSingleByte(uint8_t transmit){
    int i;
    Strobe (RF_SWOR);                    //turn on radio
    while(!(RF1AIFCTL1 & RFINSTRIFG));    //wait for the radio to be ready for the next instruction
    RF1AINSTRW = (0x3F<<4)|transmit;    //send instruction and value
    while(!(RFDINIFG & RF1AIFCTL1));    //wait for TX to finish
    i = RF1ADOUTB;                        //reset RFDOUTIFG flag
    Strobe( RF_STX );                    //strobe STX
    return i;
}

My configurations use values determined by smartRF studio and look like this (sorry for the low image-quality):

For the time being I'm using the initialize functions provided by TI to reduce the number of variables. I have Vcore at level 2. What is it that I am doing wrong?

Thanks!

  • For those having the same or similar problems: I was able to solve this by writing to the auto-read registers. I wasn't prior to this and without using dummy variables I wasn't actually writing to the core. I've fixed it and can move on now!

**Attention** This is a public forum