Sep 222013
 

In  a previous article, we have seen how to use RF433 chips with Arduino.

Pros for these chips are they are cheap and easy to use, cons is that they provide little or no tuning.

Hence, lets play a bit now with 2 texas cc1101 : with this component, we can play with the frequency (from 315 to 915), the modulation (ask, fsk, etc) and tons of other parameters.

You can use smartRF (optional) to dive into parameters.

First lets start with the pins of the cc1101.

spi

 

Here how it will connect to the arduino uno board (see here for other boards) :

cc1101_2_bb

 

To use the CC1101, you will need the panstamp library here.

Note that it will also work with the elechouse library here.

The initial thread on the Arduino forum.

Now lets have a look at the sketches.

Sending

#include "EEPROM.h"
#include "cc1101.h"

CC1101 cc1101;

// The LED is wired to the Arduino Output 4 (physical panStamp pin 19)
#define LEDOUTPUT 7

// counter to get increment in each loop
byte counter;
byte b;
//byte syncWord = 199;
byte syncWord[2] = {199, 0};

void blinker(){
digitalWrite(LEDOUTPUT, HIGH);
delay(100);
digitalWrite(LEDOUTPUT, LOW);
delay(100);
}

void setup()
{
Serial.begin(38400);
Serial.println("start");

// setup the blinker output
pinMode(LEDOUTPUT, OUTPUT);
digitalWrite(LEDOUTPUT, LOW);

// blink once to signal the setup
blinker();

// reset the counter
counter=0;
Serial.println("initializing...");
// initialize the RF Chip
cc1101.init();

//cc1101.setSyncWord(&syncWord, false);
cc1101.setSyncWord(syncWord, false);
cc1101.setCarrierFreq(CFREQ_433);
cc1101.disableAddressCheck();
//cc1101.setTxPowerAmp(PA_LowPower);

delay(1000);

Serial.print("CC1101_PARTNUM "); //cc1101=0
Serial.println(cc1101.readReg(CC1101_PARTNUM, CC1101_STATUS_REGISTER));
Serial.print("CC1101_VERSION "); //cc1101=4
Serial.println(cc1101.readReg(CC1101_VERSION, CC1101_STATUS_REGISTER));
Serial.print("CC1101_MARCSTATE ");
Serial.println(cc1101.readReg(CC1101_MARCSTATE, CC1101_STATUS_REGISTER) & 0x1f);

Serial.println("device initialized");
//Serial.println("done");
}

void send_data() {
CCPACKET data;
data.length=10;
byte blinkCount=counter++;
data.data[0]=5;
data.data[1]=blinkCount;data.data[2]=0;
data.data[3]=1;data.data[4]=0;
//cc1101.flushTxFifo ();
Serial.print("CC1101_MARCSTATE ");
Serial.println(cc1101.readReg(CC1101_MARCSTATE, CC1101_STATUS_REGISTER) & 0x1f);
if(cc1101.sendData(data)){
Serial.print(blinkCount,HEX);
Serial.println(" sent ok :)");
blinker();
}else{
Serial.println("sent failed :(");
blinker();
blinker();
}
}

void loop()
{
send_data();
delay(4000);
}

Receiving

#include "EEPROM.h"
#include "cc1101.h"

// The LED is wired to the Arduino Output 4 (physical panStamp pin 19)
#define LEDOUTPUT 4

// The connection to the hardware chip CC1101 the RF Chip
CC1101 cc1101;

byte b;
byte i;
byte syncWord = 199;
long counter=0;
byte chan=0;

// a flag that a wireless packet has been received
boolean packetAvailable = false;

void blinker(){
digitalWrite(LEDOUTPUT, HIGH);
delay(100);
digitalWrite(LEDOUTPUT, LOW);
delay(100);
}

/* Handle interrupt from CC1101 (INT0) gdo0 on pin2 */
void cc1101signalsInterrupt(void){
// set the flag that a package is available
packetAvailable = true;
}

