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.

Trying to establish a Link between Radiocrafts Wireless MBUS module and CC1101

Other Parts Discussed in Thread: CC1101, WMBUS, CC1120, TEST2

Hello,

I am trying to establish a link between Radicrafts MBUS3 demoboard and CC1101.I have configured CC1101 as given in Application note AN067 Appendix for S mode.I tried the same configuration with CC1101 demoboard but unable to receive any packets on CC1101.I am sending WMBUS packets for S2 mode from Radicrafts WMBUS demoboard.

Has anyone tried this ?

  • Did you already try to establish a link between two Radiocrafts Demo Boards?

    If this works, the problem must be related to the configuration of CC1101.

  • All,

    CC1101 with RC1180M3 in S and T modes works perfectly fine, I've tested it successfully in both TX and RX directions.

    I suggest that you do several tests to find the problem.

    1. make sure your RC1180M3 configuration is correct, e.g. Set it to "Meter" mode and let it transmit periodically packets.
    2. Confirm you are really TX-ing packets with RC module by receiving them with TI HW.

    Here you can use SRF7 Studio with TRXEB + CC1120/1EM or SRF4EB with CC1110EM board to receive the telegrams sent by the RC1180M3.

    I have SRF7 config. files for TRXEB+CC1120 available, which will allow you to receive S- or T-mode telegrams (in HEX, not the Machester or 3-of-6 decoded packet).

    What TI HW and SW do you have at hand?

    • e.g. SRF04EB or TRXEB, EXP430FG4618 board, etc?
    • Are you using IAR or CCS tool chain?

    Having more details will help me answer your question.

  • Hello,

    I am using SmartRF04 Evalation board using CC1101.

    I configured CC1101 as given in AN067 for S mode

    IOCFG2=0x06
    IOCFG1=0x2E
    IOCFG0=0x02 (TX) or 0x00 (RX)
    FIFOTHR=0x7
    SYNC1=0x76 (RX) or 0x54 (TX)
    SYNC0=0x96 (RX) or 0x76 (TX)
    PKTLEN=0xFF
    PKTCTRL1=0x0
    PKTCTRL0=0x0
    ADDR=0x0
    CHANNR=0x0
    FSCTRL1=0x8
    FSCTRL0=0x0
    FREQ2=0x21
    FREQ1=0x65
    FREQ0=0x6A
    MDMCFG4=0x6A
    MDMCFG3=0x4A
    MDMCFG2=0x5
    MDMCFG1=0x22
    MDMCFG0=0xF8
    DEVIATN=0x47
    MCSM2=0x7
    MCSM1=0x30
    MCSM0=0x18
    FOCCFG=0x2E
    BSCFG=0x6D
    AGCCTRL2=0x4
    AGCCTRL1=0x9
    AGCCTRL0=0xB2
    WOREVT1=0x87
    WOREVT0=0x6B
    WORCTRL=0xFB
    FREND1=0xB6
    FREND0=0x10
    FSCAL3=0xEA
    FSCAL2=0x2A
    FSCAL1=0x0
    FSCAL0=0x1F
    RCCTRL1=0x41
    RCCTRL0=0x0
    FSTEST=0x59
    PTEST=0x7F
    AGCTEST=0x3F
    TEST2=0x81
    TEST1=0x35
    TEST0=0x9

    And sending packet from Radiocrafts demo board MBUS3 in S mode but I am not able to receive anything on CC1101.

    Can you please help me with CC1101 configuration ?

     

  • Hi,

    which SW are you using with SRF4EB?

    There is the Packet Sniffer (which will NOT work with CC1101, you will need CC1110EM)!

    And there is SRF7 Studio SW: http://www.ti.com/smartrfstudio

    Here the Packet RX tab for CC1101 should work - ONLY after you configure it properly.

    Things to set are PKTLEN=FIXED and set it to 16 Bytes for the beginning (as you do not know how long the S-mode telegrams are).

    Make sure you set in SRF7 868.3MHz and 32.768 kcps set, RX BW=270kHz and the correct SYNC word for S-mode RX (0x76 0x96).

    You'll have to play with the CC1101 RF settings a bit but it should work at the end.

    Do NOT put the two devices (CC1101 and RC1180) too close to each other (<1m) or in such case use one board with Antenna and the other without.

    Good luck!

  • Hi,

    I am using SmartRF Studio7 with SFR4EB ( CC1101 )

    Actually I did not understood what do you mean by this

    */

     There is the Packet Sniffer (which will NOT work with CC1101, you will need CC1110EM)!

    And there is SRF7 Studio SW: http://www.ti.com/smartrfstudio

    Here the Packet RX tab for CC1101 should work - ONLY after you configure it properly.

                                            /*

    I am able see the packet in continous RX

    But I am not able to receive packet on Packet RX tab.

    I am sending packets from RCMBUS3 demo board in S2 mode

    0x29, // IOCFG2 GDO2 Output Pin Configuration
    0x2E, // IOCFG1 GDO1 Output Pin Configuration
    0x00, // IOCFG0 GDO0 Output Pin Configuration
    0x70, // FIFOTHR RX FIFO and TX FIFO Thresholds
    0x76, // SYNC1 Sync Word, High Byte
    0x96, // SYNC0 Sync Word, Low Byte
    0x10, // PKTLEN Packet Length (15 bytes)
    0x00, // PKTCTRL1 Packet Automation Control 
    0x00, // PKTCTRL0 Packet Automation Control (Fixed Packet length mode )
    0x00, // ADDR Device Address
    0x00, // CHANNR Channel Number
    0x08, // FSCTRL1 Frequency Synthesizer Control
    0x00, // FSCTRL0 Frequency Synthesizer Control
    0x21, // FREQ2 Frequency Control Word, High Byte
    0x65, // FREQ1 Frequency Control Word, Middle Byte
    0x6A, // FREQ0 Frequency Control Word, Low Byte
    0x6A, // MDMCFG4 Modem Configuration
    0x4A, // MDMCFG3 Modem Configuration (data rate 32.73013 kBaud)
    0x05, // MDMCFG2 Modem Configuration
    0x22, // MDMCFG1 Modem Configuration
    0xF8, // MDMCFG0 Modem Configuration
    0x47, // DEVIATN Modem Deviation Setting (Deviation 47KHz)
    0x07, // MCSM2 Main Radio Control State Machine Configuration
    0x30, // MCSM1 Main Radio Control State Machine Configuration
    0x18, // MCSM0 Main Radio Control State Machine Configuration
    0x2E, // FOCCFG Frequency Offset Compensation Configuration
    0x6D, // BSCFG Bit Synchronization Configuration
    0x04, // AGCCTRL2 AGC Control
    0x09, // AGCCTRL1 AGC Control
    0xB2, // AGCCTRL0 AGC Control
    0x87, // WOREVT1 High Byte Event0 Timeout
    0x6B, // WOREVT0 Low Byte Event0 Timeout
    0xFB, // WORCTRL Wake On Radio Control
    0xB6, // FREND1 Front End RX Configuration
    0x10, // FREND0 Front End TX Configuration
    0xE9, // FSCAL3 Frequency Synthesizer Calibration
    0x2A, // FSCAL2 Frequency Synthesizer Calibration
    0x00, // FSCAL1 Frequency Synthesizer Calibration
    0x1F, // FSCAL0 Frequency Synthesizer Calibration
    0x41, // RCCTRL1 RC Oscillator Configuration
    0x00, // RCCTRL0 RC Oscillator Configuration
    0x59, // FSTEST Frequency Synthesizer Calibration Control
    0x7F, // PTEST Production Test
    0x3F, // AGCTEST AGC Test

    Can you please look at my register settings and correct me if I am missing some thing or doing some thing wrong ?

    Thank You !!!

     

  • Hi,

    I've now tested with SRF4EB (Rev1.9) + CC1101EM using SRF7 Studio v1.8.0.

    I also couldn't see the packets from the RC module in the Packet RX Tab so far but I didn't spend too much time. But I could make this work in the RF device commands tab, which proves that the CC1101 works and can properly receive the S-mode packets. I have attached a DOC file, with Screenshots for RC and SRF7, so you can see the proper configuration.

    You only need to push SRX button (Send RX strobe) and then you should see the change to RSSI:NA.

    Then you push the READ RX FIFO button and you should see the screenshot result as I have it in the attached DOC file.

    You need for sure change the register PKTLEN to something like 0x10 (from 0xFF), as you do NOT know in advance how long your packet is. You need to decode the first 4 bytes to extract the packet length and then in your SW you can reprogram the FIFO length.

    Note that this RX functionality is described in our AN067 AppNote (PDF), the C-code example is provided as well:

    http://www.ti.com/general/docs/litabsmultiplefilelist.tsp?literatureNumber=swra234a

    I hope this helps!

    CC1101_Smode_SRF4EB.zip
  • Could you check to see if the WMBUS module sends the sync work you expect on the receive side?

  • hi 

      can u please help me for R mode Configuration.i didn't found the settings at any where.

                                                                                                                             thankyou

  • hi,

     is there any documents available with you for R mode configuration

    Thankyou

  • We haven't done any work on this but you should get a very good starting point from the 2.4 kbps setting in Smart RF Studio. Change the datarate and deviation to R2 values, turn on machester coding.