Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Telemetry works but LUA script does not
#1
I got a Xracer F3 V3.1 with BF 3.2 RC4 and a XSR flashed with the latest firmware where smartport is connected to TX2 on the FC. Telemetry works, but I can't get the LUA script to work. The values will not update in the script and it is just lines instead of numbers. Has anyone had the same issue?
Reply
Login to remove this ad | Register Here
#2
Did you only recently flash the XSR?
Try the 15XXXX firmware Smile
Don't be a LOS'er, be an FPV'er :)  My Gear - Facebook - Instagram - Twitter
Reply
#3
I flashed the latest firmware to both xsr I have. The one that is connected to uart2 (RX and TX is jumped) on my spracing f3 is working fine, but the other that is connected to tx2 on my xracer is not working. Both are connected as specified in the manuals. Why is it so that the spracing uses both TX and Rx, while the xracer does not?
Reply
#4
As far as I know, SmartPort is a 2-way protocol, only when using Softserial requires RX and TX to be jumped. With hardware serial (any UART), the TX pin can handle bi-directional communication and that's the only pin needed.

I don't think you need to jump TX/RX if you are using UART2 on the SPRacing F3 for SmartPort, you might be getting the illusion that it works when they are jumped, but actually the RX might be doing nothing in this case and not needed at all. (That's just my speculation, I've never set up SmartPort on a SPR F3 board before)


Here are my suggestions:

Can you try an older firmware like 3.1.7 just to rule out the possibility of a buggy FC firmware? I haven't tried 3.2 yet so I cannot confirm.
Also try the older XSR firmware i mentioned, I've heard the new firmware has some bugs with SmartPort. Again I've not tested the new firmware yet.
Don't be a LOS'er, be an FPV'er :)  My Gear - Facebook - Instagram - Twitter
Reply
#5
I just had two XSR that I updated over the weekend with i believe was ver 170619 that fixed the script telemetry on my setups. I am running bf 3.2 on my FC's.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Help How to compile lua script? xcalibur 1 1,822 13-Apr-2018, 11:38 AM
Last Post: Oscar
  Discussion How Does Diversity works in "Diversity Video Receiver" DragonFly 3 1,584 02-Dec-2016, 12:42 PM
Last Post: Oscar
  Help Cant arm quad when telemetry via softserial activated Martin Eriksson 6 2,194 23-Apr-2016, 08:03 PM
Last Post: Martin Eriksson


Login to remove this ad | Register Here