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.

[CC1121] Confirm SPI access type

Guru 24520 points
Other Parts Discussed in Thread: CC1121

Hi community member,
Please let me confirm the following question.

[Question]
Can customer use the burst register access mode for one register writing/reading?
**Of course, they will release the nCS pin after the each writing/reading operation by MCU.
If there is any problem for this, please show us the reason.

If you have any questions, please le me know.
Best regards.
Kaka

  • Hi Experts,
    Would someone please answer for my question?

    Best regards.
    Kaka
  • Hi

    You can have the burst bit set and then only write/read one register if you pull CSn high after each write/read.

    BR

    Siri

  • Hi Siri,

    Thank you for your response.
    But when we used the burst mode to read/write the register, we could not read the correct value even though it pull CSn high after each write/read.
    So, would you please check them on your environments? I summarized the SPI command and phenomenon.

    SPI commnad:
    1. 0x6F 0x25 0x00(Data) : Write FS_VCO2
    2. CS release
    3. 0xEF 0x15 0x00(Dummy) : Read FS_CAL2
    4. CS release
    5. 0x6F 0x15 0x--(FS_CAL2 value): Write FS_CAL2
    6. CS release
    7. 0x33 : Cmd Strb(SCAL)
    8. CS Release
    9. 0xEF 0x73 0x00: Read Marcstate

    Phenomenon
    CC1121 kept to output the data of 0x0F on SO pin after No.3/5 step done.

    If you have any questions, please let me know.
    Best regards.
    Kaka
  • Hi

    The code examples for CC112x also use burst access and this works fine. Below is a plot from the manual calibration routine where I read the FS_CAL2 register using a burst access.

  • Hi Siri,

    Thank you for your confirming.
    Please let me confirm your result just in case.
    [Question]
    Did you also send the same command as on my post from MCU to CC1121?

    And would you please provide your comment for customer's phenomenon?
    Have you ever seen that phenomenon?

    If you have any questions, please let me know.
    Best regards.
    Kaka
  • Hi Siri,

    I got the waveform of SPI from my customer.

    Please see it.

    Also, please let me  confirm the following question.

    When we send the writing commnad to CC1121 like FS_CAL2 or FS_VCO2, Cmd Strb, the SO pin output the 0x0F.

    * I also attached this power point file as below.

    Confirm the behavior on my hands.pptx

    Is this behavior any problem?

    If you have any questions, please let me know.

    Best reagrds.

    Kaka

  • What they are seeing is the chip status byte and there is nothing wrong with the return value.
    Siri
  • Which data did you see??

    If you pointed out the result on power point, the CC1121 works well.

    But in case of the picture as below, this is not worked fine.

    Best regards,

    Kaka

  • The first byte return on the SO line when writing to FS_VCO2 indicates that the radio is not in IDLE mode when you are doing this. Please make sure to not modify these register unless the radio in in IDLE state. Also make sure that both the RX FIFO and the TX FIFO is empty. Then the status should return 0c0F when the read/write bit is 0 and 0x00 when the read/write bit is 1.

  • Hi Siri,

    Thank you for your response.
    I informed your comments to my customer.
    If I get a feedback from my customer, please let me confirm this.

    Best regards.
    Kaka