void setup()
{
Serial.begin(38400);
Serial.println("start");

// setup the blinker output
pinMode(LEDOUTPUT, OUTPUT);
digitalWrite(LEDOUTPUT, LOW);

// blink once to signal the setup
blinker();
// initialize the RF Chip
cc1101.init();

cc1101.setSyncWord(&syncWord, false);
cc1101.setCarrierFreq(CFREQ_433);
cc1101.disableAddressCheck(); //if not specified, will only display "packet received"
//cc1101.setTxPowerAmp(PA_LowPower);

Serial.print("CC1101_PARTNUM "); //cc1101=0
Serial.println(cc1101.readReg(CC1101_PARTNUM, CC1101_STATUS_REGISTER));
Serial.print("CC1101_VERSION "); //cc1101=4
Serial.println(cc1101.readReg(CC1101_VERSION, CC1101_STATUS_REGISTER));
Serial.print("CC1101_MARCSTATE ");
Serial.println(cc1101.readReg(CC1101_MARCSTATE, CC1101_STATUS_REGISTER) & 0x1f);

attachInterrupt(0, cc1101signalsInterrupt, FALLING);

Serial.println("device initialized");
}

void ReadLQI()
{
byte lqi=0;
byte value=0;
lqi=(cc1101.readReg(CC1101_LQI, CC1101_STATUS_REGISTER));
value = 0x3F - (lqi & 0x3F);
Serial.print("CC1101_LQI ");
Serial.println(value);
}

void ReadRSSI()
{
byte rssi=0;
byte value=0;

rssi=(cc1101.readReg(CC1101_RSSI, CC1101_STATUS_REGISTER));

if (rssi >= 128)
{
value = 255 - rssi;
value /= 2;
value += 74;
}
else
{
value = rssi/2;
value += 74;
}
Serial.print("CC1101_RSSI ");
Serial.println(value);
}

void loop()
{
if(packetAvailable){
Serial.println("packet received");
// Disable wireless reception interrupt
detachInterrupt(0);

ReadRSSI();
ReadLQI();
// clear the flag
packetAvailable = false;

CCPACKET packet;

if(cc1101.receiveData(&packet) > 0){
if(!packet.crc_ok) {
Serial.println("crc not ok");
}

if(packet.length > 0){
Serial.print("packet: len ");
Serial.print(packet.length);
Serial.print(" data: ");
for(int j=0; j<packet.length; j++){
Serial.print(packet.data[j],HEX);
Serial.print(" ");
}
Serial.println(".");
}
}
// Enable wireless reception interrupt
attachInterrupt(0, cc1101signalsInterrupt, FALLING);
}
}

Voila 🙂
You know should not a bit better on the cc1101 pins, on how to connect it to the arduino and you have basic code to developp your projects.

 Posted by at 18 h 14 min

103
Poster un Commentaire

avatar
44 Comment threads
59 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
45 Comment authors
AndylotfiadminMark DiVecchiofrancisco Recent comment authors
  Subscribe  
plus récents plus anciens
Me notifier des
lostgdi
Invité
lostgdi

thanks for your message.

Carlo
Invité
Carlo

Hi. Thanks for the code, it was very usefull for me to test 2 modules that I just received.
P.S.On Opera the code is messed up a little. The double quote in the Serial.print command aren’t displayed proprely.

Luca Innocenti
Invité
Luca Innocenti

hi
i’m using an Arduino Uno with the module
http://www.elechouse.com/elechouse/index.php?main_page=product_info&products_id=802

I’m trying to use the code but I have a problem
setting the frequency to 443 MHz does not compile (works with frequency 868 MHz,no header reference for CFREQ_433 )
I also have error when printing to serial port calling the function readReg.

Using libraries of ElecHouse, transmission works fine but is limited to 40-50 m

thanks
Luca

Kit
Invité
Kit

Hi,

Good tutorial. I am doing your tutorial on ARDUINO MEGA 2560. I edited the spi.h from panstamp so that pinnings would be correct. The only problem I’m getting is that, the receiver can’t start receiving unless I manually disconnect and reconnect the GDO pin from the arduino interrupt pin. Alternative is to short the GDO and the PIN2(external interrupt) to 3.3V to start receiving.

Regards,
Kit

Josh
Invité
Josh

Hi, I am struggling trying to get this running with my mega 2560 R3… would you be able to share your project just so I can get this transmitting?

Thanks,
-Josh

ADI
Invité
ADI

HELLO ,
I CANT SE IN YOUR SCHEMA ANY ANTENA THAT IS NEEDED CAN YOU PLEASE ADVICE ?

AVD
Invité
AVD

