No are correct, there are currently no drivers for the comparators on
the msp430 -- at least not in the core.
There are no plans at this time to implement them either.

If you were to write such a driver hardware conflicts could be
resolved by first restructuring the timers to rovide a Resource
interface so access to them could be arbitrated, and then implementing
the drivers using this same pattern.  If a driver needed needed a
particualr timer configured a certain way, it would first reserve it
use, set it up the way it needed it, and then start using it -- with
the guarantee that no one would step on it via the isolation provided
through the use of an arbiter.

Kevin

On Jan 16, 2008 9:21 AM, John Griessen <[EMAIL PROTECTED]> wrote:
> I've searched through tinyos-2.x with find and have not found any comparator 
> code.
> I'm thinking of using the MSP430F1611 comparator instead of its DAC
> since comparators are often on a processor chip.  Also, I need more drive 
> than the 0.5 mA
> the DAC can provide, also using the DAC stops using ADC6 ADC7 on the 
> MSP430F1611.
>
> Timer code in tinyos seems not to use the hardware timer inputs so far -- 
> they are physically shared with
> the voltage comparator on the MSP430F1611.
>
> So, I wonder if anyone is planning such timer trigger inputs soon and how to 
> deal with hardware conflicts
> where using one port feature stops using another...
>
> I'm doing the voltage comparators groundwork for calibrated soil moisture 
> sensors that draw 10 mA each for
> 10ms before taking a reading, and require a solid 2.50 V for excitation to 
> give accurate data.
>
> John Griessen
> --
> Ecosensory   Austin TX
> tinyOS devel on:  ubuntu Linux;   tinyOS v2.0.2;   telosb ecosens1
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



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

Reply via email to