Hi Micheal,
Thanks for your reply. Actually, I am working on the tone detection part,
and the interrupt response seems very strange. The following is my original
code for this part, and I can see that the interrupt is coming continuously.
But when I probe the INT3 pin using an oscilloscope, I
Hi,
As I suppose it is the problem of the lower layer, I found that the
implementation of MicInterrupt.enable() and disable() is different between
the file tos/platform/mica2/HPLMicC.nc and tos/sensorboards/mts310/MicM.nc.
I read the data sheet of ATMEGA128, and I found the INT3 pin is connected
Hi,
What I found in the tos/sensorboards/sensorboard.h is a
TOSH_ALIAS_PIN(TONE_DECODE_
SIGNAL, INT3)
Hi Antonio, I did not find what you mentioned in that file. Is it under
tos/sensorboards ?
Thanks!
Shawn
On Wed, Oct 19, 2011 at 12:11 PM, antonio rosa
antoniorosarodrig...@gmail.com wrote:
Hi Antonio,
Thanks for your information. The interrupt is working fine now. After all,
the problem comes from the fact that the the interrupt is not mapped
correctly in the sensor board driver layer, which is
tos/sensorboards/mts310/MicM.nc. The work around would be change the INT3
and
Just for reference
Moteworks uses TOS1 which has different functions than TOS2
for doing everything useful.
That's one reason I stayed out of the fray...
but it is interesting that the interrupt number seems to be
mixed up between major versions. I wonder if it has to do with
the mica boards
I think so, the interrupt in the schematic of Mica2 is INT3, but it is
connected to PE7 pin in ATMEGA128 chip, which is defined as INT7.
Shawn
On Wed, Oct 19, 2011 at 3:34 PM, Michael Schippling sc...@santafe.eduwrote:
Just for reference
Moteworks uses TOS1 which has different functions
We would have to look at your code, but most likely you
are not returning from the interrupt correctly.
MS
dong bo wrote:
I am trying to implement the tone detector software in a Mica2 motes
with MTS310 sensor cards. The current problem is that as soon as the
interrupt is triggered, the
I am trying to implement the tone detector software in a Mica2 motes with
MTS310 sensor cards. The current problem is that as soon as the interrupt is
triggered, the system would crash. I triggered green LED to toggle every a
while and red LED will be toggled in the interrupt callback function. As