Your article is the only thing I found in google with both code and pinout. Works like a charm, THANKS! I used dx.com/p/diy-cc1101-433mhz-wireless-transceiver-module-for-arduino-green-2-pcs-149251

aleena
Invité
aleena

i tried to execute this code but it gives be compiling error that In file included from C:\Users\aleena\Downloads\arduino-1.0.5-r2-windows\arduino-1.0.5-r2\libraries\panstamp/cc1101.h:48, from panstamp_TX.ino:2: C:\Users\aleena\Downloads\arduino-1.0.5-r2-windows\arduino-1.0.5-r2\libraries\panstamp/spi.h:81: error: ‘CC1101’ does not name a type In file included from C:\Users\aleena\Downloads\arduino-1.0.5-r2-windows\arduino-1.0.5-r2\libraries\panstamp/cc1101.h:50, from panstamp_TX.ino:2: C:\Users\aleena\Downloads\arduino-1.0.5-r2-windows\arduino-1.0.5-r2\libraries\panstamp/ccpacket.h:69: error: ‘CC1101’ does not name a type In file included from panstamp_TX.ino:2: C:\Users\aleena\Downloads\arduino-1.0.5-r2-windows\arduino-1.0.5-r2\libraries\panstamp/cc1101.h:520: error: expected constructor, destructor, or type conversion before ‘class’ C:\Users\aleena\Downloads\arduino-1.0.5-r2-windows\arduino-1.0.5-r2\libraries\panstamp/cc1101.h:838: error: ‘CC1101’ does not name a type panstamp_TX.ino: In function ‘void setup()’: panstamp_TX:37: error: ‘cc1101’ was not declared in this scope panstamp_TX.ino: In function ‘void send_data()’: panstamp_TX:66: error: ‘cc1101’ was not declared in this scope  » what does this mean and… Read more »

aleena
Invité
aleena

i am using panstamp libraries with it but it gives me the above error

aleena
Invité
aleena

hi,

my question is that on cc1101 the max voltage that can be on any digital pin is 3.9v but the high or low voltage levels for arduino correspond to +5v and 0v so if we directly connect the pin out as given in your diagram would there be any damage to cc1101

lotfi
Invité
lotfi

@alenna
You must power the CC1101 with 3.3V but its I/O pins are tolerant to 5V, so you can connect them directly ont arduino I/O pins

use an LDO33 for example from the +5 V of the arduino to obtaine a 3.3V, but do not use the 3.3V of the arduino (I have a nano V3) that comes from the USB/UART tranceiver because it have no power…

HS
Invité
HS

hey,
i tried the similar connections and same code….. but i get 0 wtever i try 2 read…….. can any1 help wid this???

Fernando
Invité
Fernando

I am using mega and cc1101 with sucess. but im facing the same problem that kit. I have to short GDO0 with 3.3v just once to start receiving. Is the GDO0 set with the correct function?

Fernando
Invité
Fernando

I got it. The problem was that the receiver needs the command « cc1101.setRxState » to start receiving without short the gdo0 pin.

Luiz Augusto
Invité
Luiz Augusto

Hi, congratulations for the code,
I’m having problems with the ReadLQI on the line
“ value = 0x3F – (lqi & 0x3F); ”
The error is :
Receptor_CC1101:70: error: stray ‘\’ in program
Receptor_CC1101:83: error: stray ‘\’ in program
Receptor_CC1101.ino: In function ‘void ReadLQI()’:
Receptor_CC1101:70: error: expected `;’ before ‘u2013’
Receptor_CC1101.ino: In function ‘void ReadRSSI()’:
Receptor_CC1101:83: error: expected `;’ before ‘u2013’

what does this mean and how can i remove this problem

ale
Invité
ale

Hi Erwan,

I’m working with mega and nrf24l01, but i have a limitation and only can work with 6 channels RF, each channel with 1 RF Module.
I read than CC1101 module, can work in multichannel mode.(i assume ‘N’ channels and ‘N’ RF modules).
that is true?, can I read and write to each channel separately? no matter how many are?

thank’s
Alejandro

Josh
Invité
Josh

Hi Erwan, thank you for the tutorial. I am having difficulties trying to get this running using two Arduino Mega 2560’s. I am using the Arduino 1.0.5-r2 IDE to code with and these modules: http://www.ebay.ca/itm/251174999449?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649. I have modded the spi.h file to coincide with the spi of the boards. When the Send program runs, it gives this output: start initializing… CC1101_PARTNUM 0 CC1101_VERSION 0 CC1101_MARCSTATE 0 device initialized CC1101_MARCSTATE 0 However, that is all it prints out. It seems as though it is getting caught up in the actual send function in the cc1101.cpp file because it simply does not… Read more »

