opentx / opentx

OpenTX custom firmware for Transmitters
GNU General Public License v2.0
2.07k stars 804 forks source link

Trainer slave output on 9XR-PRO #3208

Open DanNixon opened 8 years ago

DanNixon commented 8 years ago

When I try to use my 9XR-PRO with Phoneix flight simulator via the JR port all I can ever manage is for Phoenix to detect a PPM signal (the transmitter not detected message disappears) however all channels read zero regardless of the actual channel values on the 9XR.

I have the following configuration: External RF: PPM, channels 1-8, 22.5ms, 300us, negative RF Port 2 (PPM): channels 1-8, 22.5ms, 300us, negative

The same settings work fine when I use the factory ersky9x firmware.

projectkk2glider commented 8 years ago

Which OpenTX version?

DanNixon commented 8 years ago

2.1.7

DanNixon commented 8 years ago

Just an update on this, I had a look at the trainer PPM output of my 9XR-PRO and it is actually outputting a valid signal. The difference is that the 9XR outputs an active high signal whereas the Taranis outputs an active low signal, this seems to be the difference in getting simulators to work.

kilrah commented 8 years ago

Then the 9XR's PPM polarity is probably inverted with regard to the display, choosing positive should do the trick. If you confirm we can correct it.

DanNixon commented 8 years ago

I believe it is, on both the module output and trainer port I get a active high signal when the display indicates -, this is the opposite of what happens on the Taranis.

(I also noticed #1447 which seems to be very similar)

ikarus23 commented 4 years ago

Then the 9XR's PPM polarity is probably inverted with regard to the display, choosing positive should do the trick. If you confirm we can correct it.

Can confirm! Changing the polarity worked.