12ch on HPx Spectrum modul's?

Like DSM2/DSMX? Want to mod your radio to support it? Post your messages here!
Post Reply
Alekseygo
Posts: 12
Joined: Fri Apr 06, 2012 10:07 pm
Country: -

12ch on HPx Spectrum modul's?

Post by Alekseygo »

I am not the professional programmer, I don't know WinAVR. I can't modify firmware. I will describe the protocol and I will suggest you to add the 9X-program.
The spectrum has some versions of the protocol. To the DX5 module is indifferent what to transfer. I know 3 options: 7 channels - one package (1024 bits), 9 channels - two packages (1024 bits ) and 12 channels two packages (2048 bits). The third variant is interesting. 2 packages on 16 bytes are transferred. The two first byte - power,bind and modelmatch - you know. Further - information on 6 channels on two bytes and "FF FF" - end.

chennel information include: 1bit - number of package + 4bit's - number of channels + 11bit's - data

Example:
80 00 83 E5 3B E5 1B E5 43 E5 4B E5 5A B6 FF FF
80 00 0B E5 2B E5 13 E5 23 E5 33 E5 53 E5 FF FF

83 Е5 1 0000 01111100101 ch=1
3В Е5 0 0111 01111100101 ch= 8
1b e5 0 0011 01111100101 ch= 4
43 e5 0 1000 01111100101 ch= 9
4b e5 0 1001 01111100101 ch= 10
5a b6 0 1011 01010110110 ch= 12

0B E5 0 0001 01111100101 ch= 2
2B E5 0 0101 01111100101 ch= 6
13 E5 0 0010 01111100101 ch= 3
23 E5 0 0100 01111100101 ch= 5
33 E5 0 0110 01111100101 ch= 7
53 E5 0 1010 01111100101 ch= 11

I hope information it is useful.

pmackenzie
Posts: 236
Joined: Tue Dec 27, 2011 11:19 pm
Country: -
Location: Don Mills, Ontario

Re: 12ch on HPx Spectrum modul's?

Post by pmackenzie »

Interesting.
Do you know if the DX4e module can do this? I don't have a DX5 module to try it with.
Do you have a link to where this information was found?

I tried fiddling with the 4 bit "number of channels" field, but it seemed to be ignored in the modules and receivers I tried it with. Only the order of the byte pairs seemed to matter.
Thanks,

Pat MacKenzie
Alekseygo
Posts: 12
Joined: Fri Apr 06, 2012 10:07 pm
Country: -

Re: 12ch on HPx Spectrum modul's?

Post by Alekseygo »

I paid attention that suited the module - the satellite - is transparent. Difference in the first 2 bytes. At the module it is DSM|DSX, Hi|lo power, bind-mode at the satellite it seems parameters of quality of a signal. Further I studied the packages accepted from the satellite with different transmitters. In particular DSM2048 I looked with Spectrum modul for multiplex and AR12000 and OrangeRX r910 receivers. Receivers 6ch (ar6100, orange R610) don't work with DSM2048

Modules DX4, DX5 - identical.
Last edited by Alekseygo on Sat Apr 07, 2012 12:52 pm, edited 1 time in total.
Alekseygo
Posts: 12
Joined: Fri Apr 06, 2012 10:07 pm
Country: -

Re: 12ch on HPx Spectrum modul's?

Post by Alekseygo »

Still there is DSM1024 version - 9ch. There 2 packages 10 bits data and 3 bits the address are used.
User avatar
Kilrah
Posts: 11109
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: 12ch on HPx Spectrum modul's?

Post by Kilrah »

That would be nice. They also released their DX18 with 18 channels (6 with lower resolution / framerate apparently), would be interesting to know if they always use the same TX module/firmware.
I have a Futaba-shaped Spektrum DM9 module, I could swap the transmitters to see if the one from the DX4e also transmits all 8 channels - but the only problem is that I don't have any Spektrum receiver with more than 6CH...

