jhemcu / FC-ESC-Firmware

49 stars 16 forks source link

Telemetry doesn't work on GHF420AIO-BGA #11

Open anthropo opened 1 year ago

anthropo commented 1 year ago

https://github.com/betaflight/betaflight/issues/12442

I have R-XSR with ACCESS, and a JHEMCU GHF420AIOPro Board. I tried Sbus and smartPort on different Uart TX, and also Fport on different UARts, and finally sBus and SoftSerial, smartPort and non inverted smartport, none of them worked, but receiver works (I can see orders in receiver tab). I tried the same on aother board (mini MK2 Mamba) and my receivers work (R-XSR).

So my conclusion is that there is a bug with telemetry on GHF420AIO-BGA

To Reproduce : Connect sbus to sbus pad, smartPort to TX3 pad, configure UART 6 to serial rx , UART 3 telemetry output to smartPort, and put your receiver options on smartport. Check new devices on telemetry on the transmitter, nothing happens. Only BtRx, RSSI and VFR

Expected behavior : Telemetry devices should appear on the transmitter

jhemcu commented 1 year ago

Have you updated the firmware? Is the current flight control firmware JHEF405? I will send the factory firmware to you, and you can rewrite it to AIO for testing. Because the underlying firmware of BF is the same, that is to say, the flight control function of F405 is the same for each brand. Please see the attachment

------------------ 原始邮件 ------------------ 发件人: "jhemcu/FC-ESC-Firmware" @.>; 发送时间: 2023年3月3日(星期五) 晚上7:21 @.>; @.***>; 主题: [jhemcu/FC-ESC-Firmware] Telemetry doesn't work on GHF420AIO-BGA (Issue #11)

betaflight/betaflight#12442

I have R-XSR with ACCESS, and a JHEMCU GHF420AIOPro Board. I tried Sbus and smartPort on different Uart TX, and also Fport on different UARts, and finally sBus and SoftSerial, smartPort and non inverted smartport, none of them worked, but receiver works (I can see orders in receiver tab). I tried the same on aother board (mini MK2 Mamba) and my receivers work (R-XSR).

So my conclusion is that there is a bug with telemetry on GHF420AIO-BGA

To Reproduce : Connect sbus to sbus pad, smartPort to TX3 pad, configure UART 6 to serial rx , UART 3 telemetry output to smartPort, and put your receiver options on smartport. Check new devices on telemetry on the transmitter, nothing happens. Only BtRx, RSSI and VFR

Expected behavior : Telemetry devices should appear on the transmitter

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

jhemcu commented 1 year ago

You can send me the screenshots of the port configuration and receiver configuration in your BF, and also take pictures of the physical wiring to me。

------------------ 原始邮件 ------------------ 发件人: "jhemcu/FC-ESC-Firmware" @.>; 发送时间: 2023年3月3日(星期五) 晚上7:21 @.>; @.***>; 主题: [jhemcu/FC-ESC-Firmware] Telemetry doesn't work on GHF420AIO-BGA (Issue #11)

betaflight/betaflight#12442

I have R-XSR with ACCESS, and a JHEMCU GHF420AIOPro Board. I tried Sbus and smartPort on different Uart TX, and also Fport on different UARts, and finally sBus and SoftSerial, smartPort and non inverted smartport, none of them worked, but receiver works (I can see orders in receiver tab). I tried the same on aother board (mini MK2 Mamba) and my receivers work (R-XSR).

So my conclusion is that there is a bug with telemetry on GHF420AIO-BGA

To Reproduce : Connect sbus to sbus pad, smartPort to TX3 pad, configure UART 6 to serial rx , UART 3 telemetry output to smartPort, and put your receiver options on smartport. Check new devices on telemetry on the transmitter, nothing happens. Only BtRx, RSSI and VFR

Expected behavior : Telemetry devices should appear on the transmitter

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

anthropo commented 1 year ago

resource SERIAL_TX 3 none resource SERIAL_RX 3 none resource SERIAL_TX 11 B10 save

feature SOFTSERIAL set serialrx_provider = SBUS feature TELEMETRY

serial

serial 20 1 115200 57600 0 115200 serial 0 0 115200 57600 0 115200 serial 1 0 115200 57600 0 115200 serial 3 0 115200 57600 0 115200 serial 5 64 115200 57600 0 115200 serial 30 32 115200 57600 0 115200

20230304_014314 image image image

jhemcu commented 1 year ago

