[Tinyos-help] Question about IRIS mote

2012-12-25 Thread mahewish jamali
hello Steve hope you have done with your task . i am working on project which resembles that of you so can i have that code used ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] Question about IRIS mote

2011-01-29 Thread Steven Satterfield
Timer4 and 5. Am I correct? Thanks again! Sofia Date: Tue, 25 Jan 2011 21:11:55 +0100 Subject: Re: [Tinyos-help] Question about IRIS mote From: mmar...@math.u-szeged.hu To: sc...@santafe.edu CC: aparicioso...@hotmail.com; tinyos-help@millennium.berkeley.edu Hi Michael and Sofia

Re: [Tinyos-help] Question about IRIS mote using OC3A,OC3B,OC3C

2011-01-28 Thread Miklos Maroti
+0100 Subject: Re: [Tinyos-help] Question about IRIS mote using OC3A,OC3B,OC3C From: mmar...@math.u-szeged.hu To: aparicioso...@hotmail.com CC: tinyos-help@millennium.berkeley.edu Hi Sofia! On Thu, Jan 27, 2011 at 4:25 PM, sofia aparicio aparicioso...@hotmail.com wrote: Hello,   Seems

Re: [Tinyos-help] Question about IRIS mote using OC3A,OC3B,OC3C

2011-01-27 Thread sofia aparicio
Hello, Seems ok, but not sure how you access those pins. How did you verified that your code does not work? You cannot be sure that these pins are available on the 51-pins. I am using a MDA100 sensor board connected to my IRIS mote. I can see the signals in OC3A, OC3B and OC3C using an

Re: [Tinyos-help] Question about IRIS mote using OC3A,OC3B,OC3C

2011-01-27 Thread Miklos Maroti
Hi Sofia! On Thu, Jan 27, 2011 at 4:25 PM, sofia aparicio aparicioso...@hotmail.com wrote: Hello,   Seems ok, but not sure how you access those pins. How did you verified that your code does not work? You cannot be sure that these pins are available on the 51-pins. I am using a MDA100

Re: [Tinyos-help] Question about IRIS mote

2011-01-26 Thread sofia aparicio
Jan 2011 21:11:55 +0100 Subject: Re: [Tinyos-help] Question about IRIS mote From: mmar...@math.u-szeged.hu To: sc...@santafe.edu CC: aparicioso...@hotmail.com; tinyos-help@millennium.berkeley.edu Hi Michael and Sofia, Timer/Counter 1 is used by the RF230 radio. The radio code also uses

Re: [Tinyos-help] Question about IRIS mote

2011-01-26 Thread sofia aparicio
Sorry, using only OC3A and OC3B as in 4) TimerMilliC works but OC3A and OC3B do not work. Sofia From: aparicioso...@hotmail.com To: mmar...@math.u-szeged.hu; sc...@santafe.edu CC: tinyos-help@millennium.berkeley.edu Subject: RE: [Tinyos-help] Question about IRIS mote Date: Wed, 26 Jan

[Tinyos-help] Question about IRIS mote using OC3A,OC3B,OC3C

2011-01-26 Thread sofia aparicio
Hello, I would like to configure in Fast PWM mode without prescaler and toggling OCR3A,OCR3B and OCR3C at the same time. I do the following: SET_BIT(DDRE,3); OCR3A SET_BIT(PORTE,3); SET_BIT(DDRE,4); OCR3B SET_BIT(PORTE,4); SET_BIT(DDRE,5); OCR3C SET_BIT(PORTE,5); TCCR3A=0x57; TCCR3B=0x19;

Re: [Tinyos-help] Question about IRIS mote using OC3A,OC3B,OC3C

2011-01-26 Thread Michael Schippling
I'm afraid I don't have the patience to apply the necessary brain cells to the hermeneutics of the ATMEGA manual right now. My only advice is to put it all down for a day or two and then re-read _every_ section of the manual that might apply, looking for some small detail that got buried in the

Re: [Tinyos-help] Question about IRIS mote using OC3A,OC3B,OC3C

2011-01-26 Thread Miklos Maroti
Hi Sofia! I know the atmega1281 timers in and out, I am rewriting the timer subsystem (or at least I am writing a new one for the atmega128rfa1). On Wed, Jan 26, 2011 at 4:01 PM, sofia aparicio aparicioso...@hotmail.com wrote: Hello, I would like to configure in Fast PWM mode without

Re: [Tinyos-help] Question about IRIS mote using OC3A,OC3B,OC3C

2011-01-26 Thread Michael Schippling
Miklos Maroti wrote: Hi Sofia! I know the atmega1281 timers in and out, I am rewriting the timer subsystem (or at least I am writing a new one for the atmega128rfa1). On Wed, Jan 26, 2011 at 4:01 PM, sofia aparicio aparicioso...@hotmail.com wrote: Hello, I would like to configure in

Re: [Tinyos-help] Question about IRIS mote using OC3A,OC3B,OC3C

2011-01-26 Thread Miklos Maroti
Hi Michael, On Wed, Jan 26, 2011 at 10:51 PM, Michael Schippling sc...@santafe.edu wrote: Miklos Maroti wrote: Hi Sofia! I know the atmega1281 timers in and out, I am rewriting the timer subsystem (or at least I am writing a new one for the atmega128rfa1). On Wed, Jan 26, 2011 at 4:01

Re: [Tinyos-help] Question about IRIS mote using OC3A,OC3B,OC3C

2011-01-26 Thread Michael Schippling
I was once inspired to add a bunch of stuff to the doc/wiki but I selected a day on which it refused to allow me to create a login...maybe all days are like this? So I keep to myself. The 51 pin expansion connector pinouts should match, although I just paid attention to the micasb sensor board

[Tinyos-help] Question about IRIS mote

2011-01-25 Thread sofia aparicio
Hello, I am using IRIS mote and I have a main program where I call a TimerMilliC. This timer is fired every 10 seconds. Then I would like to use the OC1A using a MDA100 sensor board. If I undestood well this pin is available. Then, I configure this OC1A in CTC mode using TCCR1A=0x40;

Re: [Tinyos-help] Question about IRIS mote

2011-01-25 Thread Michael Schippling
Looks like OC1A uses Timer/Counter1 on the controller. Most likely TimerMilli does as well...or else you have overwritten some control bits by mistake. Dig into the TimerMilli code or documentation (ha ha a little joke) and see what hardware facilities it uses. My reverse engineering of TOS1.x

Re: [Tinyos-help] Question about IRIS mote

2011-01-25 Thread Miklos Maroti
Hi Michael and Sofia, Timer/Counter 1 is used by the RF230 radio. The radio code also uses a compare register via the AlarmOne16C component. Most probably you are trying to use a counter that is used by someone else. You should NEVER use a counter directly, but use the HPL abstractions in