Hi all,

firstly thanks to everybody replied to my issue on watchdog timer, it was
very helpful to me.
I'm trying now to use the TimerA as a clock generator and to configure the
ADC to get some samples from a sensor. I'm using an msp430f149 and TinyOS
1.0, and ADC and ADCControl interfaces for the ADCC module to access the
ADC12.
To what I understood from some replies (and also looking at the code) the
TimerA is used only when multiple channels or repeat mode are used, so since
I'm using a single channel getData() I would expect not to touch the TimerA.
For the timerA I'm using the MSP430Compare interfaces and I'm setting the
CompareA0 value to 7, the CompareA1 to 4 and I start the timer in up mode.
The problem is that when I call getData() in the application the timer stops
(I can clearly see it on the scope since the function is called after a
period in which the clock is correctly output from port A1). Apparently in
the MPS430ADC12M.nc there's no call to a timerA related function for my
configuration, so I was wondering what is going on. Can somebody help me?
Thanks

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

Reply via email to