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



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 :

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