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.

CC1101 Problems with ASK/OOK

Other Parts Discussed in Thread: CC1101

Hello,

I have a Projekt in my University. Its about the Current Consumption of the CC1101.

We combine the CC1101 with levelshifter and an Arduino Uno .

So i dont have the Chance to use the RFstudio from TI.

Whats so ever, i got problem with implementing ASK/OOK Modulation. I just read some Threads here, but non of the settings from it will help me.

Everthing is fine with GFSK,2-FSK,4-FSK but ASK/OOK won't work. I also read the DN022 Document, but these settings seems also not to work.

I read about wrong RX Channel BW and wrong Output Power, but non of it would work. I also changed distance between the Transievers. Pls help me !

I'm also not sure about that Patable Table i read about, maybe i got understanding Problems ( do i have to get the Table in my source coud or into the Liberary ? for example : 

byte PA_TABLE[]= {0x00,0x60,0x00,0x00,0x00,0x00,0x00,0x00,};)

Output Power = 0 dbm

Channel Bw = 203 KhZ

Deviation = 20,63 kHz

Channel Spacing = 199,951 kHz

Data Rate = 38,3835 kBaud

Sync word qualifier mode = 30/32 sync word bits detected

CRC enable = true

// Carrier frequency = 433 MHz
#define CC1101_DEFVAL_FREQ2_433  0x10        // Frequency Control Word, High Byte
#define CC1101_DEFVAL_FREQ1_433  0xA7        // Frequency Control Word, Middle Byte
#define CC1101_DEFVAL_FREQ0_433  0x62        // Frequency Control Word, Low Byte

#define CC1101_DEFVAL_MDMCFG4    0x8A        // Modem Configuration
#define CC1101_DEFVAL_MDMCFG3    0x83        // Modem Configuration
#define CC1101_DEFVAL_MDMCFG2    0xB3        // Modem Configuration
#define CC1101_DEFVAL_MDMCFG1    0x22        // Modem Configuration
#define CC1101_DEFVAL_MDMCFG0    0xF8        // Modem Configuration
#define CC1101_DEFVAL_DEVIATN    0x35        // Modem Deviation Setting
#define CC1101_DEFVAL_MCSM2      0x07        // Main Radio Control State Machine Configuration
//#define CC1101_DEFVAL_MCSM1      0x30        // Main Radio Control State Machine Configuration
#define CC1101_DEFVAL_MCSM1      0x20        // Main Radio Control State Machine Configuration
#define CC1101_DEFVAL_MCSM0      0x18        // Main Radio Control State Machine Configuration
#define CC1101_DEFVAL_FOCCFG     0x16        // Frequency Offset Compensation Configuration
#define CC1101_DEFVAL_BSCFG      0x6C        // Bit Synchronization Configuration
#define CC1101_DEFVAL_AGCCTRL2   0x04        // AGC Control
//#define CC1101_DEFVAL_AGCCTRL2   0x43        // AGC Control
#define CC1101_DEFVAL_AGCCTRL1   0x00        // AGC Control
//#define CC1101_DEFVAL_AGCCTRL1   0x40        // AGC Control
#define CC1101_DEFVAL_AGCCTRL0   0x91        // AGC Control
#define CC1101_DEFVAL_WOREVT1    0x87        // High Byte Event0 Timeout
#define CC1101_DEFVAL_WOREVT0    0x6B        // Low Byte Event0 Timeout
#define CC1101_DEFVAL_WORCTRL    0xFB        // Wake On Radio Control
//#define CC1101_DEFVAL_FREND1     0x56        // Front End RX Configuration
#define CC1101_DEFVAL_FREND1     0xB6        // Front End RX Configuration
#define CC1101_DEFVAL_FREND0     0x10        // Front End TX Configuration
#define CC1101_DEFVAL_FSCAL3     0xE9        // Frequency Synthesizer Calibration
#define CC1101_DEFVAL_FSCAL2     0x2A        // Frequency Synthesizer Calibration
#define CC1101_DEFVAL_FSCAL1     0x00        // Frequency Synthesizer Calibration
#define CC1101_DEFVAL_FSCAL0     0x1F        // Frequency Synthesizer Calibration
#define CC1101_DEFVAL_RCCTRL1    0x41        // RC Oscillator Configuration
#define CC1101_DEFVAL_RCCTRL0    0x00        // RC Oscillator Configuration
#define CC1101_DEFVAL_FSTEST     0x59        // Frequency Synthesizer Calibration Control
#define CC1101_DEFVAL_PTEST      0x7F        // Production Test
#define CC1101_DEFVAL_AGCTEST    0x3F        // AGC Test
#define CC1101_DEFVAL_TEST2      0x81        // Various Test Settings
#define CC1101_DEFVAL_TEST1      0x35        // Various Test Settings
#define CC1101_DEFVAL_TEST0      0x09        // Various Test Settings

Thanks & Best Regards,

Andi

  • By don't work I assume that you mean that you don't get a link. The first set would be to check if you actually are sending something. Have you checked that you have energy on the air?

    Start by using exactly the same settings as SmartRF Studio for 1.2 kbps ASK.
  • Hey TER,
    thanks for your Reply.

    I have tried a lot of things and finally it works. It was like the PA_table wasn't korrekt and Channel Bw was too small . And Also Frend0 had to be 0x11 .... But ASK is just working with 4.8 Kbaud and 19.6 Kbaud. Do i have to get other Channel Bw or Output power ?
    Is there a better explanation for the shaping of ASK ? i dont get this ( i just set the 6th Byte in like 8.5 dbm and the shaping is goin at itself ?)

    I have another Question, on ASK on round about 10 Meters my CRC check is not ok, the both transcievers link but the data is not ok. How do i provide good linking ?
  • PA shape: If you run a FFT on a square wave (no PA ramping, just turning on the power to max and then off again) you get a sinc in the frequency plane which give a fairly wide spectrum (large OBW). With ramping the PA is turned more slowly on and the result spectrum looks better. Try with and without and see the difference.

    Do you get good range for the other modulation formats?

    see www.ti.com/.../swra603 for debugging range.