Our flight control doesn't need to change these contents. Please refresh the attachment firmware in my last email。I saw that the wiring was correct. ------------------ 原始邮件 ------------------ 发件人: "jhemcu/FC-ESC-Firmware" @.>; 发送时间: 2023年3月4日(星期六) 上午8:50 @.>; @.**@.>; 主题: Re: [jhemcu/FC-ESC-Firmware] Telemetry doesn't work on GHF420AIO-BGA (Issue #11)

resource SERIAL_TX 3 none resource SERIAL_RX 3 none resource SERIAL_TX 11 B10 save

feature SOFTSERIAL set serialrx_provider = SBUS feature TELEMETRY

serial

serial 20 1 115200 57600 0 115200 serial 0 0 115200 57600 0 115200 serial 1 0 115200 57600 0 115200 serial 3 0 115200 57600 0 115200 serial 5 64 115200 57600 0 115200 serial 30 32 115200 57600 0 115200

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

anthropo commented 1 year ago

sorry i dont see any attachment in the mail

jhemcu commented 1 year ago

I will send it to you once. Please check it。

------------------ 原始邮件 ------------------ 发件人: "jhemcu/FC-ESC-Firmware" @.>; 发送时间: 2023年3月4日(星期六) 上午8:57 @.>; @.**@.>; 主题: Re: [jhemcu/FC-ESC-Firmware] Telemetry doesn't work on GHF420AIO-BGA (Issue #11)

sorry i dont see any attachment in the mail

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

anthropo commented 1 year ago

I tried JHEF405 target (not JHEF405PRO) but when i do that i have no accelerometer neither barometer... seems wrong target.

what i just did : Download https://github.com/jhemcu/FC-ESC-Firmware/tree/main/GHF420AIO-BGA(ICM-42688-P) flashed the firmware and CLI the GHF420AIO-BGA.txt

then assigned Telemetry output on Smartport for UART3 and serialRx to UART6

No more joy, i receive orders from the transmitter but no telemetry back

jhemcu commented 1 year ago

I see your previous screenshots. There seems to be no settings in this one. You can try it first. If it is not available or you can replace it with TX1 and TX2 to test the telemetry function. Remember to open the corresponding port function.

------------------ 原始邮件 ------------------ 发件人: "jhemcu/FC-ESC-Firmware" @.>; 发送时间: 2023年3月4日(星期六) 上午9:15 @.>; @.**@.>; 主题: Re: [jhemcu/FC-ESC-Firmware] Telemetry doesn't work on GHF420AIO-BGA (Issue #11)

what i just did : Download https://github.com/jhemcu/FC-ESC-Firmware/tree/main/GHF420AIO-BGA(ICM-42688-P) flashed the firmware and CLI the GHF420AIO-BGA.txt

then assigned Telemetry output on Smartport for UART3 and serialRx to UART6

No more joy, i receive orders from the transmitter but no telemetry back

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

anthropo commented 1 year ago

So now ? (still haven't received the firmware).

If i resume :

I can't have telemetry working with JHEF/JHEF405PRO(STM32F405). I spent hours and hours trying many many things. I'd like to have sbus and smartport working together. What i did : -soldered sbus pin from the receiver to sbus pad on the FC -put my R-XSR on smartPort (Access menu, options) -inverted pin from the receiver to TX3 pad on the FC -flash firmware 4.3.1 (I tried others, like 4.4) with board: manufacturer_id: JHEF, board_name: JHEF405PRO (I bought GHF420AIO-BGA) -unset UART3 (resource SERIAL_TX 3 none , resource SERIAL_RX 3 none) -enabled SoftSerial on TX3 (feature SOFTSERIAL , resource SERIAL_TX 11 B10) -enable telemetry (feature TELEMETRY) -tried the tlm_inverted thing (tlm_inverted = OFF or ON, tlm_halfduplex = ON or OFF) So at the end I have receiver working (I see order moves the receiver tab in configurator) BUT i don't have any telemetry on the transmitter. The picture are for the scenario i just described.

I also tried to solder the uninverted pad P on the receiver to the TX3 pad, unsolder sbus, did all the stuff to have fport on TX3. Here the same : I have receiver working (I see order moves the receiver tab in configurator) BUT i don't have any telemetry on the transmitter. So TX3 pad is working (receiving but not sending ???)

And of course i tried another r-xsr and my r-xsr on another board (Mamba mini MK2, and it worked on it)

anthropo commented 1 year ago

But I managed to have Telemetry via SoftSerial on LED_STIP

After that i meticulously tried to reproduce on TX1,2,3,4,6 but without result Same for FPORT, i manage to receive but no telemetry.

Can you try on your side on your board ?

Thank you

jhemcu commented 1 year ago

I'm glad you can solve this problem, but I don't understand why we need to change it to the LED pad. If the native UART port of BF doesn't work, there is a problem with the firmware of BF. Now the mainstream is ELRS receiver. We are not following up on FRSKY receiver. I'm very sorry.

------------------ 原始邮件 ------------------ 发件人: "jhemcu/FC-ESC-Firmware" @.>; 发送时间: 2023年3月6日(星期一) 凌晨4:51 @.>; @.**@.>; 主题: Re: [jhemcu/FC-ESC-Firmware] Telemetry doesn't work on GHF420AIO-BGA (Issue #11)

But I managed to have Telemetry via SoftSerial on LED_STIP

After that i meticulously tried to reproduce on TX1,2,3,4,6 but without result Same for FPORT, i manage to receive but no telemetry.

Can you try by your side on your board ?

Thank you

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

anthropo commented 1 year ago

I didn't solve the problem, it is just a way to proove telemetry is working with a workaround, at the price of loosing Led strip. But I need led_strip too. I don't buy a AIO FC to renounce to one of the possibility of the FC. I'm very surprised with your answer. So you build and sell FC with no support ? I suppose sellers should know via social network ...

Please make an effort, catch a GHF420AIO-BGA from your factory and give a try with a R-XSR