[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Help Lisa M 2.0 , could I use UART5 to send the GP

From: Felix Ruess
Subject: Re: [Paparazzi-devel] Help Lisa M 2.0 , could I use UART5 to send the GPS, AHRS, flight plane Mission data?
Date: Sun, 29 Dec 2013 05:17:13 +0100

Hi Yang,

sure, you can "just" use the UART5 including the TX pin on PC12 (connector layout was just made for convenient usage of two spektrum satellites which don't use the TX pin).
If you use UART5 as a "normal" uart (e.g. for telemetry/datalink) both TX and RX are enabled by default.
You simply define USE_UART5=1 (which is automatically handled for subsystems like telemetry).
USE_UART5_TX=0 or USE_UART5_RX=0 would explicitly disable TX or RX respectively.

The bigger question you have to ask yourself is what kind of format/protocol you want for the communication to the other board...

Cheers, Felix

On Sun, Dec 22, 2013 at 10:42 AM, Yang Sheng Kai <address@hidden> wrote:

Hi everyone:
Could I ask for some help?
I use the board of Lisa/M 2.0 .
UART2 is connected with XBEE , and UART3 is connected with GPS. 
I read the data sheeet , and I found it only has UART5_RX , and UART5_TX is share the port with the other function, the port is named "PC12".
If I want to get the GPS, AHRS, and Mission name of flight plan data.
Could I set the "PC12" port to be the UART5_TX and send these data to another MCU board.  
I'm trying to read the file of UART and GPIO, but PPRZ's code is too complicated....
If somebody could give me a hand or give me some suggestion?
Thanks a lot!!
Cheers, Yang

Paparazzi-devel mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]