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.

eWOR and Transparent Serial Mode on CC1200

Guru 16800 points
Other Parts Discussed in Thread: CC1200, CC1200DK

Hello,

How can I execute eWOR and Transparent Serial Mode on CC1200 simultaneously?
I'm trying Transparent Serial Mode in eWOR (I issue SWOR strobe) with the following settings on CC1200DK, however I can't.

static const registerSetting_t preferredSettings[] = {
  {CC120X_IOCFG3,            0x3C},
  {CC120X_IOCFG2,            0x08},
  {CC120X_IOCFG1,            0x23},
  {CC120X_IOCFG0,            0x09},
  {CC120X_SYNC_CFG1,         0xBF}, // for transparent mode RX
  {CC120X_DEVIATION_M,       0xD1},
  {CC120X_MODCFG_DEV_E,      0x00},
  {CC120X_DCFILT_CFG,        0x5D},
  {CC120X_PREAMBLE_CFG1,     0x00}, // for transparent mode RX   
  {CC120X_PREAMBLE_CFG0,     0x8A},
  {CC120X_IQIC,              0xCB},
  {CC120X_CHAN_BW,           0x61},
  {CC120X_MDMCFG1,           0x00}, // for transparent mode RX
  {CC120X_MDMCFG0,           0x45}, // for transparent mode RX 
  {CC120X_SYMBOL_RATE2,      0x5F},
  {CC120X_SYMBOL_RATE1,      0x75},
  {CC120X_SYMBOL_RATE0,      0x10},
  {CC120X_AGC_REF,           0x33},
  {CC120X_AGC_CS_THR,        0x09},
  {CC120X_AGC_CFG3,          0x11}, // for transparent mode RX
  {CC120X_AGC_CFG1,          0x40},
  {CC120X_AGC_CFG0,          0x83},
  {CC120X_FIFO_CFG,          0x00},
  {CC120X_SETTLING_CFG,      0x03},
  {CC120X_FS_CFG,            0x14},
  {CC120X_WOR_CFG1,          0x48},
  {CC120X_WOR_CFG0,          0x20},
  {CC120X_WOR_EVENT0_MSB,    0x0E},
  {CC120X_WOR_EVENT0_LSB,    0xA9},
  {CC120X_PKT_CFG2,          0x03}, // for transparent mode RX
  {CC120X_PKT_CFG1,          0x00}, // for transparent mode RX
  {CC120X_PKT_CFG0,          0x20},
  {CC120X_RFEND_CFG0,        0x09},
  {CC120X_PKT_LEN,           0xFF},
  {CC120X_IF_MIX_CFG,        0x1C},
  {CC120X_FREQOFF_CFG,       0x22},
  {CC120X_MDMCFG2,           0x0C},
  {CC120X_FREQ2,             0x55},
  {CC120X_FREQ1,             0x4C},
  {CC120X_FREQ0,             0xCC},
  {CC120X_IF_ADC1,           0xEE},
  {CC120X_IF_ADC0,           0x10},
  {CC120X_FS_DIG1,           0x07},
  {CC120X_FS_DIG0,           0xAF},
  {CC120X_FS_CAL1,           0x40},
  {CC120X_FS_CAL0,           0x0E},
  {CC120X_FS_DIVTWO,         0x03},
  {CC120X_FS_DSM0,           0x33},
  {CC120X_FS_DVC0,           0x17},
  {CC120X_FS_PFD,            0x00},
  {CC120X_FS_PRE,            0x6E},
  {CC120X_FS_REG_DIV_CML,    0x1C},
  {CC120X_FS_SPARE,          0xAC},
  {CC120X_FS_VCO0,           0xB5},
  {CC120X_XOSC5,             0x0E},
  {CC120X_XOSC1,             0x03},
  {CC120X_PARTNUMBER,        0x20},
  {CC120X_PARTVERSION,       0x10},
  {CC120X_SERIAL_STATUS,     0x08}, // for transparent mode RX
  {CC120X_MODEM_STATUS1,     0x10},
 
};

Best Regards,

Nomoto

  • Hi Nomoto

    eWOR is not designed to work with transparent mode and I do not understand why you would want to use the two modes together. The purpose of eWOR mode is to support a synchronous system (RX and TX are synchronized) where the radio wakes up and listen for a packet at a given interval without the intervention of the MCU. When using transparent mode, the MCU must be awake every time the radio is in RX as it is the MCU that are locking for the packet and do all the processing.

    If you can give more details as to what you want to achieve, we can come with suggestions to your implementation

    Best regards,

    Siri

  • Hello Siri-san,

    Thank you for your reply.
    I apologize to misunderstand and I want to execute eWOR and Synchronous Serial Mode simultaneously.
    The purpose is that the lower power consumption is required by my customer and my customer must deal the flexible packet format.
    And then, the packet handling is required to execute on MCU, therefore eWOR and Synchronous Serial Mode are required simultaneously.

    Now, by modifying the register settings from Transparent Mode to Synchronous Serial Mode, I can observe the serial clock and serial data in eWOR.
    Is my approach is rightness?

    Best Regards,

    Nomoto


     

  • Hi Nomoto-san

    It is possible to use eWOR and serial mode together. I assume that you are using blind mode, as this would be the only reason not to use FIFO mode.

    I did a test where I modified the CC1200 RX Sniff mode example to output serial data.

    I enabled blind mode (set PKT_FORMAT = 1 and AYNC_MODE = 0). FIFO_EN was set to 0 and I output the serial data and clock to GPIO0 and GPIO3. I also disabled interrupt on GPIO2.

    The MCU must wake up on activity on the data line to determine if a sync word is present or not. The MCU must also put the radio back in eWOR mode (done automatically is no carrier is present).

    BR

    Siri

  • Hello Siri-san,

    Thank you for your reply and powerful support.

    Best Regards,

    Nomoto