I could use some help in telling my hardware guy what to do here.
From github/mangOH/demos/shakeNWake: "A simple demonstration app that uses the bmi160 accelerometer on the mangOH Red to wakeup the WP module from ultra-low power mode. In order to use this application, a resistor mod is required to the mangOH Red so that the bmi160 interrupt lines are connected to the “wakeable” WP GPIOs. " And found in source code for the same: "
LE_INFO(“Boot reason was timer”);
else if (le_bootReason_WasGpio(36))
LE_INFO(“Boot reason was GPIO 36”);
As a software guy, I can guess that there’s a pin on a chip called bmi160, and it needs to be tied through a resistor to something the software knows as GPIO(36).
Has anyone implemented this? Are there clues to deciphering this that I can pass along to my hardware guy?