Inav: No telemetry w/ Kakute F4V2 + FrSky R9 Slim (Flex Firmware)

Created on 17 Oct 2018  Â·  18Comments  Â·  Source: iNavFlight/inav

Setup:
Kakute F4V2
FrSky R9 Slim (Flex Firmware, SBUS+Smartport, 868 MHz, 10 mW)
Last OpenTX 2.2.3 (nightly)
RX connected to UART 3 RX and SP(=UART1) for Telemetry
Telemetry enabled in Configurator, Receiver = Serial RX (SBUS)
Ports: UART1 -> Smartport, UART3 -> SerialRX
Receiver (in the Receiver Tab) works fine, but my Horus X10S discovers NO new Sensors.

WITH EXECTLY THE SAME SETUP IN BETAFLIGHT 3.5.2 TELEMETRY WORKS !

In BF there are 2 parameters for telemetry (inversion & duplex), in iNav only 1 (inversion) ... maybe this is the reason ???

Support

Most helpful comment

@teckel12 @iicc1
Problem solved:
Playing with parameters - set smartport_uart_unidir = ON was the solution :-)
(Is it equal to tlm_halfduplex in BF ? Confusing parameter names, should be renamed to tlm_* ?)

All 18 comments

@fchansa What are your BF/INAV settings for inversion and duplex? Does the Kakute F4V2 have a pin that controls inversion? The F4 doesn't do inversion, it needs a circuit to do the inversion. Most FC have an inverter for SBUS. This inversion is turned on/off sometimes with solder pads, sometimes with a pin, and other times can't be controlled at all. In other words, the inversion setting may be doing nothing. For example, on my Omnibus F4 Pro inversion for the Rx does nothing as inversion is controlled via hardware. I can invert SmartPort telemetry, but only on a soft serial port (again, because the F4 can't do inversion on it's own).

@teckel12 Kakute F4V2 Manual pin description: "SP FrSky SmartPort Telemetry(UART1, inverted)" ... i use the Betaflight standard settings.

(working) Betaflight settings:
tlm_inverted = ON
tlm_halfduplex = OFF

I have exactly the same problem with Kakute F4 V2 and Frsky R9 Mini with Flex firmare.
Telemetry works fine in Betaflight but not on Inav with exactly the same configuration.

I connect S.Port from R9 Mini to "SP FrSky SmartPort Telemetry(UART1, inverted)"

The settings that works with BF are the following (the default ones):

tlm_inverted = ON
Allowed values: OFF, ON

tlm_halfduplex = OFF
Allowed values: OFF, ON

pid_in_tlm = OFF
Allowed values: OFF, ON

In Inav I select telemetry_inverted on/off with no result.

Thanks.

@teckel12 @iicc1
Problem solved:
Playing with parameters - set smartport_uart_unidir = ON was the solution :-)
(Is it equal to tlm_halfduplex in BF ? Confusing parameter names, should be renamed to tlm_* ?)

@fchansa yes I agree, that names are somewhat confusing, however unidir/bidir parameter is only used by smartport hence the prefix. Some refactoring might help though 😄

Awesome, it works now!!
Many thanks @fchansa

Hi guys, I have the same problem with Horus x10s but your solution above did not work for me:
I get three (3) readings only A2, RSSI, and RxBt. But I get those even when smarttport is NOT physically connected.

INAV 2.0.0
telemetry_switch = OFF
telemetry_inverted = ON
smartport_uart_unidir = ON

The default settings in BETAFLIGHT 3.5.2 works fine and I get many sensors that are accurate.

Setup is:

  • Kakute F4V2
  • Horus x10s, OpenTX 2.2.2
  • Frsky X4R-SB
  • RX connected to UART 3 RX and SP(=UART1) for Telemetry
  • Telemetry enabled in Configurator, Receiver = Serial RX (SBUS)
  • Ports: UART1 -> Smartport, UART3 -> SerialRX

Any ideas?

@Sedim
Have you tried smartport_uart_unidir = OFF as described here (for the X4R-SB):

3526 ?

@fchansa
I tried all combinations for:
smartport_uart_unidir = ON, OFF,ON,OFF
telemetry_inverted = ON,ON,OFF,OFF

Still no smartport telemetry.
Again this works fine in BETAFLIGHT 3.5.2 .

@Sedim telemetry_inverted = ON doesn't do anything on a F4 FC unless your using a soft serial connection. You'll either need to use soft serial and invert, or not invert and use a not-inverted hack on your Rx.

Thank you for your email Tim. I am new to this. The Kakute F4 v2 has UART 1 already inverted so is UART 3 on this F4 FC, its built-in. In fact UART 1 is labeled SP for Smartport and the Kakute instructions indicated that it is inverted. The Smartport from X4R-SB is connected directly to UART #1. Also this setup works fine when I use BETAFLIGHT 3.5.2. So do I still need a not inverted-hack on the Rx with INAV?

On Oct 23, 2018, at 7:46 PM, Tim Eckel notifications@github.com wrote:

@Sedim https://github.com/Sedim telemetry_inverted = ON doesn't do anything on a F4 FC unless your using a soft serial connection. You'll either need to use soft serial and invert, or not invert and use a not-inverted hack on your Rx.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/iNavFlight/inav/issues/3932#issuecomment-432461049, or mute the thread https://github.com/notifications/unsubscribe-auth/AF6x7-5jcOn-baNAUdeVdeNt9dUT3qD5ks5un6phgaJpZM4XkHuL.

@Sedim SBUS is working fine, there's a hardware inverter on the FC taking care of things.

Telemetry, however, is also inverted with SmartPort. Unless there's a secondary inverter on your FC for SmartPort it's not going to work. Not sure how it would work on Betaflight, unless your FC has another UART designed for SmartPort telemetry with another inverter on it (which is possible I guess).

In any case, setting telemetry_inverted = ON won't do anything on an F4 processor unless your using a soft serial connection. Since your connecting to a physical UART, you should set that to OFF.

@teckel12 ". . . unless your FC has another UART designed for SmartPort telemetry with another inverter on it (which is possible I guess)."

Yes, Uart 1 pin is labeled "SP" for "SmartPort" on the FC and is indicated on the Kaukute F4 v2 as an inverted port. The docs for this specific FC recommend connecting SmartPort to this pin and selecting "SmartPort" when configuring this port in Betaflight. That's why it works as it's supposed to when flashed with Betaflight without changing anything on the hardware. But still does not work with INAV.
screen shot 2018-10-23 at 10 36 30 pm

@Sedim While it shouldn't matter, set telemetry_inverted = off in INAV as that would invert via soft serial or with the F7/F3 microcontroller. With the F4 on that UART there's no reason to invert if there's a hardware inverter.

Update: I am finally getting all the telemetry data back to my Horus through the smartport from UART 1 (AKA sp port) on the Kakute F4 V2. I used the following to make it work:

smartport_uart_unidir = ON

This issue / pull request has been automatically marked as stale because it has not had any activity in 60 days. The resources of the INAV team are limited, and so we are asking for your help.
This issue / pull request will be closed if no further activity occurs within two weeks.

Having the same issue with kakute v2. Connected fport on uart1. It sends telemetry to r9mini, but if I install r9slim or slim+ I have the RC but no telemetry. smartport_uart_unidir givs no effect.

Was this page helpful?
0 / 5 - 0 ratings