BUG Community

Welcome! Log In

Forums BUGmodules [BugMotion] Problem while reading continuously from InputStream

Subscribe to [BugMotion] Problem while reading continuously from InputStream  1 post, 1 voice

Log in to reply to this topic
 
Jan 23, 2011 6:01am
User_img_not_found_05_med Edrae 25 posts

 

Hello,


For the application I’m writing and that display a real-time graph
of g sent by the BugMotion module, I have a bad flaw. I need your
knowledge to make this app working !


To see how I get the stream, please, refere to this thread :
http://community.buglabs.net/forums/8-BUGmodules/topics/519-BugMotion-Configuration


This is what happenning :

I start the app with the “top” command launch on my pc
and in a few seconds, the mxc_spi thread shown by the top command
indicates about 40% cpu usage. This seems to be normal. But after a
random time (it can be 20 sec like 10 min) the mxc_spi thread show
about 70% cpu usage. It grow from 40% to 70% in just a few seconds.
That freeze my bug and I have to kill java and restart concierge.

I think that it is cause by the spi bus driver managing communication between module and base. So it may
be a bug in the driver or an external element, for exemple, if my app
is started, I cannot connect to WiFi.

Thanks for help and sorry for my english,

Edrae.


 

Log in to reply to this topic
Forums BUGmodules [BugMotion] Problem while reading continuously from InputStream

Powered by Community Engine