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