Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluate Team Associated iFHSS (XP2-SSI) protocol/board #943

Open
pwkpete opened this issue Feb 9, 2024 · 26 comments
Open

Evaluate Team Associated iFHSS (XP2-SSI) protocol/board #943

pwkpete opened this issue Feb 9, 2024 · 26 comments

Comments

@pwkpete
Copy link

pwkpete commented Feb 9, 2024

Pascal,

Per the other portion of discussion on RCG - a couple of us were looking to see if the Team Associated protocol could be reverse engineered based on what you see here (and or additional signal dumps if needed)

This is a single model control with bind button, no display, 2 channel with 4 pot's for EPA/trim adjustments

PXL_20240209_212013269 MP

@pascallanger
Copy link
Owner

Yes it might be possible to do since the hw is compatible with multi.
You need to connect the logic analyzer on the spi bus of the cyrf6936

@pwkpete
Copy link
Author

pwkpete commented Feb 9, 2024

Ok, I can find

MOSI
MISO
CLK
Ground

I don't see CSN on the chip? Is that SS?

@pascallanger
Copy link
Owner

Yes SS sounds good

@pwkpete
Copy link
Author

pwkpete commented Feb 10, 2024

On the other side of the board there is a somewhat convenient debug header, but it would appear SS is not connected. I have MOSI, MISO, CLK, GND - not sure what value this would be without SS, unless SS is not what we are looking for?

From the data sheet (https://media.digikey.com/pdf/Data%20Sheets/Cypress%20PDFs/CYRF6936.pdf):
image

image

If I'm looking at the board correctly, the signals on that header have pull up resistors on them (seen from other side - 1st picture)
Pin 1 - GND
Pin 2 - ???
Pin 3 - MOSI
Pin 4 - CLK
Pin 5 - PWR
Pin 6 - MISO

@pascallanger
Copy link
Owner

SS is really the signal we need.
I'm not in front of my PC so I can't help you following the traces

@pwkpete
Copy link
Author

pwkpete commented Feb 10, 2024 via email

@pascallanger
Copy link
Owner

The SPI bus can be shared with other components. This is where you need that chip select signal. May be they have something else they can connect like a screen on another version of the TX.

@pwkpete
Copy link
Author

pwkpete commented Feb 10, 2024

Gotcha.

Let me know if this looks sane, I'll grab other scans if so.

Power On.zip IFHSS-

There is also a dip switch bank with channel 1/2 reverse as well as one for IFHSS in UP position and IFHSS+ in down position

My model is bound with the + position and did not connect when in -

@pwkpete
Copy link
Author

pwkpete commented Feb 11, 2024

@M-i-c-h-a-e-l1
Copy link

M-i-c-h-a-e-l1 commented Feb 13, 2024

Hello,

I had a look at two of my Team Associated radios. The first is the XP3-SS iFHSS radio from the SC8e RTR:

image

image

The electronics seem to be different than those of XP2-SSI:

image

Close-up:

image

The board mentions 'Thunder Tiger' as manufacturer.

The second radio is the XP120 from the MT10 Rival RTR:

image

image

Close-up of the board:

image

I am not sure if these two radios use the same protocol as the processors seem to be different.

Kind regards
Michael

@pwkpete
Copy link
Author

pwkpete commented Feb 13, 2024

I suspect the 2 and the 3 are compatible, both Cypress chips and a quick glance, the SPI signals look similar.

IIRC I saw receivers for the two listed somewhere as compatible

The 120 looks like something else, you ever try swapping them?

@M-i-c-h-a-e-l1
Copy link

What are the priorities with the implementation? The older iFHSS protocol or the newer protocol for the 1/28 scale cars?

Kind regards
Michael

@pascallanger
Copy link
Owner

pascallanger commented Feb 22, 2024

I would say in whatever order the people give me things to work on. Might be dumps, send me the TX+RX or donate some money so I can purchase locally.
And obviously as my time permit!!

@pwkpete
Copy link
Author

pwkpete commented Feb 22, 2024 via email

@pascallanger
Copy link
Owner

pascallanger commented Feb 22, 2024

@pwkpete I haven't looked at it yet... I'm looking at eazyrc right now which came in before your dumps.

@pwkpete
Copy link
Author

pwkpete commented Feb 23, 2024 via email

Repository owner deleted a comment from RickzFPV Feb 23, 2024
Repository owner deleted a comment from RickzFPV Feb 23, 2024
Repository owner deleted a comment from RickzFPV Feb 23, 2024
Repository owner deleted a comment from RickzFPV Feb 23, 2024
Repository owner deleted a comment from M-i-c-h-a-e-l1 Feb 23, 2024
Repository owner deleted a comment from M-i-c-h-a-e-l1 Feb 23, 2024
Repository owner deleted a comment from M-i-c-h-a-e-l1 Feb 23, 2024
Repository owner deleted a comment from M-i-c-h-a-e-l1 Feb 23, 2024
Repository owner deleted a comment from M-i-c-h-a-e-l1 Feb 23, 2024
@pwkpete
Copy link
Author

pwkpete commented Feb 24, 2024

Sorry, didn't see your reply - no worries at all. I'm ready whenever you are, just happy to have been successful with one so far!

@pascallanger
Copy link
Owner

This protocol is going to be hard work. With only one TX we won't be able to implement different IDs unless you can connect the logic analyzer to the RX too.
Is there a bind button on the TX? What's the bind procedure?
You need to do multiple dumps like we did before for each sticks, buttons and failsafe.

@pwkpete
Copy link
Author

pwkpete commented Feb 26, 2024

I can do the multiple dumps as well, just wanted to make sure the ones I uploaded looked good before going further.

I have not opened an RX so not sure how difficult that would be, however, I do happen to have a 2nd TX, if that will help...

@pascallanger
Copy link
Owner

The second TX will definitively help but I don't think it will give us the full picture.
The TX is using a large table of 48 frequencies, finding how it's generated is going to be extremely difficult if not impossible... That will limit the number of IDs. Also the SOP and DATA codes could be dependent of the ID.
There are also some packets which are different from the others which is why I would like to know the binding procedure, if there is failsafe from the radio or all other settings the radio can have.

@pwkpete
Copy link
Author

pwkpete commented Feb 26, 2024

Sorry, forgot to answer your bind question - there is a bind button on the TX as well as the RX

Seems no failsafe - just dumb TX with POTs for EPA/trim and DIP switches for reverse

@pascallanger
Copy link
Owner

Sorry, forgot to answer your bind question - there is a bind button on the TX as well as the RX

So I need a capture of the bind at power on.

@M-i-c-h-a-e-l1
Copy link

@pwkpete

Could you post a photo on how you connected the radio to the analyser?

Kind regards
Michael

@pwkpete
Copy link
Author

pwkpete commented Feb 28, 2024

I just used the header in the above picture and then used one of the holes to get SS. I listed the pinouts above

Here are 2 bind captures one with IFHSS and IFHSS+

Power +bind.zip

Let me know then if you need captures for each IFHSS setting

@pwkpete
Copy link
Author

pwkpete commented Mar 2, 2024

@pascallanger

Did the IFHSS setting make any difference in the scans? Do I need to run tests with each setting?

@pwkpete
Copy link
Author

pwkpete commented Mar 14, 2024

@pascallanger

Were you able to determine if this was feasible from my last upload? If not, I can disconnect the logic probe. LMK

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants