paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] FBW and AP...


From: antoine . drouin
Subject: Re: [Paparazzi-devel] FBW and AP...
Date: Sun, 14 Oct 2007 21:10:38 +0200
User-agent: Internet Messaging Program (IMP) 3.2.5

Hi Alexis

You can choose the direction of ppm signal

from sw/airborne/arm7/ppm_hw.h

/* enable capture 0.2 on falling edge + trigger interrupt */
#if defined RADIO_CONTROL_TYPE && RADIO_CONTROL_TYPE == RC_FUTABA
  T0CCR = TCCR_CR2_F | TCCR_CR2_I;
#elif defined RADIO_CONTROL_TYPE && RADIO_CONTROL_TYPE == RC_JR
  T0CCR = TCCR_CR2_R | TCCR_CR2_I;
#else
#error "ppm_hw.h: Unknown RADIO_CONTROL_TYPE"
#endif

HTH

Poine

Quoting Alexis Lussier Desbiens <address@hidden>:

> Pascal,
>
> I check and the PPM signal is going to the LPC (I am using the
> classix), the configuration file is good and I made sure that the RC
> configuration file has the proper values (didn't had to change
> anything... 7 channel, data pulse between 1-2ms and sync between
> 5-15ms)... and it still doesn't seems to work (nothing output on my
> classix pwm connector, and I only got 0,0,0,0,0,0,0 as the PPM from
> the telemetry)!
>
> One thing that looks weird is that my PPM signal seems to be on
> falling edge instead of rising edge as seen on the pictures on the
> website. Do I need to do something for that?
>
> Thanks!
>
>       Alexis
>
> On 10/11/07, Pascal Brisset <address@hidden> wrote:
> > Alexis Lussier Desbiens wrote:
> > > Anyway, I added the PPM signal to the "default" mode and I only get
> > > 0,0,0,0,0... Can someone tell me which file I should look at to make
> > > it work? Because right now... it doesn't seem to do much!
> > >
> >
> >  1) Check the PPM signal on the appropriate pin (PPM_In, c.f.
> > http://www.recherche.enac.fr/paparazzi/wiki/index.php/Tiny)
> >  2) Check that your configuration includes the appropriate RC
> > configuration file. The file name must appear in the conf.xml file (c.f.
> > http://www.recherche.enac.fr/paparazzi/wiki/index.php/Conf.xml).
> > The contents of this file is described in
> > http://www.recherche.enac.fr/paparazzi/wiki/index.php/Radio_Control :
> >    - wrong attributes of the "radio" element will prevent the decoder to
> > recognize any PPM frame;
> >    - same for a wrong number or channels.
> >
> > A oscilloscope may help !
> >
> > --Pascal
> >
> >
> > _______________________________________________
> > Paparazzi-devel mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
> >
>
>
> --
> http://mecano.gme.usherb.ca/~alussierdesbiens
> "De' remi facemmo ali"
>
>
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>






reply via email to

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