johan
Invité
johan

Perfect. I’ve tested it on Arduino mini (3.3V). It works out of the box!

Thank you.

Nishant
Invité
Nishant

Hello,
I have used the pan stamp Library you attached in the comment with the above code. I am using Arduino Uno on sending side and Arduino Mega ADk on the receiving end. I made changes to the SPI pins as found out in the comment for ADK. I get the following on Serial Monitor on sending side.

CC1101_MARCSTATE 13
B6 sent ok 🙂
CC1101_MARCSTATE 13
B7 sent ok 🙂
CC1101_MARCSTATE 13
B8 sent ok 🙂

On the Receiving side it just stays on the following:

start
CC1101_PARTNUM 0
CC1101_VERSION 4
CC1101_MARCSTATE 1
device initialized

I am unable to receive the packet, Can you please help me out.

SixSixSevenSeven
Invité
SixSixSevenSeven

Using the panstamp library linked here I get the following errors:
sketch_aug18a.ino: In function ‘void setup()’:
sketch_aug18a:40: error: ‘CFREQ_433’ was not declared in this scope
C:\Users\Callum\Documents\Arduino\libraries\panstamp/cc1101.h:306: error: ‘byte CC1101::readReg(byte, byte)’ is private
sketch_aug18a:47: error: within this context
C:\Users\Callum\Documents\Arduino\libraries\panstamp/cc1101.h:306: error: ‘byte CC1101::readReg(byte, byte)’ is private
sketch_aug18a:49: error: within this context
C:\Users\Callum\Documents\Arduino\libraries\panstamp/cc1101.h:306: error: ‘byte CC1101::readReg(byte, byte)’ is private
sketch_aug18a:51: error: within this context
C:\Users\Callum\Documents\Arduino\libraries\panstamp/cc1101.h: In function ‘void send_data()’:
C:\Users\Callum\Documents\Arduino\libraries\panstamp/cc1101.h:306: error: ‘byte CC1101::readReg(byte, byte)’ is private
sketch_aug18a:66: error: within this context

Seems like a pretty broken library to me

johan
Invité
johan

Great topic! And guide. It worked for me.

The only problem is that my range is very bad (40 meter). I tried to set the config in smartrf. I’ve the cc1101 with the small spiral connetion. How many meters can you all reach??

Jung
Invité

Hi, nice post and really helpfull! I plan to use a cc1101 pretty soon, but I have one interrogation that you may answer, what is you thought abought the rssi register? Does it correspond well to the quality of the signal? could you use it as a « range meter » to see if you are getting closer or further of the other tranceiver?
Thanks a lot, and once again nice job.

Fab
Invité
Fab

Can I use library for the CC1125?

Fabrizio

Phong
Invité
Phong

Hi !
The first, thanks for your code.
I have a homework about CC1101. I have to make a survey with data rate, model of modulation and distance that 2 kits can transceiver together. I must use Smart RF studio to configure CC101 and change it in library cc1101.h , Is that right ? Can you send me screenshot when you configure your code.
Thanks so much 🙂 !
Hope your replies

Andree
Invité
Andree

Hi Erwan! I want to ask some question about ASK/OOK modulation in CC1101, please help me: 1. I can’t use ASK/OOK modulation in CC1101, I saw your post in E2E http://e2e.ti.com/support/wireless_connectivity/f/155/t/271985.aspx , I configure it like your configure, but it still not work . Can you help me, plz .. 2. To adjust the power transmittion, I fix value in line  » #define PA_LowPower 0x60″ of file cc1101.h . that right ? 3. I see some posting in E2E such as http://e2e.ti.com/support/wireless_connectivity/f/155/p/16316/62797.aspx#62797. TI Employee said that « You will need to make sure PATABLE[0] and PATABLE[1] values for the OOK levels… Read more »

Girts
Invité
Girts

Hi!

I usually use atmel studio for programming microcontrollers. This time I needed to test cc1101 with arduino. I have question about installing libraries, because it seems that they are not working for me. But when I open libraries in arduino software the pantstamp is there, and I tried both in documents and in installed location.
Any ideas?

