Discussion:
[Gumstix-users] Periodic Serial Bridge Connect on Aero2Core to Duovero
Glen Wernersbach
2017-01-15 16:07:47 UTC
Permalink
Hi All,

I am trying to get the serial bridge to work properly from Aero2Core to
Duovero direction.

I first started out emulating the Mavlink socket program. At a packet a
second everything works fine.

I then did my own packet program using the same settings as the Mavlink
(with Mavlink disable) and a small packet size.

It works at 1 second but when I try to communicate a smaller period say
16ms, I get many failed packets like 1 out of every 3 or more. The serial
transmission for this packet size at the baud rate should take less than
1ms. It appears that kernel on Nuttx on the AeroCore and or kernel on Linux
(with the yocto Linux preempt RT recipe installed) is taken a long time
between sending or receiving individual bytes.

I have no problem sending the same size packet with the same serial settings
and baud from the Duovero to the Aero2Core. That way works fine. It is just
from the Aero2Core to Duovero that is flaky.

Any ideas?

Glen
--
Glen Wernersbach
Andrew C. Smith
2017-01-25 18:22:01 UTC
Permalink
Hey Glen,

Just to confirm, you're shutting off the mavlink output on the M4 right
("mavlink stop-all" on the NSH> console)?

Have you tried changing baud rates?


Thanks,

Andrew



--
View this message in context: http://gumstix.8.x6.nabble.com/Periodic-Serial-Bridge-Connect-on-Aero2Core-to-Duovero-tp4971211p4971219.html
Sent from the Gumstix mailing list archive at Nabble.com.
Glen Wernersbach
2017-01-25 18:59:49 UTC
Permalink
Modified the Init script so mavlink does not even load.

Tried 115200 and 921600 baud. No different. Both fine one way. Many failed packets the other

Glen Wernersbach View Profile
Innovator and CEO
MotionLABs LLC.
Making the Next Thing Happen Now!
629 Old State Route 74 – Suite 210
Cincinnati, Oh 45244
513-240-9929
Post by Andrew C. Smith
Hey Glen,
Just to confirm, you're shutting off the mavlink output on the M4 right
("mavlink stop-all" on the NSH> console)?
Have you tried changing baud rates?
Thanks,
Andrew
--
View this message in context: http://gumstix.8.x6.nabble.com/Periodic-Serial-Bridge-Connect-on-Aero2Core-to-Duovero-tp4971211p4971219.html
Sent from the Gumstix mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
gumstix-users mailing list
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Loading...