Page 1 of 2

[SOLVED] Frisky integration s.port

Posted: Sun 08. Oct 2017 11:17:34
by jjuk
To connect the spirit to an s.port, is it a direct connection of signal and ground, or is a resistor required?

I use just signal and ground for all my quads from the flight controller to s.port on the xsr or xsr (pinless) and want to do the same for my helis.

I know you sell a cable, but I can solder just fine and would like to make my own.

Re: Frisky integration s.port

Posted: Sun 08. Oct 2017 11:54:25
by ZeXx86
Hello,

to make it work you will need the FrSky integration cable in any way.
Since there are more than 6 SMD parts (including chips) inside, it is not easy to solder it at home.
There are bi-directional invertors for allowing the integration. So it is not just as a telemetry where it is enough to receive data.

Re: Frisky integration s.port

Posted: Sun 08. Oct 2017 16:57:35
by jjuk
Can you not do the inversion in software?
All quad flight controllers use a serial port to talk to the s.port as it's just serial comms.

Re: Frisky integration s.port

Posted: Sun 08. Oct 2017 19:07:36
by ZeXx86
Unfortunately it is not usual UART / COM communication. It is completely inverted logic which is unsupported by the most processors.
So it must be emulated by software bit by bit which is possible but is adding much more load to the processor. Quad copters very likely not support also integration in same manner as Spirit so communication is quite limited. Doing it by hardware is much more efficient.

Re: Frisky integration s.port

Posted: Mon 09. Oct 2017 20:17:11
by jjuk
What processor are you using? Most have serial inversion on the serial ports.
Bit banging serial comms is processor intensive and would detract from the core business of stabilising the heli.

If you are bit banging, then inverting the signal is totally possible in software!

Are you using a serial port or bit banging?

Re: Frisky integration s.port

Posted: Mon 09. Oct 2017 20:28:03
by ZeXx86
Don't worry, we are using the best possible way.
Hardware serial inversion is possible only on a few selected MCUs as I have said. Unfortunately the most have not this possibility.
We are using STM32F4.

You really can't help with this issue, all is already solved.

Re: [SOLVED] Frisky integration s.port

Posted: Tue 10. Oct 2017 12:36:50
by jjuk
Does the WIFI module transmit RPM to the spirit phone app?

Re: [SOLVED] Frisky integration s.port

Posted: Tue 10. Oct 2017 12:40:54
by ZeXx86
You can see RPM in the software if a RPM sensor is connected to the unit in the General - Throttle/Governor window.
But telemetry variables are not displayed there.

Re: [SOLVED] Frisky integration s.port

Posted: Tue 10. Oct 2017 13:09:03
by jjuk
Where are they displayed? (in the app)

Re: [SOLVED] Frisky integration s.port

Posted: Tue 10. Oct 2017 13:10:43
by ZeXx86
In the General - Throttle/Governor window.