Page 4 of 4

Re: Power Consumption

Posted: Thu Dec 08, 2016 8:41 am
by tobias
@kekeller Do you have your code in a fork on github or any other place easy shareable so I can try to debug it.

Re: Power Consumption

Posted: Tue Dec 13, 2016 4:50 pm
by kekeller
We ended up getting it sorted. For the pmRunSystem(true); command that needs to run in a while loop. I think there was some issue where it was constantly rebooting inside of the if statement.

It did not solve the 12 second boot time though. So what I ended up modifying the STM firmware to boot quicker by removing the FreeRTOS and simply running the motors directly in main. That works fine for our project.

Re: Power Consumption

Posted: Wed Dec 14, 2016 9:45 am
by arnaud
Good that you solved it. The 12 sec is really strange, something must be timing out. If you still want FreeRTOS back you could look at the printout in the console, maybe it can show what is taking time.

Re: Power Consumption

Posted: Thu Dec 15, 2016 5:46 pm
by tobias
Great you got it working! I'm guessing the 12 sec boot is the MPU9250 self test that never passes and times out.