barryforever
Member level 2
Hi,
I'm working on a CC1101 sub 1 Ghz Transceiver IC along with MSP430G2553 for a project.
I did find some code which I debugged and got it working on the basic level (like strobing and reading the status register , all those sort of stuff ). I have verified the connections and they are all good.
Since I do not own a Spectrum Analyzer I'm unable to verify transmission. However upon couple days after discussing at the TI forum's I came to know that the GDO_PIN will sync only if the transmission was successful. However I still cannot be 100% sure as I don't own a spectrum Anlalyzer.
Im unable to receive any sort of packet at all. There some seems to be a minor issue which I just don't seem to pick up. I had spent more than 4 weeks on this module now.
Upon debugging in line mode , I found out that the MCU enters line 65 in main.cpp irrespective whether there is a transmission on the transceiver or not.
LINE 65 :
The MCU does not enter the true part of the logic at line 65 from the second pass onwards ( even if there is a transmission from the transceiver ).
I had checked the interface modules with Arduino and they are working perfectly.So should'nt be problem with the modules.
Im attaching the project code to this post, could somebody tell me what the problem is and correct it . It would be of great help.
I'm working on a CC1101 sub 1 Ghz Transceiver IC along with MSP430G2553 for a project.
I did find some code which I debugged and got it working on the basic level (like strobing and reading the status register , all those sort of stuff ). I have verified the connections and they are all good.
Since I do not own a Spectrum Analyzer I'm unable to verify transmission. However upon couple days after discussing at the TI forum's I came to know that the GDO_PIN will sync only if the transmission was successful. However I still cannot be 100% sure as I don't own a spectrum Anlalyzer.
Im unable to receive any sort of packet at all. There some seems to be a minor issue which I just don't seem to pick up. I had spent more than 4 weeks on this module now.
Upon debugging in line mode , I found out that the MCU enters line 65 in main.cpp irrespective whether there is a transmission on the transceiver or not.
LINE 65 :
Code:
if(cc1101.ReceivePacket(rxBuffer, &len))
The MCU does not enter the true part of the logic at line 65 from the second pass onwards ( even if there is a transmission from the transceiver ).
I had checked the interface modules with Arduino and they are working perfectly.So should'nt be problem with the modules.
Im attaching the project code to this post, could somebody tell me what the problem is and correct it . It would be of great help.