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.

CC1125 package handling - constant synchronous output

Other Parts Discussed in Thread: CC1125

I've been testing CC1125 in synchronous serial mode and everything seems to be running as expected. I can receive data, calibrate frequency offset etc.

I would like to use the syncword detection on CC1125 and have been setting up package handling. It seems to detect the syncword, but after the syncword is detected, the serial output continues. As package-length is set to a few bytes, I would only expect it to spit out a few bytes and then wait for next syncword detection?


General setup from SmartRF working with syncword disabled.

I've changed the following, to enable package-handling/syncword detection

// Set 16 bit syncword
        Cc1125ConfigWrite(CC112X_SYNC_CFG0,0b00001011); // 16 bit syncword

// For now, the syncword will be set to something silly, that will be triggered on noise now and then
        Cc1125ConfigWrite(CC112X_SYNC1,170);
        Cc1125ConfigWrite(CC112X_SYNC0,170);

// Don't care about preambles atm
        Cc1125ConfigWrite(CC112X_PREAMBLE_CFG0,0x00);

// No extra package bit-length, disable UART-mode and UART_SWAP and set package-length to be fixed and defined by PKT_LEN
        Cc1125ConfigWrite(CC112X_PKT_CFG0,0); //

// Set package-length to 10 bytes
        Cc1125ConfigWrite(CC112X_PKT_LEN,10);


With these settings, whenever the synchronous output started due to syncword detection, it never stops again. I expect it to detect the syncword and output the next 10 bytes.

Is there a simple setting I've missed?