- Posts: 4402
Frsky compatibility
- PhracturedBlue
- Topic Author
- Offline
Please Log in or Create an account to join the conversation.
- midelic
- Offline
- Posts: 174
You now that "Kreature" guy has uploaded on rcgroups forum one frequecy scanner code for cc2500.
Im thinking to use this scanner(or other scanner) and check the frequencies from pa/lna cc2500 chip.In base of that play with the cc2500 frequency register to match the required output.
This an idea maybe working maybe not(we know already with the bare chip is working) ..I want to try.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- midelic
- Offline
- Posts: 174
I'll buy one and test myself.Hope it will not take one year.
I don't know if you play with but I think the key is modifying FREQ1,FREQ0,FREQ2 registers.
Please Log in or Create an account to join the conversation.
- blackmoon
- Offline
- Posts: 402
Answer from the eBay vendor :
hi,the stock item is V8FR-II HV now.
Anyway, as the non-PA modules work, I can still use the skyartec module to bind to the cheap micro receiver VD5M. That's enough for me and indoor planes.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
www.ebay.com/itm/1-8-3-6V-CC2500-IC-Wire...&hash=item41698f4a84
Should work.
Please Log in or Create an account to join the conversation.
- blackmoon
- Offline
- Posts: 402
Please Log in or Create an account to join the conversation.
- IMback!
- Offline
- Posts: 84
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
My non-PA modules work fine with Skyartec and Frsky.
MyPA modules work only with Skyartec.
I have no idea what the difference is. the PA should not cause any frequency shift.
Please Log in or Create an account to join the conversation.
- IMback!
- Offline
- Posts: 84
Please Log in or Create an account to join the conversation.
- midelic
- Offline
- Posts: 174
CC2500_WriteReg(CC2500_0E_FREQ1, 0x76);
CC2500_WriteReg(CC2500_0F_FREQ0, 0x27);
I cannot bind.
but it works with,
cc2500_writeReg(CC2500_0E_FREQ1, 0x75);values
cc2500_writeReg(CC2500_0F_FREQ0, 0x6A);//
So i wonder if non pa modules have different frequencies.
I test also with:
cc2500_writeReg(CC2500_0E_FREQ1, 0x75);values
cc2500_writeReg(CC2500_0F_FREQ0, 0x27);
an working..so the difference
cc2500_writeReg(CC2500_0E_FREQ1, 0x75);//working
versus
cc2500_writeReg(CC2500_0E_FREQ1, 0x76);//not working
Please Log in or Create an account to join the conversation.
- sbstnp
- Offline
- Posts: 649
Devo 10 + 4in1
FrSky Taranis + TBS Crossfire
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
I took the code exactly as is (using FREQ1=0x76), and I was able to bind and control the 2-way protocol using my skyartec cc2500 (w/PA but I do not currently have an antenna attached). I was using my RPi and the signal wasn't stable (kept losing lock). i need to hookup SPI and see if it is RPi related or some tuning.
This is a different module than I had previously used. So it is possible that some amount of tuning is needed for each module to get it to work.
As a side note, last time I worked on this, I swept the 'FREQ1' value through the entire range and was unable to bind with my other CC2500 module.
So now I need to go through each of my CC2500 modules and see if I can reproduce the current behavior.
Please Log in or Create an account to join the conversation.
- blackmoon
- Offline
- Posts: 402
But before destroying a perfectly working receiver, I'll wait for the dust to settle on this, because I have two skyartec modules and if it would work with them, it would be preferable.
Please Log in or Create an account to join the conversation.
- midelic
- Offline
- Posts: 174
Normally should bind on 2404 base freq .....but bind lower with min 15 khz(76/00)...and It dropped also a lot of frames...I can control a servo but delayed.
These are bad news ..i don't think it can be standardized for all modules.Maybe similar module may behave differently.
I think frsky tune hardware(component selection) both tx and rx modules on the same freq....
The freq values to be change are FREQ1 and FREQ0...try sweeping both registers.
FREQ 2/1/0 make 24 bits word...normally on frsky 0x5c7627 equal 2404GHZ.
Fcarrier=Fosc*FREQ[23:0]/65536
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
www.aliexpress.com/item/10pcs-Lot-CC2500...pping/587066731.html
That is the non-PA module I have (actually I have 3 of them, but I've only wired one). I just verified, and the one I have wired works just like my Skyartec module I tested yesterday (base frequency=0x5c7627) So if that doesn't work for you using the same module, it implies that we need to find some way to calibrate these modules. I'm not sure if the hardware I have available has enough impedance to measure the oscillator frequency to compare to the frsky module
Please Log in or Create an account to join the conversation.
- midelic
- Offline
- Posts: 174
I think the frequency is shifting in time...with this one.I ordered new one from ebay I'm curious to see if working the same.
Please Log in or Create an account to join the conversation.
- midelic
- Offline
- Posts: 174
But the main problem remains,,I made it work with this module...when I shift the base frequecy....hacking FSCTRL0 register....
I believe with the pa module some aproach must be done change values of FREQOFF[7:0]..in FSCTRL0 ....
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
We'll likely need to find a way to tune the module. I'm not sure how. Maybe add a special mode to sweep the freq-adjustment until locking and then save the value.
Did you find code mistakes in my code? I'm not sure what the best way to try to find the proper frequency adjustment.
Please Log in or Create an account to join the conversation.
- midelic
- Offline
- Posts: 174
I'm using...
cc2500_writeReg(CC2500_0C_FSCTRL0, 0xd7); otherwise not working.
About the offset...trial and error....not sure but I think over 128 decrease the base freq and till 128 increase the freq...just guessing based on my experience....according with data sheet is ±202 kHz to ±210 kHz,
I think the base freq must be exactly in tune with rx base freq otherwise not binding...I'll do some more tests.
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- Frsky compatibility