hi, I was trying to test my DAC according to your suggestion and the file provided by you at https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20081115/fd720e8c/. when i tried to compile, i got an error as WatermarkC.nc:15: component WatermarkADCC not found could you send me the file "WatermarkADCC.nc"? I am using msp430F1611 microprocess on telosb platform. It would be nice of you if you write me something on how DAC works in this application? what are the changes i should make for msp430F1611?
Thanks in advance Shafiq On Sat, Nov 15, 2008 at 7:07 PM, Xavier Orduña <[email protected]>wrote: > Hi, > > Yes, here is the code. > > I know that this kind of TimerA access violates all rules in TinyOS, > remember to comment the line related in Msp430ADC.h (in tos/chips/msp430). > > This example outputs a sine wave in DAC1 while make a capture in another > ADC. In fact it works for msp430F2617. I think there are some changes since > msp430F1611 (one in tmote mini, telosb and other platforms). > > Have Fun. > > Xavi > > > On Fri, Nov 14, 2008 at 3:19 AM, Kevin Ong <[email protected]> wrote: > >> I think i was unclear in the previous reply....U mean u wrote 10 lines >> of TinyOS code and you managed to get a sine wave on your DAC? >> >> ------------------------------ >> *From:* Xavier Orduña <[email protected]> >> *To:* Kevin Ong <[email protected]> >> *Cc:* [email protected] >> *Sent:* Thursday, 13 November 2008 10:33:36 >> >> *Subject:* Re: [Tinyos-help] DAC code for Telos platform >> >> Dac is really simple to use using msp430 registers. >> >> If you want to do something simple, maybe you use this way. >> >> Just take a look to msp430 datasheet or msp430 code examples from TI. >> >> With just 10 lines (and DMA support from tinyos) I've got a nice sinus on >> my DAC. >> >> Xavi >> >> On Thu, Nov 13, 2008 at 6:00 AM, Kevin Ong <[email protected]> wrote: >> >>> Renjie, cheers for your help.... >>> >>> Last 2 questions, is it correct for me to assume that the >>> boomerange(motiev) DAC code is currently for TinyOS 1.x....ya? >>> >>> Lastly, have you tried this code yourself?Perhaps everyone could learn >>> from your experience especially for future seekers of knowledge concerning >>> this problem. >>> >>> >>> ------------------------------ >>> *From:* renjie huang <[email protected]> >>> *To:* Kevin Ong <[email protected]> >>> *Cc:* [email protected] >>> *Sent:* Thursday, 13 November 2008 9:42:50 >>> *Subject:* Re: [Tinyos-help] DAC code for Telos platform >>> ------------------------------ >>> *From:* renjie huang <[email protected]> >>> *To:* Kevin Ong <[email protected]> >>> *Cc:* [email protected] >>> *Sent:* Thursday, 13 November 2008 9:42:50 >>> >>> *Subject:* Re: [Tinyos-help] DAC code for Telos platform >>> >>> HI >>> >>> The related files are attached. Hope it will help. >>> >>> On Wed, Nov 12, 2008 at 5:20 PM, Kevin Ong <[email protected]> wrote: >>> >>>> Hi >>>> >>>> Can you be more specific? I can't seem to locate the code that you had >>>> mentioned.....Please assist...Tks >>>> >>>> ------------------------------ >>>> *From:* renjie huang <[email protected]> >>>> *To:* Kevin Ong <[email protected]> >>>> *Cc:* [email protected] >>>> *Sent:* Thursday, 13 November 2008 8:06:25 >>>> *Subject:* Re: [Tinyos-help] DAC code for Telos platform >>>> >>>> Hi >>>> >>>> DAC is supported in boomerange(moteiv). You may port it to T2. >>>> >>>> On Wed, Nov 12, 2008 at 1:05 AM, Kevin Ong <[email protected]>wrote: >>>> >>>>> Hi everyone, has anyone written code to use the DAC interface for the >>>>> Telos platform in TinyOS 2.x? >>>>> >>>>> - Kev >>>>> >>>>> ------------------------------ >>>>> New Email addresses available on Yahoo! >>>>> <http://sg.rd.yahoo.com/sg/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/sg/> >>>>> Get the Email name you've always wanted on the new @ymail and >>>>> @rocketmail. >>>>> Hurry before someone else does! >>>>> >>>>> _______________________________________________ >>>>> Tinyos-help mailing list >>>>> [email protected] >>>>> >>>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >>>>> >>>> >>>> >>>> >>>> -- >>>> Renjie Huang >>>> Sensorweb Research Laboratory >>>> http://sensorweb.vancouver.wsu.edu/ >>>> Washington State University >>>> >>>> ------------------------------ >>>> Get your preferred Email name! >>>> <http://sg.rd.yahoo.com/sg/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/sg/> >>>> Now you can @ymail.com and @rocketmail.com. >>>> >>>> _______________________________________________ >>>> Tinyos-help mailing list >>>> [email protected] >>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >>>> >>> >>> >>> >>> -- >>> Renjie Huang >>> Sensorweb Research Laboratory >>> http://sensorweb.vancouver.wsu.edu/ >>> Washington State University >>> >>> ------------------------------ >>> Try the new Yahoo! Messenger 9.0 >>> <http://sg.rd.yahoo.com/sg/messenger/maxwell/*http://sg.messenger.yahoo.com/> >>> Now with all you love about messenger and more! >>> >>> _______________________________________________ >>> Tinyos-help mailing list >>> [email protected] >>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >>> >> >> >> >> -- >> Xavier Orduña >> CTO >> >> m: [+34] 615 475 065 >> @: [email protected] >> >> Dexma >> >> Riu de l'or 35 >> ES-08034 Barcelona >> t/f: [+34] 93 280 19 18 >> w: www.dexmatech.com >> >> ------------------------------ >> New Email addresses available on Yahoo! >> <http://sg.rd.yahoo.com/sg/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/sg/> >> Get the Email name you've always wanted on the new @ymail and @rocketmail. >> Hurry before someone else does! >> > > > > -- > Xavier Orduña > CTO > > m: [+34] 615 475 065 > @: [email protected] > > Dexma > > Riu de l'or 35 > ES-08034 Barcelona > t/f: [+34] 93 280 19 18 > w: www.dexmatech.com > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
