- Posts: 1386
TARANIX X9D: New hardware platform for Deviation?
- victzh
- Offline
Please Log in or Create an account to join the conversation.
- SeByDocKy
- Offline
- Posts: 1016
Actually, in your V2x2 port, if I understand, you fixed the speed ? which one is it ? (250kbits,1Mbits or 2Mits?)
Please Log in or Create an account to join the conversation.
- victzh
- Offline
- Posts: 1386
Please Log in or Create an account to join the conversation.
- SeByDocKy
- Offline
- Posts: 1016
Can you post a photo and give me reference of the material you are using to read SPIout ?. I am curious to see how it's working. Maybe if it's not too expensive, I will be this material to read my other V212 and V262 quads
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
Please Log in or Create an account to join the conversation.
- RandMental
- Topic Author
- Offline
- Posts: 521
PhracturedBlue wrote: I have the protocol ported...It just doesn't work My guess is that there is something specific about the Tx modules they use (xtal tuning/something) since my code works fine with un-amplified modules but not with the amplified ones.
Vlad: Now I got FrSky Taranis X9D, just in case.
Hi Vlad,
Perhaps you can have a look inside and see if there are any obvious differences compared to the modules we use in the Devo. As PB suggested, maybe using a non-standard xtal, or anything that is not obvious from analyzing their FrSky firmware source code.
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
Please Log in or Create an account to join the conversation.
- SadSack
- Offline
- Posts: 317
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
it actually doesn't look that different. I can't read the chip ids, but it seems to have the transceiver on the bottom and the PA on the top.vlad_vy wrote: It looks quite different from modules we use in the Devo.
I'm not sure what the ciruit between the PA and the antenna is though. there are 3 parallel lines. The middle seems to be the antenna. I don't know what the other 2 are doing. They appear to be passive circuitry ( no connection to Vdd) and the circuitry seems to be a mirror image on the right. Some sort of filter possibly.
Please Log in or Create an account to join the conversation.
- RandMental
- Topic Author
- Offline
- Posts: 521
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
Transceiver = CC2500
Please Log in or Create an account to join the conversation.
- victzh
- Offline
- Posts: 1386
The board on your photo is apparently multifunctional, so majority of these pins are probably just GND, or not connected - they are there for physical support.
Has anyone tried to read their code? It should be explicit control of PA/LNA there.
Please Log in or Create an account to join the conversation.
- victzh
- Offline
- Posts: 1386
vlad_vy, is it easily detachable? Can you look at its back side?
I checked the code - nothing drives RF chips through SPI. They use some other serial protocol to communicate with RF board, meaning there is MCU on the board.
Please Log in or Create an account to join the conversation.
- victzh
- Offline
- Posts: 1386
I prefer to solder to receivers (at least first) because they expect stuff on air and can give you info on frequency hopping for various simulated TX ids, while transmitter as a rule has only on TX id and knows only one frequency hopping sequence.
Then I use logic analyzer to listen to the traffic on various conditions - startup, unbound, binding, stick movement etc. Then I stare at it for a long time trying to make sense of packets I see. There are several layers - CRC algorithm, packet structure, frequency hopping algorithm. They all can be trivial or real puzzles.
I use Devo 7 shell with Arduino to try transmitter code first - it is faster to compile/flash/check than for Devo.
I wrote several scripts to decode protocol from SPI level to RF chip commands, extract and analyze frequency hopping patterns etc. They are specific for the protocol.
I put all the code I use on the bitbucket under bitbucket.com/rivig . I doubt it is useful without extensive instructions, but I plan to write up the TacticSLT effort. It takes time though
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
On top
P2 4 Pins is serial: GND +5V TX RX
K1 3 Pins is S-port: GND + S
From above capacitor can be placed the pcb with dip switches, button and LED.
On down
P1 5 big pin are the normal Modul pins for external socket.
P.S. "TARANIS has a factory built-in version of the very latest FrSky XJT 2.4G module – AND yet will additionally accommodate an external JR based module for Spektrum DSM-2 and DSM-X receivers as well as JR equipment."
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
I've already started work porting Deviation to it, but it will take some time.
The processor is an STM32F205VET6 (60MHz, 512k Flash, 128k RAM)
The display is an RMG21264-01 212x64 display. The LCD Driver is an ST7586S
Having all of the source code available will make it a lot easier, but there are some differences between the STM32F103 and STM32F205 chips I need to understand, and figuring out how the buttons, flash-drive, etc are connected will take some time.
Unfortunately with a 212x64 display, it probably means yet another display layout, since I don't see an easy way to reuse the work we've done on the 128x64 on a 212x64 display. That will have to wait until I've got the hardware figured out.
It looks like programming uses the (stock) STM32 DFU uploader. I was able to download the Flash using it, so uploading should be straight forward. Looking at the hardware, it appears the STM32F205 has a built-in USB bootloader, so there is no software bootloader.
There are several ICs on the main board I haven't identified yet. May or may-not be relevant:
Both of these are from the same manufacturer. Logo looks like a butterfly?
U3: 31 5401
U4: 711 2BT A7H8
STMicro: 456 RP B305
(there are others I can't read the ID on)
I started putting together an article on this Tx as well
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
www.ti.com/lit/ds/slos230d/slos230d.pdf
U3 = probably TPS5401, step-down regulator
www.ti.com/product/tps5401
STMicro: 456 RP B305 = LCD Chip ST456RP
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
When I look around, I don't see an active development community around it. Just the guys over at opentx, and the threads I see seem to be mostly user threads as opposed to development (I guess not so different from here).
Taranis drives the LCD with what they all 'Analog SPI' which is just a bit-banged SPI protocol. I guess they didn't hook the display up to one of the serial buses. I have no idea why not.
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
The RMG21264-00 is listed as using the ST7586S so I assumed the RMG21264-01 would as well, but this doesn't appear to be the case.
The display on the Taranis seems to be a 16-level greyscale chip. I haven't found one that seems to use the same command structure as the taranis code. I'll probably just port the code from opentx, but I will be somewhat limited without a datasheet for the chip.
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Development
- TARANIX X9D: New hardware platform for Deviation?