I am experimenting with the CC1100 (clone) RF modules and find myself stuck in the middle of nowwhere. I have a pair of Demo Boards from the manufacturer on which these modules work perfectly and on all frequencies so it rules out the possibility of the Modules not working. I have had major help from Ron Marcus and Joe Desimone who shared their code with me for a jumpstart.
Solution:
I have a demo board of my own made for a 28 Pin PIC MCU (16F876A @ 4Mhz ) with 4 tactile switches, 4 LED's, and LCD (which I don't use) and a RS232 IO. I am just interested in sending a ASCII character from one Board to the other , at the press of a switch. Actual configuaration of portpins is given in the code. I prefer to use 315 Mhz as I have a old IC-R1 Communication receiver (my test equipment) to monitor the frequency for Transmission. On the manufacturer's demoboard i get a clean chirp of data transmission.
The RF modules that I have , have 5 pins for control, viz: TE (enables PA on Board), CSn, SO,SI and SCLK operating on 5V..
Problem:
It just does not Transmit, and the receiver just does not Receive. The reason I tell this is because , I tried transmitting some data from the manufacturer's Demo Board on that frequency and try to monitor the Rx FIFO on my board for any data. I cannot transmit because , i monitor for some Data on my IC-R1 and nothing copied. I am surely doing something worng somewhere. But I can program, verify the registers on the module perfectly. I can also see that Data goes into the TX_FIFO and (hopefully) Flushes out when I enable the TX. I check the TE going High during Tx the same way it happens on the Manufacturer's Demo Board, so no chance of getting that wrong (Active High/Low)
There are just a few doubts regarding :
- Register values. These values fairly tally with the values I derived from Smart RF studio for the frequency.
- Transmit and Receive Sequence. Can someone please tell me the Receive and Transmit sequence with these modules.
I attach various codes I tried to this thread for some one to help me.
I once again , sincerely, thank Ron Marcus and Joe Desimone for their help with their code, and look forward to their help once more.
regards
Bookmarks