On Tue, Jun 3, 2008 at 10:52 AM, Jānis <[EMAIL PROTECTED]> wrote:

> Hi,
>
> During few past days I have been trying to get working capture event on
> TimerA. I have data pin attached to P1.2(Timer_A, capture: CCI1A input,
> compare: Out1 output) and configuration that uses MSP430TimerC.ControlA1
> and MSP430TimerC.CaptureA1.


We've done something very similar and if memory serves we needed to
explicitly enable
the interrupt in the corresponding control register.

We abandoned the approach because of interrupt overhead.  (We were building
a
h/w assisted s/w uart).  So never followed up on pushing the interrupt
change back
into the core.

I've attached the code we were using.

eric



> Everything looks to be the way it should be, but nothing happens -
> interrupt never gets executed.
>
> Can anyone please provide a working code for TMote Mini or TelosB for
> timer Capture? Otherwise I have lost any chance to get it working..
>
> Thanks, Janis.
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Eric B. Decker
Senior (over 50 :-) Researcher
Autonomous Systems Lab
Jack Baskin School of Engineering
UCSC

Attachment: GPSByteCollectP.nc
Description: Cdf file

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to