Thanks in advance,
Girts

Girts
Invité
Girts

And what should I do with Sketches folder?

Girts
Invité
Girts

Well thanks for your responses. Everything works very good now, but I have no idea how I did make the panstamp library work, because on my PC everything works perfectly, but when I tried to do the same thing on my laptop, it still gives the same error about: CFREQ_433′ was not declared in this scope, despite the fact that I did the same steps as on PC.

stathisalfa
Invité
stathisalfa

Hi! I copy the code and i have these errors. In this line of the code ( cc1101.setCarrierFreq(CFREQ_433); ) Can you please help me to solve the problem? Arduino: 1.5.5 (Mac OS X), Board: « Arduino Mega or Mega 2560, ATmega2560 (Mega 2560) » sketch_nov08a.ino: In function ‘void setup()’: sketch_nov08a:67: error: ‘CFREQ_433’ was not declared in this scope /Users/stathisgtv/Documents/Arduino/libraries/cc1101/cc1101.h:306: error: ‘byte CC1101::readReg(byte, byte)’ is private sketch_nov08a:74: error: within this context /Users/stathisgtv/Documents/Arduino/libraries/cc1101/cc1101.h:306: error: ‘byte CC1101::readReg(byte, byte)’ is private sketch_nov08a:76: error: within this context /Users/stathisgtv/Documents/Arduino/libraries/cc1101/cc1101.h:306: error: ‘byte CC1101::readReg(byte, byte)’ is private sketch_nov08a:78: error: within this context /Users/stathisgtv/Documents/Arduino/libraries/cc1101/cc1101.h: In function ‘void send_data()’: /Users/stathisgtv/Documents/Arduino/libraries/cc1101/cc1101.h:306: error: ‘byte… Read more »

Adi
Invité
Adi

Hi I’m using the panstamp library in arduino, and want to change the data rate. But the question is where am I able to do that ?

Gary
Invité
Gary

Thank you for this blog. This is still the only info I was able to Google to help me get these modules
working! Mine are working great but range is pretty bad… maybe 40ft indoors, a little better outside.
I’ve tried using SmartRF but its values make it even worse. Replacing the « rubber ducky » antenna with
a dipole(17cm each side) does help.

NOTE: Your script could select the « long distance » high power transmit if you put it before the init line
(I needed this to get to the 40ft!)
….
cc1101.setTxPowerAmp(PA_LongDistance);
cc1101.init();
….
Gary

trackback

[…] here […]

Barry
Invité
Barry

Hi there and thanks for the information you have given us on your web page. I managed to get two Arduinos talking using your code without any problems. A strange thing happened when I commented out all the Serial line. The device stopped sending. Have you or any of your reader had a similar problem?

Thanks again
Barry

Sy
Invité
Sy

Hello,

I have a problem that i can resolve, all works fine but thé range of my transmission is around 1 ft 🙁

I use panstamp library with this module
http://m.miniinthebox.com/fr/nouvelle-433mhz-sans-fil-rf-module-emetteur-recepteur-cc1101-avec-antenne_p381479.html

Tanks for your Help,
Julien

applemaster
Invité
applemaster

Hi,

I could successfully transmit and receive counter data from CC1101 using arduino. However as soon as I try to perform a analogRead at the transmitter end, I get no output at the receiver.

Did anyone face similar problem? Thanks for the help.

Cheers!!!
Tanumay

Abhishek Banerjee
Invité
Abhishek Banerjee

Hi,

I have a very basic question. I have connected the RF modules to two arduino and it works. However, I have no idea how to connect the C1101 to SmartRF. When I launch smartRF (with the C1101 conneced to the arduino boards), I am unable to see the devices to connect to. Can you please explain step by step how I can connect smartRF to the C1101 ?

tpark
Invité
tpark

Hi,

I’m currently looking to interface an Arduino Uno board with a transceiver module that uses the CC1100 chip and would like to try out your sketches for basic transmission and receiving of data. Would there be any necessary changes needed for the defintions in the panstamp library?

Thanks
tpark

cyber_cynic
Invité
cyber_cynic

I have some RF1100SE modules with the CC1101 chip and want to follow your tutorial.
I have downloaded/installed SmartRF.

With Arduino boards you communicate with the Arduino IDE via the USB port.