pmackenzie
Posts: 236
Joined: Tue Dec 27, 2011 11:19 pm
Country: -
Location: Don Mills, Ontario

Re: 12ch on HPx Spectrum modul's?

Post by pmackenzie »

I have a Dx4e and an AR8000.
Putting in 8 channels with the ER9X firmware did not work. I did not try the stock DX4e with the AR8000, but since it only puts out 6 channels I didn't think it would have to adapt its output.

What would be an interesting experiment would be to try an AR9000 with the DX4e. We know they don't work properly with ER9X, but not what happens with the DX4e.
AR9000 is one that I don't have unfortunately.

With my X9303 they use a similar looking module, but there is an additional processor between the wire from the encoder with lots of connections between it and the module.
I suspect it is something like the DEVO module, no brains inside and everything is handled by the intermediate processor.



Pat MacKenzie
User avatar
cre8tiveleo
Posts: 1434
Joined: Tue Dec 27, 2011 6:13 pm
Country: -
Location: Ontario,(GTA North)
Contact:

12ch on HPx Spectrum modul's?

Post by cre8tiveleo »

A hp6dsm, lp4 and dx4e all stock spektrum radios work with the ar9000 , i mentioned that when we were working on that same issue with the first dsm protocol implementations. :|
User avatar
Kilrah
Posts: 11109
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: 12ch on HPx Spectrum modul's?

Post by Kilrah »

While I have my logic anaylser out to look at FrSky stuff, I should check what the DX4e feeds the module with then...

There seem to be different possibilities:
- The actual Spektrum TX module has different FW versions available depending on TX they're in, in which case we're SOL.
- The modules have the same FW that supports everything, but there are different encoder->module protocols depending on the radio and no of channels (would be great, but little hope)
- A mix of both, modules all have the same firmware that allows the simple serial method we (and the low end Spektrum radios) use for basic operation, but that can also be overridden by talking to the module in SPI mode for more advanced operation (I tend to favor that one...)

But lunch time first, starting to get headaches :D

EDIT: Where did the current info about the serial protocol actually come from? Reverse-engineering from a working TX, if yes which one?
User avatar
cre8tiveleo
Posts: 1434
Joined: Tue Dec 27, 2011 6:13 pm
Country: -
Location: Ontario,(GTA North)
Contact:

12ch on HPx Spectrum modul's?

Post by cre8tiveleo »

So hooking up the fourth pin may be advantageous for atmx10 and 11 modules. :)
Alekseygo
Posts: 12
Joined: Fri Apr 06, 2012 10:07 pm
Country: -

Re: 12ch on HPx Spectrum modul's?

Post by Alekseygo »

Let's not to confuse modular systems (dm8 dm9 old dx-7) end modules HPx. In the first - only the transceiver and the amplifier. They work on SPI also them the controler outside operates. By the way, in USBEE-analizator for them there is a decoder. Modules HPx besides listed inside have a controler and they work only on UART. Whether here only identical firmware in them?
Alekseygo
Posts: 12
Joined: Fri Apr 06, 2012 10:07 pm
Country: -

Re: 12ch on HPx Spectrum modul's?

Post by Alekseygo »

Speak, there are still other revision
Attachments
IMG_41662.jpg
Dx7.jpg
User avatar
Kilrah
Posts: 11109
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: 12ch on HPx Spectrum modul's?

Post by Kilrah »

This looks quite similar to the X1TXN B2 I had in my DM9 for Futaba MZ, albeit with a different package for the Cypress chip:

Image

In the DM9 there's the whole SPI wired, BUT I've read about people using X1TXNs with the serial method we use, which is kind of weird then... or not so much , as the DX7 board you show doesn't have the processor soldered where the SPI controller would normally be.
This module has a blown PA though, so no more testing with it.
I haven't opened the DX5 one I have.

Post Reply

Return to “DSM2/DSMX Mods”