> From: [email protected]
> Subject: Tinyos-help Digest, Vol 120, Issue 13
> To: [email protected]
> Date: Fri, 5 Apr 2013 23:51:06 -0700
> 
> 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: Component ReadLqi not found error (Eric Decker)
>    2. Re: Msp430Adc12ClientAutoDMAC(), sampling frequency (Eric Decker)
>    3. Re: Tinyos-help Digest, Vol 120, Issue 12 (Huda lubbad)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Fri, 5 Apr 2013 17:39:41 -0700
> From: Eric Decker <[email protected]>
> Subject: Re: [Tinyos-help] Component ReadLqi not found error
> To: Gandhimathi Velusamy <[email protected]>
> Cc: Tinyos-Help <[email protected]>
> Message-ID:
>       <CAMdX_2CxZhVcoq9NGPJqQbvWzvfuQycM3o1u+vRWVR9Po=k...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> On Fri, Apr 5, 2013 at 8:40 AM, Gandhimathi Velusamy 
> <[email protected]>wrote:
> 
> > Hi,
> >  I am using Micaz, in my application I am using ReadLqiC component as
> > follows:
> > AntiTheftNewAppC.nc
> >   {
> > components ReadLqiC;
> > AntiTheftC.ReadLqui -> ReadLqiC;
> >
> > }
> >
> 
> The only ReadLqiC component that I see in the current development tree is
> in tos/lib/net/blip/ReadLqiC.nc.
> 
> There are also tos/lib/net/blip/platform/RF230ReadLqiC.nc and
> tos/lib/net/blip/platform/CC2420ReadLqiC.nc.
> 
> So I question what you think you are trying to do.   Are you building BLIP?
>   Is BLIP supported for the MicaZ?
> 
> But while compiling, it is saying component ReadLqiC not found.
> > As I am new to TinyOS, I need help to avoid this error.
> >
> 
> I found these files by executing:
> 
> find . -iname "*readlqic*"
> 
> from the top level of the tinyos tree.
> 
> 
> 
> Also you seem to have spelled   ReadLqui strangely from AntiTheftC.    but
> I don't have your source code (also don't want it).
> 
> 
> 
> >
> > Thanks
> > Gandhi
> >
> > _______________________________________________
> > Tinyos-help mailing list
> > [email protected]
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
> 
> 
> 
> -- 
> Eric B. Decker
> Senior (over 50 :-) Researcher
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20130405/5918d756/attachment-0001.htm
>  
> 
> ------------------------------
> 
> Message: 2
> Date: Fri, 5 Apr 2013 17:49:31 -0700
> From: Eric Decker <[email protected]>
> Subject: Re: [Tinyos-help] Msp430Adc12ClientAutoDMAC(), sampling
>       frequency
> To: Andres Mabini <[email protected]>
> Cc: Tinyos-Help <[email protected]>
> Message-ID:
>       <CAMdX_2Do01Uq82Y8v2Xxj6FgpOAXyopkxwkbP=sqzzjc2lw...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> On Fri, Apr 5, 2013 at 1:42 AM, Andres Mabini <[email protected]>wrote:
> 
> > Hi Eric,
> >
> > Thanks for the very fast reply. I looked at the User Guide and it just
> > says there that the 12-bit ADC is capable of more than 200Ksps.
> >
> 
> Everything I've looked at also seems to imply that it should work.   No
> warning flags.  Meaning nothing jumps out and says this is nuts.
> 
> 
> >
> > I got 25 using the computation in tos/chips/MSP430/adc12/README.txt as a
> > pattern. The example there is just for 4000Hz though - much smaller than my
> > desired sampling frequency of 40Khz.
> >
> 
> I just went and looked at that file (why did you capitilize MSP430?  Linux
> is case sensative.  Just odd that is all).
> 
> Your calc seem reasonable.    The assumption though is that the timer
> system is being clocked at 1MiHz which is true.   Bottom line is you should
> see about 40K samples or so.
> 
> 
> >
> >  I am just wary of hitting any limitations that the chip may have, or
> > whether I am going about it(reaching 40KHz sampling rate) the right way.
> >
> > You're right, the code does work in a sense that I am getting samples,
> > however, I am not sure that the chip indeed is sampling at 40kHz(is there
> > even a way of verifying that?)
> >
> 
> Yes you can verify this.   Write some test code that generates samples like
> you have outlined.   Basically do nothing but fire off samples.   As each
> sample completes increment a counter.
> 
> Also fire up a timer, say for 1 second.   you want to be careful about what
> units you are using for time.   TinyOS uses binary time, ie. TMilli runs in
> units of binary millisecs (1mis = 1/1024 secs).
> 
> Fire up a 1 second timer (1024 TMilli ticks), right when you fire the time
> up, zero the sample counter.    When the timer fires, see how many samples
> you've done.   It should be around 42 * 1000.   1000 because you did the
> 1MiHz (1 x 1024 x 1024 = 1048576)/25 = ~ 42KHz.
> 
> If you were looking for 40KHz why didn't you divide by 26?
> 
> 
> 
> 
> > Again, thanks. I guess this code's already OK then, at least in terms of
> > achieving 40Khz.
> >
> 
> Everything I've looked at implies that.    You should be fine.
> 
> 
> >
> >
> > On Fri, Apr 5, 2013 at 1:13 AM, Eric Decker <[email protected]> wrote:
> >
> >> you will need to study the cpu documentation.
> >>
> >> are you using the telosb?
> >>
> >> the manual you want for the 1611 is the User's Guide for the 1611 family.
> >>  msp430x1xx
> >>
> >> You should also look at the specific data sheet for the part.
> >>
> >> Where did you get the number 25 from?
> >>
> >>
> >> But all things considered (I just looked at the data sheet), it should
> >> work.
> >>
> >>
> >>
> >> On Fri, Apr 5, 2013 at 12:49 AM, Andres Mabini 
> >> <[email protected]>wrote:
> >>
> >>> Hi all,
> >>>
> >>> What is the maximum sampling frequency that the MSP430 12-bit ADC could
> >>> support?
> >>>
> >>> If I want to sample at around 40KHz using Msp430Adc12ClientAutoDMAC() as
> >>> the client, am I doing it correctly if I set the config as
> >>>
> >>> #define CONFIG_AVCC INPUT_CHANNEL_A0, REFERENCE_AVcc_AVss,
> >>> REFVOLT_LEVEL_NONE, SHT_SOURCE_SMCLK, SHT_CLOCK_DIV_1,
> >>> SAMPLE_HOLD_4_CYCLES, SAMPCON_SOURCE_SMCLK, SAMPCON_CLOCK_DIV_1
> >>>
> >>> and call
> >>>
> >>> call SingleChannel.configureMultiple(&config, buffer, BUFFER_SIZE, 25
> >>>
> >>> ?
> >>>
> >>> I reckoned 1048576 / 25 = 41 934, so the resulting sampling frequency
> >>> would then 41KHz. Is this correct?
> >>>
> >>> Much thanks.
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Tinyos-help mailing list
> >>> [email protected]
> >>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >>>
> >>
> >>
> >>
> >> --
> >> Eric B. Decker
> >> Senior (over 50 :-) Researcher
> >>
> >>
> >
> 
> 
> -- 
> Eric B. Decker
> Senior (over 50 :-) Researcher
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20130405/e56bd62e/attachment-0001.htm
>  
> 
> ------------------------------
> 
> Message: 3
> Date: Sat, 6 Apr 2013 06:50:45 +0000
> From: Huda lubbad <[email protected]>
> Subject: Re: [Tinyos-help] Tinyos-help Digest, Vol 120, Issue 12
> To: "[email protected]"
>       <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> help
> 
> I already installed cygwin on my windows 7, can you please  tell me how to 
> install TinyOs on  the cygwin
> 
> Thank you 
> 
> > From: [email protected]
> > Subject: Tinyos-help Digest, Vol 120, Issue 12
> > To: [email protected]
> > Date: Fri, 5 Apr 2013 12:00:02 -0700
> > 
> > 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: Missing header files when compiling and other     errors
> >       (Srikanth Nori)
> >    2. Component ReadLqi not found error (Gandhimathi Velusamy)
> >    3. Re: Missing header files when compiling and other     errors
> >       (Srikanth Nori)
> > 
> > 
> > ----------------------------------------------------------------------
> > 
> > Message: 1
> > Date: Fri, 5 Apr 2013 02:28:36 -0700
> > From: Srikanth Nori <[email protected]>
> > Subject: Re: [Tinyos-help] Missing header files when compiling and
> >     other   errors
> > To: MICHARD Romain 231795 <[email protected]>
> > Cc: "[email protected]"
> >     <[email protected]>
> > Message-ID:
> >     <CAHkh=taydc_8-qsbsw0wf3ywu2au8-fbz+acrqrt016dv1b...@mail.gmail.com>
> > Content-Type: text/plain; charset=windows-1252
> > 
> > On Thu, Apr 4, 2013 at 5:56 AM, MICHARD Romain 231795
> > <[email protected]> wrote:
> > >
> > >
> > > I?ve installed TinyOS in a new Kubuntu 12.10 machine. I?m typing ?make 
> > > micaz sim? in the /opt/tinyos-2.1.2/apps/Blink directory and I get this:
> > >
> > >
> > >
> > > mkdir -p simbuild/micaz
> > >
> > > make: python2.7-config : commande introuvable
> > >
> > > make: python2.7-config : commande introuvable
> > 
> > 
> > It looks like python2.7-config is missing. You can install it with
> > 
> > sudo apt-get install python2.7-dev
> > 
> > 
> > 
> > ------------------------------
> > 
> > Message: 2
> > Date: Fri, 5 Apr 2013 10:40:44 -0500
> > From: Gandhimathi Velusamy <[email protected]>
> > Subject: [Tinyos-help] Component ReadLqi not found error
> > To: [email protected]
> > Message-ID:
> >     <CABnxX272c9xZTdwder0cKCtK4byir+S3jviW5OmH=bzrw5b...@mail.gmail.com>
> > Content-Type: text/plain; charset="iso-8859-1"
> > 
> > Hi,
> >  I am using Micaz, in my application I am using ReadLqiC component as
> > follows:
> > AntiTheftNewAppC.nc
> >   {
> > components ReadLqiC;
> > AntiTheftC.ReadLqui -> ReadLqiC;
> > 
> > }
> > But while compiling, it is saying component ReadLqiC not found.
> > As I am new to TinyOS, I need help to avoid this error.
> > 
> > Thanks
> > Gandhi
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: 
> > https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20130405/f10e7a47/attachment-0001.htm
> >  
> > 
> > ------------------------------
> > 
> > Message: 3
> > Date: Fri, 5 Apr 2013 10:42:34 -0700
> > From: Srikanth Nori <[email protected]>
> > Subject: Re: [Tinyos-help] Missing header files when compiling and
> >     other   errors
> > To: MICHARD Romain 231795 <[email protected]>
> > Cc: "[email protected]"
> >     <[email protected]>
> > Message-ID:
> >     <CAHkh=TbfZdF2CKbicz5ziOxLNYFsgBfQP9mPBpc=y0dytow...@mail.gmail.com>
> > Content-Type: text/plain; charset=ISO-8859-1
> > 
> > On Fri, Apr 5, 2013 at 7:26 AM, MICHARD Romain 231795
> > <[email protected]> wrote:
> > > I have exactly the same errors with Ubuntu 12.04.2.
> > >
> > 
> > This is quite strange. I'm listing below the additional packages that
> > I installed to get a working CM. Can you confirm that you have all of
> > these?
> > 
> > automake gcc g++ gcc-multilib g++-multilib python2.7-dev
> > nesc msp430-tinyos avr-tinyos tinyos-tools
> > 
> > The repositories I've used:
> > 
> > deb http://tinyprod.net/repos/debian squeeze
> > deb http://tinyprod.net/repos/debian msp430-46 main
> > 
> > 
> > ------------------------------
> > 
> > _______________________________________________
> > Tinyos-help mailing list
> > [email protected]
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> > 
> > End of Tinyos-help Digest, Vol 120, Issue 12
> > ********************************************
>                                         
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20130406/7f85ef1c/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 120, Issue 13
> ********************************************
                                          
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to