I'm having a problem that only comes up when I'm using tosthreads. I have a NesC component that I have used for along time that uses the Msp430Adc12MultiChannel interface from Msp430Adc12ClientC to periodically sample 3 ADC pins. As long as I am not using tosthreads, it works great.
In order to use it with tosthreads, I wrote a blocking wrapper around it just like the example shown in the tosthreads tutorial and now, I can only sample once successfully. The second time, I call Msp430Adc12MultiChannel.getData and I never get a Msp430Adc12MultiChannel.dataReady event. I have traced it down to Msp430Adc12ImplP which calls HplAdc12.startConversion successfully, but no HplAdc12.conversionDone event is ever signalled. Also, I'm using the latest version from CVS, which I updated yesterday in hopes of fixing this problem. Any help would be greatly appreciated. I really like the idea of using tosthreads, so I hope there's an easy solution to this problem. Thanks, Jacob Sorber
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
