Power Consumption
Re: Power Consumption
@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
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.
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
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
Great you got it working! I'm guessing the 12 sec boot is the MPU9250 self test that never passes and times out.