paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] PPM input and trigger_ext module


From: Gautier Hattenberger
Subject: Re: [Paparazzi-devel] PPM input and trigger_ext module
Date: Sun, 21 Sep 2014 22:41:57 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.1.1

Hi Eduardo,

Thanks for reporting this, it should be fixed in master now. Please tell me if it works.

Gautier

Le 20/09/2014 21:24, Eduardo lavratti a écrit :
I am using B.I.O tech low flow meter 0.015 - 0.8l/m




From: address@hidden
To: address@hidden
Date: Sat, 20 Sep 2014 10:10:50 +0300
Subject: Re: [Paparazzi-devel] PPM input and trigger_ext module

Hi Eduardo,

 

Which sensor do you use for gasoline meter?

 

From: address@hidden [mailto:address@hidden] On Behalf Of Eduardo lavratti
Sent: Saturday, September 20, 2014 2:07 AM
To: Paparazzi developer forum
Subject: [Paparazzi-devel] PPM input and trigger_ext module

 

Today i finished the gasoline meter module.
It work using TRIGGER_ISR

I configured it do use capture channel 0 and it work fine if i choose radio as datalink.
When i configure the radio to ppm mine module stop do count pulses.

To solve it i changed the line
T0CCR = TRIGGER_CRR | TRIGGER_CRI;
to
T0CCR |= TRIGGER_CRR | TRIGGER_CRI;

Looking at ppm_arch.c i see that ppm not use |= when configuring T0CCR register.

I think the correct is to use
        T0CCR |= PPM_CCR_CRR | PPM_CCR_CRI;
not   T0CCR = PPM_CCR_CRR | PPM_CCR_CRI;


i am right ?

another question, how i do to know what capture channels are used in lpc firmware ?


_______________________________________________ Paparazzi-devel mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


reply via email to

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