Spirit System
https://www.spirit-system.com/phpBB3/

[SOLVED] Frisky integration s.port
https://www.spirit-system.com/phpBB3/viewtopic.php?f=20&t=2260
Page 1 of 2

Author:  jjuk [ Sun 08. Oct 2017 11:17:34 ]
Post subject:  [SOLVED] Frisky integration s.port

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.

Author:  ZeXx86 [ Sun 08. Oct 2017 11:54:25 ]
Post subject:  Re: Frisky integration s.port

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.

Author:  jjuk [ Sun 08. Oct 2017 16:57:35 ]
Post subject:  Re: Frisky integration s.port

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.

Author:  ZeXx86 [ Sun 08. Oct 2017 19:07:36 ]
Post subject:  Re: Frisky integration s.port

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.

Author:  jjuk [ Mon 09. Oct 2017 20:17:11 ]
Post subject:  Re: Frisky integration s.port

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?

Author:  ZeXx86 [ Mon 09. Oct 2017 20:28:03 ]
Post subject:  Re: Frisky integration s.port

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.

Author:  jjuk [ Tue 10. Oct 2017 12:36:50 ]
Post subject:  Re: [SOLVED] Frisky integration s.port

Does the WIFI module transmit RPM to the spirit phone app?

Author:  ZeXx86 [ Tue 10. Oct 2017 12:40:54 ]
Post subject:  Re: [SOLVED] Frisky integration s.port

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.

Author:  jjuk [ Tue 10. Oct 2017 13:09:03 ]
Post subject:  Re: [SOLVED] Frisky integration s.port

Where are they displayed? (in the app)

Author:  ZeXx86 [ Tue 10. Oct 2017 13:10:43 ]
Post subject:  Re: [SOLVED] Frisky integration s.port

In the General - Throttle/Governor window.

Page 1 of 2 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/