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.

CC110L: Starting out with CC110L - SPI communication problems

Part Number: CC110L


I've built a PCB with a CC110L hooked up to a PIC16F1828 controller via the SPI bus.

However, communication with the CC110L seems to fail, and I haven't found out why that is.

Here is what I do:

  1. Power-up
  2. Wait 1 second
  3. Try to read VERSION status register by first sending 0xF1 (0x31 + read bit + burst bit for status register access). During transmission, the CC110L sends back the default status byte as expected, with value 0x0F, apparently indicating that the device is in idle mode, and that the FIFO is empty. (This status byte also means that there is no hardware problem.)
  4. After sending the 0xF1 command byte, a 0x00 dummy byte is sent, and the byte returned by the CC110L is read.

Unfortunately, I get the default status byte again, not the expected value of the VERSION register (0x17). In fact, it does not matter what I send or try to read, I always get this default status byte.

I am monitoring the SPI bus with a 4-channel digital oscilloscope, so I can see what data is sent and received:

Ch.1 = CSn, Ch.2 = DI, Ch.3 = SCLK, Ch.4 = DO

SCLK speed is set at 1 MHz, which should be fine.

Does anyone have any idea what I am doing wrong here? It is almost as if the CC110L does not recognize the commands that I send.

Thanks in advance,

Best regards,


  • You are not configuring your SPI correctly. If you compare your plot with the SPI plots in the data sheet you will see that you have worng Phase for you SPI. Data is sampled on the rising edge of SCLK so it needs to be set up on falling edge.



  • Yes, this was indeed the cause of the problem, thank you for your fast reply!

    It appears that the PIC microcontroller data sheet is confusing, as SPI setup is defined there in terms of 'active state' and 'inactive state', and 'transmission occurs at the transition of the clock from the (in)active state to the opposite state'.

    I thought I specified that data sampling should happen in the middle of each byte at the rising edge of SCLK, but apparently, this was precisely wrong. Which I should have see in my plot.

    Thank you once again,

    Best regards,