Quantcast
Channel: Wireless Connectivity
Viewing all articles
Browse latest Browse all 116964

Forum Post: RE: CC1101 and ASK/OOK

$
0
0

Hi,

I have followed your advice and it works :)

I increased the rx filter bw and lowered the tx power and here comes my signal !

Thanks a lot : great chip, great support !

Here below my settings. Maybe it can help others to send/receive with ASK/OOK modulation at 433 FR.

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

# CRC autoflush = false

# Channel spacing = 199.951172

# Data format = Normal mode

# Data rate = 249.939

# RX filter BW = 541.666667

# PA ramping = false

# Preamble count = 4

# Whitening = false

# Address config = No address check

# Carrier frequency = 433.919830

# Device address = 0

# TX power = -15

# Manchester enable = true

# CRC enable = true

# Deviation = 126.953125

# 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.919830

# Channel number = 0

# PA table

#define PA_TABLE {0x00,0x1d,0x00,0x00,0x00,0x00,0x00,0x00,}

void config2()

{

cc1101.writeReg(CC1101_IOCFG0,0x06);

cc1101.writeReg(CC1101_PKTCTRL0,0x05);

cc1101.writeReg(CC1101_FSCTRL1,0x0C);

cc1101.writeReg(CC1101_FREQ2,0x10);

cc1101.writeReg(CC1101_FREQ1,0xB0);

cc1101.writeReg(CC1101_FREQ0,0x71);

cc1101.writeReg(CC1101_MDMCFG4,0x2D);

cc1101.writeReg(CC1101_MDMCFG3,0x3B);

cc1101.writeReg(CC1101_MDMCFG2,0x3B);

cc1101.writeReg(CC1101_DEVIATN,0x62);

cc1101.writeReg(CC1101_MCSM0,0x18);

cc1101.writeReg(CC1101_FOCCFG,0x1D);

cc1101.writeReg(CC1101_BSCFG,0x1C);

cc1101.writeReg(CC1101_AGCCTRL2,0x04);

cc1101.writeReg(CC1101_AGCCTRL1,0x00);

cc1101.writeReg(CC1101_AGCCTRL0,0x92);

cc1101.writeReg(CC1101_WORCTRL,0xFB);

cc1101.writeReg(CC1101_FREND1,0xB6);

cc1101.writeReg(CC1101_FREND0,0x11);

cc1101.writeReg(CC1101_FSCAL3,0xEA);

cc1101.writeReg(CC1101_FSCAL2,0x2A);

cc1101.writeReg(CC1101_FSCAL1,0x00);

cc1101.writeReg(CC1101_FSCAL0,0x1F);

cc1101.writeReg(CC1101_TEST0,0x09);

}


Viewing all articles
Browse latest Browse all 116964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>