Open jayateertha043 opened 1 year ago
I would highly suggest you become more familiar with the datasheet for the cc1101, this lib AND the examples. I would be willing to bet you do not have gdo hooked up, or you do not have it defined as the ELECHOUSE_cc1101.CheckReceiveFlag() only works if you have gdo.
Notice how it returns 0 which is false. No gdo= if (ELECHOUSE_cc1101.CheckReceiveFlag() ) is always false.
My advice depends on what you have set which is not shown, if you turned off PQT or messed with/completely turned off the sync mode (or even only used carrier) you are going to get more noise since there is constantly RF noise everywhere. The 0's aren't necessarily "dummy" values could be a very faint signal. You need filters to get what you are interested in. I typically use decoders as my filters on the Yardstick one and then feed it lowball values which is nearly everything.
It depends on what the FIFOTHR register is set at. Page 72 of the data sheet gives the details but there could be as much as 64 bytes of data in the buffer before overflow, or as little as 4 bytes in the buffer before overflow. Interestingly, I haven't seen any functions in this lib that set FIFOTHR, which would default at 33bytes TXfifo and 32bytes RXfifo
Issues -
Code -