[Tinyos-devel] DAC and MSP430RefVoltGenerator in T2
Sandip Bapat
sandipbapat at yahoo.com
Wed Feb 13 07:58:57 PST 2008
Hi
Since there is not DAC module for T2 yet, I was thinking of writing one by adapting the 1.x version from Boomerang.
However, there are some differences between the implementation of the reference voltage modules between 1.x and 2.x which may impact this design.
The Msp430RefVoltGeneratorP is wired to 2 timer interfaces (SwitchOn and SwitchOff) and the HplAdc12 interface but this wiring is done in Msp430RefVoltArbiterP. So a DAC module would either have to wire to Msp430RefVoltArbiterP (in which case it also has to provide the AdcConfigure interface) or be expected to provide wiring for these interfaces. This is fine for apps that just want to use the DAC and not ADC but what if both are used and the ADC is already using Ref Voltage ? I guess we could use #ifdefs in the DAC but wouldn't having a Msp430RefVoltArbiterC that does the wirings required for Msp430RefVoltGeneratorP be better?
Comments or suggestions appreciated.
Sandip
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20080213/fd025edb/attachment.html
More information about the Tinyos-devel
mailing list