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.

CC1200 basic test problem

Other Parts Discussed in Thread: CC1200

Hello,

I'm testing two CC1200 modules (TI eval modules). I've connected them to st nucleo boards. There's no problem with SPI communication. I'm using the Smart RF Studio Easy mode register settings. I just want to test simple recieve and transmit function between 2 boards.

First problem is that i can't switch any module to RX mode. Stobe RX doesn't work.

Second, when i try to transmit data in TX mode, ı can see that TX FIFO increases but just can't send the bytes and FIFO OVERFLOW occurs.

Can you please summarize the simple prosedure to test basic communication?

  • How is the EMs connected? Is the reset pin on the CC1200 defined?
  • All the SPI pins are connected. we also connected the reset to Vdd externally. There's no problem with communicating modules via SPI, i can read and write registers, check status etc. I'm using the same package structure of example sw:
    static void createPacket(uint8 txBuffer[]) {

    txBuffer[0] = PKTLEN; // Length byte
    txBuffer[1] = (uint8) (packetCounter >> 8); // MSB of packetCounter
    txBuffer[2] = (uint8) packetCounter; // LSB of packetCounter

    // Fill rest of buffer with random bytes
    for(uint8 i = 3; i < (PKTLEN + 1); i++) {
    txBuffer[i] = (uint8)rand();
    }
    }
  • All the routines you would require for testing could be found in the software examples here: www.ti.com/.../swrc274

    - How do you know you are not able to strobe Rx?
    - Are you able to send a CW?

    Have you tried to use the same commands using SmartRF Studio?
  • 1- I read the status byte and see that it is not in RX mode2
    2 - What is CW?
    "Have you tried to use the same commands using SmartRF Studio?"
    What do you mean by "same commands"? Do you mean the register values thart smartRF studio shows. I use the same register values.
    After further testing i've noticed that if i read the register value one by one just after writing them i can see the same value . If i read them after writing all of them once, i see that some register values are 0x55. Is it normal?
  • - When do you read the status byte? Note that if you read the status byte returned from the SRX strobe the status byte will still return IDLE since it takes some us to update the status.
    - CW: Carrier Wave or in other words an unmodulated carrier.
    - In smartRF Studio you will find a tab called "RF Device Commands" where you can issue strobes in the same way you will do in the code.