- Posts: 521
Developing a universal module
- RandMental
-
- Offline
- DarkWolf
-
- Offline
- Posts: 70
- PhracturedBlue
-
Topic Author
- Offline
- Posts: 4403
No. There are 2 parts: a) the chips used for communication b) the protocola (software) used for communication.DarkWolf wrote: PB, I see that the V922 uses NRF24L01E and the Anylink is NRF24L01.. Does that mean that I could simply pick up an Anylink external mod and hook it up PPM and it would work with the V922? I don't mind having a strap on module at all. Would put the V922 back on the buy list for sure.
generally if to radios use different chips there is no possibility of them talking. However even if they use the same chips, they can't talk unless they can speak the same protocol. That is where deviation comes in. All of the following: DEVO, WK2x01, DSM, and J6Pro use the same chips but different protocols. Deviation has code for each protocol and so can communicate with all of those. The same now applies for the other chips:
A7105: Flysky and Hubsan
CC2500: FrSky and Skyartec
NFR24L01: V922, Anylink, NE260, MJX
This thread is only about the hardware (how do we support the chips). the question of protocol comes next and needs to be evaluated case by case.
- blackmoon
-
- Offline
- Posts: 402
With maybe a mcu and some logic to drive them, this would in the end be faster and will mostly work.
Only thing is the space constraint inside the transmitters.
Developing one rf module is already a big deal, not talking about 4 or 5 on the same pcb.
- ColdFire
-
- Offline
- Posts: 45
blackmoon wrote: Ihmo, the best way, as you already stated it, would be a "little" MB where all modules be plugged.
With maybe a mcu and some logic to drive them, this would in the end be faster and will mostly work.
Only thing is the space constraint inside the transmitters.
Developing one rf module is already a big deal, not talking about 4 or 5 on the same pcb.
- Wene001
-
- Offline
- Posts: 277
Greetz
- jpshu
-
- Offline
- Posts: 3
I have A7105 data about "FIFO mode", Include demo code for A7105, I have updated to my netware disk, please you download it.
pan.baidu.com/share/link?shareid=464899&uk=2855534891
- victzh
-
- Offline
- Posts: 1386
- PhracturedBlue
-
Topic Author
- Offline
- Posts: 4403
As I said above, I'm interested in the 'Direct Mode' document, because I haven't seen anyone use it, and I am wondering if I can use it for some other things, so seeing an example would be helpful. I do not need the 'FIFO' document as we already have working code using that procedure.jpshu wrote: PhracturedBlue
I have A7105 data about "FIFO mode", Include demo code for A7105, I have updated to my netware disk, please you download it.
pan.baidu.com/share/link?shareid=464899&uk=2855534891
- jpshu
-
- Offline
- Posts: 3
I have updated "direct mode" demo code for a7105 to my netware disk, please you download it.
pan.baidu.com/share/link?shareid=471838&uk=1260881382
- PhracturedBlue
-
Topic Author
- Offline
- Posts: 4403
Thanks, it looks good. I haven't dug through the code, but looks promising.jpshu wrote: PhracturedBlue
I have updated "direct mode" demo code for a7105 to my netware disk, please you download it.
pan.baidu.com/share/link?shareid=471838&uk=1260881382
- SadSack
-
- Offline
- Posts: 317
- vlad_vy
-
- Offline
- Posts: 3333
victzh wrote: Maybe someone is producing a chip, powerful enough to cover all protocol requirements (except DSSS ones)?
JR DMSS protocol is a combination of DSSS and FHSS protocols. Possible CC2520 chip can be used for both DSSS or FHSS protocols?
www.jrpropo.co.jp/english/propo/dmss/whats_dmss.html
www.archeli.com.au/forums/showthread.php?t=153157
- victzh
-
- Offline
- Posts: 1386
- MassiveOverkill
-
- Offline
- Posts: 49
- victzh
-
- Offline
- Posts: 1386
Another approach is 4 RF chips, one PA, one RF switch and one controller. Parts cost are around $25, so target price is around $60-75.
- blackmoon
-
- Offline
- Posts: 402
I want to had two more modules, cc2500(skyartec), nRF24l01+(HiSky).
Currently I can only add one or the other so I came up with a pcb adapter + mcu (Attiny13).
Pcb isn't designed yet, I don't know how big it will be and if enough space is available on both transmitters.
On the 7E I think it will be very difficult to fit...
The Tiny13 should be enough to read both TMS and TCK pins, and enable three modules : A7105,CC2500, nRF24L01+
| B12 | A13(TMS) | A14(TCK) | MODULE |
| 1 | 0 | 0 | CYRF6936 |
| 0 | 0 | 1 | nRF24L01+ |
| 0 | 1 | 0 | CC2500 |
| 0 | 1 | 1 | A7105 |
I think it is possible to enable both TMS and TCK pins at the same time.
But how you do it in deviation ?
I take it isn't so simple as adding :
enable-a7105=A13 A14 (or even A13 && A14)
has_pa-a7105=1
The only place I find a reference A13 A14 is in tx.ini
I found this also in /config/tx.c
/* Section: TX Module */
static const char SECTION_MODULES[] = "modules";
static const char MODULE_ENABLE_PIN[] = "enable";
static const char MODULE_HAS_PA[] = "has_pa";
static const char * const MODULE_NAME[4] = {"cyrf6936", "a7105", "cc2500", "nrf24l01"};But can't see how it read the values of A13 and A14 in the tx.ini.
If not this simple, how could one patch the firmware to enable both pins when a protocol using the A7105 is selected ?
Thank you.
Sorry for the image quality, it isn't like that on the original; forum compression ?
- victzh
-
- Offline
- Posts: 1386
WRT space - I found that you can fit three extra modules on a daughter board inside Devo 7E, even easier if you remove the SMA and solder antenna feed directly to the board, and solder the board to daughter board. When I'm done with the layout I will publish it.
- rbe2012
-
- Offline
- So much to do, so little time...
- Posts: 1433
If you want to create a new condition like "A13+A14" you will have to change the method reading the tx.ini and the code which activates a module since all data structures and functions expect one pin to be used.
This will be no easy task.
- victzh
-
- Offline
- Posts: 1386
-
Home
-
Forum
-
Development
-
Development
- Developing a universal module