Hi everyone, I am trying to measure the channel occupancy duration by connecting the RSSI pin o/p to external interrupts INT2 and INT3. I have configured INT2 as falling edge and INT3 as rising edge,so they are basically triggered whenever the RSSI value changes, i.e. at the start and end of a packet(or any other channel activity). Now, in the ISR, I am noting the times and then calculating the channel occupancy duration time and retrieving the values. The setup is : a sending node is sending periodic packets(of the same size) and the receiver is measuring the duration of channel occupancy using the start and end of reception of the packet and sending the values.I am also using an oscilloscope to check the RSSI pin activity and correlate these values with the values I receive. The values on the oscilloscope are ~19.6 ms and most of the values I receive from the INT pin measurements are also in the range of 19.2-19.6 ms. However,there are some values(received from the INT measurements) that are around 13-14 ms. I am not exactly sure why I am getting these. I tried sending the channel occupancy duration values measured by INT pins over the radio and also over the serial port. Both give the same result. I am using a MICA2 mote and TinyOS 1.x. Any ideas as to why this is happening?
Thanks a lot in advance! Debasmit
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
