Hi,
I am implementing wmbus T mode on cc1101. Here are the settings I am using for receiving (t2 other) from t2 meters
0x08, // FSCTRL1 Frequency synthesizer control.
0x00, // FSCTRL0 Frequency synthesizer control.
0x21, // FREQ2 Frequency control word, high byte.
0x6B, // FREQ1 Frequency control word, middle byte.
0xD0, // FREQ0 Frequency control word, low byte.
0x5C, // MDMCFG4 Modem configuration. - 103 kBaud
0x04, // MDMCFG3 Modem configuration.
0x05, // MDMCFG2 Modem configuration.
0x22, // MDMCFG1 Modem configuration.
0xF8, // MDMCFG0 Modem configuration.
0x00, // CHANNR Channel number.
0x44, // DEVIATN Modem deviation setting (when FSK modulation is enabled).
0xB6, // FREND1 Front end RX configuration.
0x10, // FREND0 Front end RX configuration.
0x18, // MCSM0 Main Radio Control State Machine configuration.
0x2E, // FOCCFG Frequency Offset Compensation Configuration.
0xBF, // BSCFG Bit synchronization Configuration.
0x43, // AGCCTRL2 AGC control.
0x09, // AGCCTRL1 AGC control.
0xB5, // AGCCTRL0 AGC control.
0xEA, // FSCAL3 Frequency synthesizer calibration.
0x2A, // FSCAL2 Frequency synthesizer calibration.
0x00, // FSCAL1 Frequency synthesizer calibration.
0x1F, // FSCAL0 Frequency synthesizer calibration.
0x59, // FSTEST Frequency synthesizer calibration.
0x81, // TEST2 Various test settings.
0x35, // TEST1 Various test settings.
0x09, // TEST0 Various test settings.
0x06, // IOCFG2 GDO2 output pin configuration.
0x00, // IOCFG0D GDO0 output pin configuration. Refer to SmartRF® Studio User Manual for detailed pseudo register explanation.
0x00, // PKTCTRL1 Packet automation control.
0x00, // PKTCTRL0 Packet automation control.
0x00, // ADDR Device address.
0xFF // PKTLEN Packet length.
and sync1 = 0x54, sync0 = 0x3d.
I can send data and receive data correctly but some times I am receiving junk data.
I have radiocraft module(rc1180mbus3). I put this module as T2 meter and my device as T2 other, every thing works correctly in this case(some times in between i recieve junk).
If I put radiocraft module in s2 mode, simpy if I send some data , sometimes still I receive data on my device which is in T2 other mode. This should not happen because T2 other uses 868.95 and s2 uses 868.30.
please suggest what could be the problem ?