[Top][All Lists]

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

Re: [Paparazzi-devel] My lisa doesn't work with sbus!

From: Felix Ruess
Subject: Re: [Paparazzi-devel] My lisa doesn't work with sbus!
Date: Mon, 2 Jun 2014 17:16:12 +0200


you need to invert the Sbus signal in order to use it with a normal UART.
The Apogee autopilot board already has such an inverted built in, for Lisa you need to add one externally.

Regarding simulation: only radio_control ppm is currently implemented there.
Use sbus only for the ap target and ppm for the nps target:

    <target name="ap" board="lisa_m_2.0">
      <subsystem name="radio_control" type="sbus">
        <configure name="SBUS_PORT" value="UART1"/>

    <target name="nps" board="pc">
      <subsystem name="fdm" type="jsbsim"/>
      <subsystem name="radio_control" type="ppm"/>


On Mon, Jun 2, 2014 at 4:45 PM, 心如烛光 <address@hidden> wrote:
    I wanna link my futaba r2008sb receiver to the lisa/m2 with sbus.But it doesn't work.I connect the sbus'output to the uart1.
    And here is my configurations for the radio control(paparazzi version master):

         <subsystem name="radio_control"     type="sbus"/>

         <configure name="SBUS_PORT" value="UART1"/>    
    Meanwhile the simulation can't build successfully after that I have changed the radio control from ppm to subs.So,I want to know that if the sbus's code can work successfully?Or the problem I met is just caused by my incorrect configuration?Thank's a lot!
    Here's the return of the error:
           subsystems/radio_control/sbus_common.c: In function 'sbus_common_init':
           subsystems/radio_control/sbus_common.c:65:33: error: 'B100000' undeclared (first use in this            function)
           uart_periph_set_baudrate(dev, B100000);

Paparazzi-devel mailing list

reply via email to

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