Hi all: I would like to connect an additional hardware component (analog to digital converter with SPI interface) with the micaz board by using the 51 pin connector. Later on I would like to create an hardware abstraction in tinyos and use this component in an application.
How should the additional hardware be connected with the micaz board? The SPI lines (MISO-PB3, MOSI-PB2) are used for the CC2420 radio controller and can not be accessed through the 51 pin connector. PROG_MISO and PROG_MOSI are PE1 and PE2 (UART0TX and UART1RX) and used for programming the flash. SCK can be used. So are there suggestions on which available pins an additional spi device should be connected? In the data sheet xbow provides, it says SPI is accessible by using the 51 pin connector. But which lines should be used for that? Do I have to use an work around? Is there the possibility in tinyos to have several devices on the spi bus?" Now I meet the similar question like yours,and I want to know your answer, Thank you for your patience. JOHNSON 04/20/2008 2008/4/20, [EMAIL PROTECTED] < [EMAIL PROTECTED]>: > > Send Tinyos-help mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > or, via email, send a message with subject or body 'help' to > [EMAIL PROTECTED] > > You can reach the person managing the list at > [EMAIL PROTECTED] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Tinyos-help digest..." > > > Today's Topics: > > 1. Re: Weird Results FromSensors (Eric Keller) > 2. (no subject) (sam) > 3. PowerManagementM.nc error (sam) > 4. TOS_Msg length (Bhavish Aggarwal) > 5. the conflict in useing SPI port on micaz (jiang chen) > 6. Error compiling even simple programs (Urs Hunkeler) > 7. isolated node (funofnet Funofnet) > 8. Acoustic Monitoring ( Rog?rio De Pieri ) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 19 Apr 2008 15:16:55 -0400 > From: "Eric Keller" <[EMAIL PROTECTED]> > Subject: Re: [Tinyos-help] Weird Results FromSensors > To: [email protected] > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > You didn't really tell us enough information. What motes, what other > hardware, what version of Tinyos? > > On Fri, Apr 18, 2008 at 6:53 PM, Maria Taramigkou > <[EMAIL PROTECTED]> wrote: > > Hello!!! > > > > I have loaded the Oscilloscope and TOSBase applications on 2 motes..I > > execute the Listen.java and the results are the following > > > > [EMAIL PROTECTED]:115200: resynchronising > > [EMAIL PROTECTED]:115200: bad packet > > [EMAIL PROTECTED]:115200: bad packet > > [EMAIL PROTECTED]:115200: bad packet > > [EMAIL PROTECTED]:115200: packet too long > > [EMAIL PROTECTED]:115200: resynchronising > > [EMAIL PROTECTED]:115200: bad packet > > [EMAIL PROTECTED]:115200: bad packet > > > > > > > > I wanted to know whether these sensor results could be a matter of > baudrate > > or something else... > > THank you!! > > > > > > > > _______________________________________________ > > Tinyos-help mailing list > > [email protected] > > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > > > ------------------------------ > > Message: 2 > Date: Sat, 19 Apr 2008 15:37:00 -0700 (PDT) > From: sam <[EMAIL PROTECTED]> > Subject: [Tinyos-help] (no subject) > To: [email protected] > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="us-ascii" > > Hi All, > > I am very new to TinyOS. This mite be a basic doubt. But plz do help me > ASAP. > > When I was trying to compile a program for micaz and It is giving the > following error. > > Basically, I was doing the following .. > > [EMAIL PROTECTED] /opt/tinyos-1.x/apps/MicaHWVerify > $ make micaz > mkdir -p build/micaz > compiling MicaHWVerify to a micaz binary > ncc -o build/micaz/main.exe -Os -finline-limit=100000 -Wall -Wshadow > -DDEF_TOS_A > M_GROUP=0x7d -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c > -board=mica > sb -I%T/lib/Deluge -DIDENT_PROGRAM_NAME=\"MicaHWVerify\" > -DIDENT_USER_ID=\"jing\ > " -DIDENT_HOSTNAME=\"distil7\" -DIDENT_USER_HASH=0x98292513L > -DIDENT_UNIX_TIME=0 > x480a7106L -DIDENT_UID_HASH=0x3ea88060L > -I/opt/tinyos-1.x/tos/lib/CC2420Radio Mi > caHWVerify.nc -lm > > C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/micaz/HPLPowerManagementM.nc: > 49: `PowerManagement.disable' not implemented > > C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/micaz/HPLPowerManagementM.nc: > 49: `PowerManagement.enable' not implemented > make: *** [exe0] Error 1 > > > > Thanks, > > Sam. > > > > ____________________________________________________________________________________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080419/ecaa7dc6/attachment.html > > ------------------------------ > > Message: 3 > Date: Sat, 19 Apr 2008 15:48:11 -0700 (PDT) > From: sam <[EMAIL PROTECTED]> > Subject: [Tinyos-help] PowerManagementM.nc error > To: [email protected] > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="us-ascii" > > > > > Hi All, > > I am very new to TinyOS. This mite be a basic doubt. But plz do help me > ASAP. > > When I was trying to compile a program for micaz and It is giving the > following error. > > Basically, I was doing the following .. > > [EMAIL PROTECTED] /opt/tinyos-1.x/apps/MicaHWVerify > $ make micaz > mkdir -p build/micaz > compiling MicaHWVerify to a micaz binary > ncc -o build/micaz/main.exe -Os -finline-limit=100000 -Wall -Wshadow > -DDEF_TOS_A > M_GROUP=0x7d -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c > -board=mica > sb -I%T/lib/Deluge -DIDENT_PROGRAM_NAME=\"MicaHWVerify\" > -DIDENT_USER_ID=\"jing\ > " -DIDENT_HOSTNAME=\"distil7\" -DIDENT_USER_HASH=0x98292513L > -DIDENT_UNIX_TIME=0 > x480a7106L -DIDENT_UID_HASH=0x3ea88060L > -I/opt/tinyos-1.x/tos/lib/CC2420Radio Mi > caHWVerify.nc -lm > > C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/micaz/HPLPowerManagementM.nc: > 49: `PowerManagement.disable' not implemented > > C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/micaz/HPLPowerManagementM.nc: > 49: `PowerManagement.enable' not implemented > make: *** [exe0] Error 1 > > > > Thanks, > > Sam. > > > > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it > now. > > > > ____________________________________________________________________________________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080419/e51e3f4e/attachment-0001.htm > -------------- next part -------------- > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > ------------------------------ > > Message: 4 > Date: Sun, 20 Apr 2008 10:14:10 +0530 > From: "Bhavish Aggarwal" <[EMAIL PROTECTED]> > Subject: [Tinyos-help] TOS_Msg length > To: tinyos-help <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi, > > I'm trying to ascertain the length of a TOS_Msg variable I've > typecasted to a self-defined struct. > > The struct I use has 6 variables of 4 bytes each. Thus, the total > length of the TOS_Msg variable should be 24 + 10(headers) = 34. But > the length is shown to be 46. > > I'm confused as to how this is so. I'd be thankful for help on this. > > Bhavish > > > ------------------------------ > > Message: 5 > Date: Sun, 20 Apr 2008 13:08:22 +0800 > From: "jiang chen" <[EMAIL PROTECTED]> > Subject: [Tinyos-help] the conflict in useing SPI port on micaz > To: [email protected] > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > Thanks for your reply. > > currently I am working on the micaz's SPI port,I need to use the SPI port > to > send data to a chip and receive data from the chip,then, send the received > data to PC wirelessly. > > But I found the wireless senging chip cc2420 also connect with atmega128 > through SPI,and I cannot make sure that the hardware allow me to share SPI > in different time. > > So,I want to ask you ,it there a good way to solve the proplem? > Or,dose the cc2420 hold the SPI and we cannot use SPI to other way?? > > Thank you for your patience. > > Best regards, > Johnson > 04/20/2008 > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080420/d36fc6c3/attachment-0001.htm > > ------------------------------ > > Message: 6 > Date: Sun, 20 Apr 2008 12:13:02 +0200 > From: Urs Hunkeler <[EMAIL PROTECTED]> > Subject: [Tinyos-help] Error compiling even simple programs > To: TinyOS <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi all, > > I think I updated my tinyos tree (T2) via CVS. Whatever happened, tinyos > won't compile any programs anymore. Any ideas what might cause this error? > > Cheers, > Urs > > nescc 1.2.9 > tinyos 2.x (cvs update from this morning) > mac os 10.5.2 (x86) > > Trying to compile the Blink application: > > >> make clean && make tmote > rm -rf build > rm -rf _TOSSIMmodule.so TOSSIM.pyc TOSSIM.py > mkdir -p build/telosb > compiling BlinkAppC to a telosb binary > ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow > -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= > -DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_PROGRAM_NAME=\"BlinkAppC\" > -DIDENT_USER_ID=\"hunkeler\" -DIDENT_HOSTNAME=\"mymac\" > -DIDENT_USER_HASH=0x60220c52L -DIDENT_UNIX_TIME=0x4809a282L > -DIDENT_UID_HASH=0x9a0925bdL BlinkAppC.nc -lm > /opt/tinyos-2.x/tos/system/tos.h:21:47: > ../lib/safe/include/annots_stage1.h: No such file or directory > <commandline>: failed to preprocess /opt/tinyos-2.x/tos/system/tos.h > In file included from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:36: > In interface `Scheduler': > /opt/tinyos-2.x/tos/interfaces/Scheduler.nc:54: only commands and events > can be defined in interfaces > /opt/tinyos-2.x/tos/interfaces/Scheduler.nc:54: warning: return-type > defaults to `int' > /opt/tinyos-2.x/tos/interfaces/Scheduler.nc:54: syntax error before > `runNextTask' > In file included from /opt/tinyos-2.x/tos/platforms/telosb/hardware.h:4, > from /opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:41, > from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:40: > In C file: > /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:206: syntax error > before `__nesc_atomic_t' > /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:207: syntax error > before `__nesc_atomic_start' > /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:208: syntax error > before `reenable_interrupts' > /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:215: syntax error > before `__nesc_atomic_start' > /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:217: warning: type > defaults to `int' in declaration of `__x' > /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:217: warning: data > definition has no type or storage class > /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:217: syntax error > before `}' > /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:218: warning: > return-type defaults to `int' > /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:218: conflicting types > for `__nesc_disable_interrupt' > /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:195: previous > declaration of `__nesc_disable_interrupt' > /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:218: warning: data > definition has no type or storage class > /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:219: syntax error > before `volatile' > /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:223: syntax error > before `reenable_interrupts' > /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h: In function > `__nesc_atomic_end': > /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:226: > `reenable_interrupts' undeclared (first use in this function) > /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:226: (Each undeclared > identifier is reported only once > /opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:226: for each function > it appears in.) > In file included from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:40: > In component `SchedulerBasicP': > /opt/tinyos-2.x/tos/system/SchedulerBasicP.nc: At top level: > /opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:86: syntax error before > `isWaiting' > SchedulerBasicP: `TaskBasic.postTask' not implemented > SchedulerBasicP: `Scheduler.init' not implemented > SchedulerBasicP: `Scheduler.taskLoop' not implemented > SchedulerBasicP: `Scheduler.bool' not implemented > In file included from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:41: > In component `McuSleepC': > /opt/tinyos-2.x/tos/chips/msp430/McuSleepC.nc:51: syntax error before > `dirty' > /opt/tinyos-2.x/tos/chips/msp430/McuSleepC.nc: In function > `McuSleep.sleep': > /opt/tinyos-2.x/tos/chips/msp430/McuSleepC.nc:111: `dirty' undeclared > (first use in this function) > /opt/tinyos-2.x/tos/chips/msp430/McuSleepC.nc: In function > `McuPowerState.update': > /opt/tinyos-2.x/tos/chips/msp430/McuSleepC.nc:121: `dirty' undeclared > (first use in this function) > > > [truncated here because the full output is too long for the mailing list > server] > > > > ------------------------------ > > Message: 7 > Date: Sun, 20 Apr 2008 10:48:23 +0000 (GMT) > From: funofnet Funofnet <[EMAIL PROTECTED]> > Subject: [Tinyos-help] isolated node > To: [email protected] > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="utf-8" > > Hi, > Please, > When some node seem to be isolated ( couldn't contribute in routing tree > forming) > How so, could they transmit their information??? > > Thanks, > > Best regards, > Funofnet > > __________________________________________________ > Do You Yahoo!? > En finir avec le spam? Yahoo! Mail vous offre la meilleure protection > possible contre les messages non sollicit?s > http://mail.yahoo.fr Yahoo! Mail > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080420/6373c72d/attachment-0001.htm > > ------------------------------ > > Message: 8 > Date: Sun, 20 Apr 2008 09:01:54 -0300 > From: " Rog?rio De Pieri " <[EMAIL PROTECTED]> > Subject: [Tinyos-help] Acoustic Monitoring > To: [email protected] > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > Hi dear all > > I am working on an acoustic project within tinyos-2.x environment. > The goal of the project is to take a view of the distribution of SPL > (Sound Pressure Level) in an ambience. > > I took just a few of steps on that, and a this time I'm looking for > documentation about how to take datas from acoustic/sound sensor from > sensorboards. > > Another problema I know I will have is to turn de sound or acoustic > data in SPL or dB. > > Does anybody caan help me? > > Thanks for all > > > -- > Rog?rio De Pieri (Lelo) > Buscando melhorar a cada dia > ?udio, Hardware & Software > Fone: (48) 8409-0575 > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080420/76f0dfff/attachment.htm > > ------------------------------ > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > End of Tinyos-help Digest, Vol 60, Issue 50 > ******************************************* >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