How do I interface/communicate between the CC1101 module and SmartRF?

Gaben
Invité
Gaben

Hi!

I tested my two CC1101 module with this lib and this test code. Now i have to modify the CC1101 default settings. but how can i do this? i found the #define CC1101_DEFVAL… part in the header file and the void CC1101::setDefaultRegs(void) part in the ccp file where these registers are used for setup. But is it enough if i change the value of the DEFVAL-s to the desired register values? i ask this because i didnt found where is setDefaultRegs() get called, so im not sure that this code use this values for initialization

Hims
Invité
Hims

Hi Erwan, Excellent code for starting with cc1101. I’ve tried on arduino UNO it works great. I want to communicate Arduino with Teensy 3.1 in that scenario I’ve uploaded Transmission code to Arduino and I want to upload Reception code in Teensy3.1 . While compiling for Teensy3.1 I am facing following error. ##################################################################################### Arduino: 1.6.5 (Windows 7), TD: 1.25, Board: « Teensy 3.2 / 3.1, Serial, 96 MHz optimized (overclock), US English » Build options changed, rebuilding all C:\Users\Hims\Documents\Arduino\libraries\panstamp\calibration.cpp: In function ‘bool rcOscCalibrate()’: C:\Users\Hims\Documents\Arduino\libraries\panstamp\calibration.cpp:42:23: error: ‘OSCCAL’ was not declared in this scope uint8_t oldOsccal = OSCCAL; ^ C:\Users\Hims\Documents\Arduino\libraries\panstamp\calibration.cpp:45:23: error: ‘TCCR1A’ was not… Read more »

Jan-Erik
Invité
Jan-Erik

There is a serious flaw in this example. See PanStamp library function
/**
* setSyncWord (overriding method)
*
* Set synchronization word
*
* ‘syncH’ Synchronization word – pointer to 2-byte array
* ‘save’ If TRUE, save parameter in EEPROM
*/
void CC1101::setSyncWord(byte *sync, bool save)
{
CC1101::setSyncWord(sync[0], sync[1], save);
}

It expects a two-byte array, and as it is declared here
byte syncWord = 199;
The second byte will be random depending on build

Change to
byte syncWord[2] = {199, 0};
and
cc1101.setSyncWord(syncWord, false);

Pascal
Invité
Pascal

Hi Erwan,
what kind of Arduino did you use? In the video https://www.youtube.com/watch?v=pNhwu2CD7zI, the guy use a level converter to make Arduino Uno digital pins from 5V down to 3.3V… I used CC1101 modules on an older project but I’m afraid they may have burnt due to this voltage issue. Maybe your modules have a built-in level converter ?
Regards,
Pascal.

Mark DiVecchio
Invité

Thanks to Erwan this information.

The limit on voltage levels on Logic Inputs per the CC1101 spec is « VDD ». That would be 3.3v.

It is pretty important that you keep your inputs at VDD or lower. I did not on my Arduino and my system did not work. Luckily, I did not destroy the CC1101.

I have now changed to using an Infiduino which can operate at 3.3v.

Mark DiVecchio
Invité

I have been successful using Erwan’s idea to create an OOK radio to control my model trains from my PC. Details and all of the source code is available on my web page:

http://www.silogic.com/trains/OOK_Radio_Support.html

Nass
Invité
Nass

Hi,

I followed this tutorial: download the panstamp library from :
https://code.google.com/archive/p/panstamp/downloads
and copied the code of sending from here. I got this error:
C:\Program Files (x86)\Arduino\libraries\panstamp/panstamp.h:31:20: fatal error: EEPROM.h: No such file or directory

Ps. I use arduino DUE.

Anyone can help me please ??

Murat
Invité
Murat

Thanks Erwan and Jan-Erik.
Please Erwan, correct your code with Jan-Erik’s suggestion. (http://labalec.fr/erwan/?p=497#comment-25564)

Because of the SyncWord, I had been so many failed tests.

Best regards.

francisco
Invité
francisco

Hi! Does anybody knows what i vahe to change to make elechouse library works on a ChipKit uno32. the difference is the AVR changes for a 32 bits PIC. I`ve tried to change the registers but it does not work. any idea? thanks in adcance!

Andy
Invité
Andy

Should SynchWord only be corrected in Tx?

On what platforms is cc1101.setRxState() needed? Where does it go?