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
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
