(RF) CC1100 module

Hello,

I'm beginer here but I have this project I want to reuse the RF transceiver of an old wireless alarm sensor

the module on the PCB uses CC1100 TI's transceiver, almost identical to this one http://www.elechouse.com/elechouse/images/product/CC1101%20wireless%20module/W-CC1100%20manual.pdf

and since mine hase no public datasheet, i followed this one wich seems to be acurate

now I found this arduino library for CC1100 (GitHub - SpaceTeddy/CC1101: driver library for Ti CC1100 / CC1101. For Arduino and Raspberry Pi)

I connceted everything in following cc110_arduino.h

#define SCK_PIN 13
#define MISO_PIN 12
#define MOSI_PIN 11
#define SS_PIN 10
#define GDO2 9
#define GDO0 A0

when turned on, the L diode on the arduino blinks when the sensor see a move, but that's it,

when I call the functions like cc1100_receive I get nothing at best or errors. I don't know how it should work at all, though I'm reading a lot of docs but a hint would be great

my code looks like this

#include <cc1100.h>

void setup() {

Serial.begin(9600);
// if (1 == 1) { Serial.print("ooo"); }

}

void loop() {

cc1100.cc1100_receive();

}

and if I write cc1100_set_ISM("0x02") I get and error !!

here is my project

If somebody can quickly dig into the github files and tell me what I should write to begin with. I tryed cc1100_init but it's a private function ...

and maybe it's the pinout wich is not good

thanks

A quick google search shows this may be of help.
Also this could be helpful as they link to example code.

hey, thanks for the reply,
I've been all arround thoses and many more for the last few days,
but then again I've never used arduino before (though I kinda understand with my developer mind)
So I'm trying out all I can from thoses but till now all I have is what is said in first post

also should I mention that I'm trying to use a module that comes with the cristal and stuff, and not just the cc1100 chip

:slight_smile: cheerioz