Arduino library for TI CC1101. Supports the latest Arduino IDE and Platformio. Tested with AVR atmega328, stm32f103, nodeMCU and probably works with a lot more.
Hello my friend. I'm using your CC1101_RF library and WOR example, which I've redesigned for arduino (I'm using pro mini 3.3v 8mhz). I came across the fact that in wor mode, the receiver wakes up due to third-party signals (for example, signals from a different address, with a different sync word or frequency), and without interruption on GDO0 (therefore, this event cannot be worked on the microcontroller, because it wakes up on an interrupt). At the same time, the consumption of cc1101 increases to 18 mA (and lasts constantly), which is unacceptable for an autonomous project. I have an assumption that the wor function of your library lacks some kind of register responsible for putting the radio module back into sleep mode when an incorrect packet is received (mismatch of address or frequency). Please tell me what my problem is.
And there is also no setAddress(addr) function in the library (but in the description it is).
Hi, I'm sorry to bother you again. The fact is that my final project runs on atmega2560 (MegaCore on 8mhz frequency and 3.3V power). From the example (sleep), only this line is not compiled: sleep_bod_disable(); Without it, I managed to load the code, but the radio module did not receive data. He only woke up once and then the consumption of the circuit hung at 1.8mA. I tried out the same code on the arduino mega. The data was also not accepted. You wrote that the library should most likely work on any atmega. Maybe you know what's the matter, considering that I use atmega2560