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.

CC1111 USB dongle and CC1120 TrxEB Link Establishment Issue

Other Parts Discussed in Thread: SIMPLICITI, CC1120

Hi,

I am using CC1120 TrxEB Board(as End Device) and CC1111 USB dongle(as Access Point) to form a star network using SimpliciTI stack.

Using SmartRF studio 7 I have tried to check communication is possible or not using the same configuration on both the nodes, and I was receiving the packets successfully.

Then I used these configurations in CC1120 TrxEB and CC1111 USB dongle's SimpliciTI stack, but I was not able to receive radio ISR on USB dongle ,while ED was sending JOIN request packet.

Here are the Configuration files:

CC1111 SmartRF Studio Settings.xml

CC1120 SmartRF Studio Settings.xml


I also used this configuration for CC1111 Packet sniffer, but I was unable to sniff join packets.

What are the changes required for establishing the successful connection and further communication?

Thanks

  • The CC1111 is known to have some frequency offset, check the offset and compensate for this. See if this helps.
  • When I tested using SmartRF Studio I am receiving packets at -30 RSSI so frequency offset might not be a problem.
  • Sorry, overlooked the information that you have tested in Studio.

    If you have settings that work with SmartRF Studio they should also work in SimpliciTI.

    Have you tried to use SmartRF Studio to see if anything is on the air when the CC1120 is used as ED? Use cont. Rx and see if you see some energy on the air. If you have a spectrum, use this with a wide RBW.

    Eq, try to first see if ED is actually sending something and then see if AP is able to receive something, both with SmartRF Studio in the other end.
  • Hi,

    I have configured CC1120 as ED(SimpliciTI) then put usb dongle(CC1111) and CC1120 on continuous Rx in smartRF studio.
     But I was not receiving packets in any of them.


    Then I used the same radio configuration for CC1120 and used it in CC1120(ED SimpliciTI) and CC1120(AP SimpliciTI), and the connection was established successfully so I think there is no Issue with Tx.

    Here is my configuration for CC1120 and CC1111

    SmartRF_CC1120.h

    SmartRF_CC1111.h

  • Hi

    It takes too long to manually go through all register settings when receiving them in a .h file. Please save your SmartRF Studio configuration for both devices as.xml files so that we can open them in SmartRF Studio here and do some testing. That is something you can also do on your side. Use SmartRF Studio to test the settings first between the two devices before exporting the register settings to your own code (or SimpliciTI)

    Siri

  • Here are the xml files of CC1111 and CC1120 SmartRF studio settings which I am using.

    CC1111 SmartRF Studio Settings.xml

    CC1120 SmartRF Studio Settings.xml

  • Hi

    There is nothing wrong with your settings. I have tested the two xml files with SmartRF Studio and I have a link in both directions (CC1120 to CC1111, and CC1111 to CC1120). Please go through the SimpliciTI code and see which registers are overwritten by the protocol.

    BR Siri

  • Hi,

    Yes we have tested this configuration using smartRF studio and we were able to establish link. But for CC1120 we are using SimpliciTI 1.2.1 Beta and same for CC1111. We are trying to find out registers which are overwritten by protocol stack, and found some registers are not same in CC1111 and CC1120. So If you have any Idea about that can you please help us out about how to calculate those register values.

    Thanks,

    Maulik

  •  

    I am a bit confused as to what you are testing. Are you using the CC1111 dongle as a packet sniffer to sniff SimpliciTI packets or are you running SimpliciTI on the CC1111 dongle?

    Siri

  • Hi,

    I am using CC1111dongle as Access Point(SimpliciTI 1.2.1 Beta), and CC1120TrxEB as End Device(SimpliciTI 1.2.1 Beta).
    I have read following in SimplicTI FAQ:

    Compatibility Between Different Transceivers

    Several things to be noticed when trying to ensure the compatibility between different transceivers:

    • Standards RF settings such as base/carrier frequency, data rate, modulation, deviation/power, receive filter bandwidth, etc.
    • Bit and byte synchronization/Preamble and sync word settings:
      • For the CC110x and CC111x transceivers, the preamble bits length is configured by MDMCFG1.NUM_PREAMBLE, while the sync words are configured by MDMCFG2.SYNC_MODE for the length SYNC1, SYNC0 for the sync word bytes content.
      • For CC1120 transceivers, the premable bits length and format are configured by PREAMBLE_CFG1.NUM_PREAMBLE and PREAMBLE_CFG1.PREAMBLE_WORD respectively, while the sync words are configured by the SYNC_CFG0.SYNC_MODE for the length and the four registers SYNC0-3 for sync word bytes content.
    • Special Note on CC1120 SimpliciTI porting: since the CC1120 transceiver doesn't implement automatic channel programming such as the other CC11xx with the CHANNR register, the carrier frequency is hard-coded in the code which can be found in the mrfiLogicalChanTable[][] array in mrfi_radio.c. Therefore the SMARTRF_SETTING_FREQ0, SMARTRF_SETTING_FREQ1, SMARTRF_SETTING_FREQ2 setting from the generated smartRF_CC1120.h are not used.

    So by changing the CC1111 dongle frequency to 906MHz solved the problem of linking, using SimpliciTI code.


    Thanks

  • Hi,

    We are using CC1111 dongle as Access Point(SimpliciTI 1.2.1 Beta) and CC1120 TrxEB as End Device(SimpliciTI 1.2.1 Beta).

    We have read following question in SimpliciTI FAQ:

    Compatibility Between Different Transceivers

    Several things to be noticed when trying to ensure the compatibility between different transceivers:

    • Standards RF settings such as base/carrier frequency, data rate, modulation, deviation/power, receive filter bandwidth, etc.
    • Bit and byte synchronization/Preamble and sync word settings:
      • For the CC110x and CC111x transceivers, the preamble bits length is configured by MDMCFG1.NUM_PREAMBLE, while the sync words are configured by MDMCFG2.SYNC_MODE for the length SYNC1, SYNC0 for the sync word bytes content.
      • For CC1120 transceivers, the premable bits length and format are configured by PREAMBLE_CFG1.NUM_PREAMBLE and PREAMBLE_CFG1.PREAMBLE_WORD respectively, while the sync words are configured by the SYNC_CFG0.SYNC_MODE for the length and the four registers SYNC0-3 for sync word bytes content.
    • Special Note on CC1120 SimpliciTI porting: since the CC1120 transceiver doesn't implement automatic channel programming such as the other CC11xx with the CHANNR register, the carrier frequency is hard-coded in the code which can be found in the mrfiLogicalChanTable[][] array in mrfi_radio.c. Therefore the SMARTRF_SETTING_FREQ0, SMARTRF_SETTING_FREQ1, SMARTRF_SETTING_FREQ2 setting from the generated smartRF_CC1120.h are not used.

    So is this the possible Issue?

    Thanks

  • Hi

    I had problems un-zipping the Beta release of SmartRF Studio that you had used, but I found some code that I have used before based on this. Cannot guarantee that there are no differences between the version you are using and the version I am using, so you need to diff the files.

    I used the settings from SmartRF Studio that you sent me and tested them with CC1111 Dongle running Simple Peer to Peer example as a LinkTo device and the CC1120 + TrxEB running LinkListen code.

    Everything runs OK, so please use this as a reference in debugging your own code.

    SimpliciTI Demo.zip

    BR

    Siri

  • Hi,

    We resolved the Issue. As I have mentioned in my previous reply, there was a special note on CC1120 SimpliciTI porting in FAQs of SimpliciTI that the carrier frequency is hard-coded in the code which can be found in the mrfiLogicalChanTable array in mrfi_radio.c as CC1120 transceiver doesn't implement automatic channel programming such as the other CC11xx with the CHANNR register.

    In SimpliciTI stack for channel 0 ,frequency was 906MHz, so we have set 906MHz frequency in CC1111 and it worked. We are able to establish link between CC1120 and CC1111 using SimpliciTI stack.

    Thanks,

    Maulik

    Special Note on CC1120 SimpliciTI porting

  • Glad to hear that you were able to solve the problem.

    BR

    Siri