Hello,
I have successfully used my CC1101's with different frequencies (433/868) and modulations (gfsk, 2gsk, 4fsk) so far.
All except ASK/OOK.
I have read the DNO22 note : i have done all my settings with GFSK, then switched to ASK/OOK and adapted AGCCTRL 0/1/2, FREND1, TEST 2/1 and FIFOTHR.
My sender seems ok (aka sending without issues) but my receiver remains silent.
Futhermore, I have lots of ASK/OOK 433mhz devices around me so my receiver should pick them up but still no luck.
Below my settings from SmartRF, any idea/help?
Thank you.
Erwan
# Sync word qualifier mode = 30/32 sync word bits detected
# CRC autoflush = false
# Channel spacing = 199.951172
# Data format = Normal mode
# Data rate = 2.39897
# RX filter BW = 58.035714
# PA ramping = false
# Preamble count = 4
# Whitening = false
# Address config = No address check
# Carrier frequency = 433.999969
# Device address = 0
# TX power = 0
# Manchester enable = false
# CRC enable = true
# Deviation = 5.157471
# Packet length mode = Variable packet length mode. Packet length configured by the first byte after sync word
# Packet length = 255
# Modulation format = ASK/OOK
# Base frequency = 433.999969
# Channel number = 0
# PA table
#define PA_TABLE {0x00,0x60,0x00,0x00,0x00,0x00,0x00,0x00,}
void config()
{
cc1101.writeReg(CC1101_IOCFG0,0x06);
cc1101.writeReg(CC1101_FIFOTHR,0x47);
cc1101.writeReg(CC1101_PKTCTRL0,0x05);
cc1101.writeReg(CC1101_FSCTRL1,0x06);
cc1101.writeReg(CC1101_FREQ2,0x10);
cc1101.writeReg(CC1101_FREQ1,0xB1);
cc1101.writeReg(CC1101_FREQ0,0x3B);
cc1101.writeReg(CC1101_MDMCFG4,0xF6);
cc1101.writeReg(CC1101_MDMCFG3,0x83);
cc1101.writeReg(CC1101_MDMCFG2,0x33);
cc1101.writeReg(CC1101_DEVIATN,0x15);
cc1101.writeReg(CC1101_MCSM0,0x18);
cc1101.writeReg(CC1101_FOCCFG,0x16);
cc1101.writeReg(CC1101_AGCCTRL2,0x04);
cc1101.writeReg(CC1101_AGCCTRL1,0x00);
cc1101.writeReg(CC1101_AGCCTRL0,0x92);
cc1101.writeReg(CC1101_WORCTRL,0xFB);
cc1101.writeReg(CC1101_FREND0,0x11);
cc1101.writeReg(CC1101_FSCAL3,0xE9);
cc1101.writeReg(CC1101_FSCAL2,0x2A);
cc1101.writeReg(CC1101_FSCAL1,0x00);
cc1101.writeReg(CC1101_FSCAL0,0x1F);
cc1101.writeReg(CC1101_TEST2,0x81);
cc1101.writeReg(CC1101_TEST1,0x35);
cc1101.writeReg(CC1101_TEST0,0x09);
}