Some first experience:
Using west flash --runner pyocd
sometimes reports
W nRF9160_xxAA APPROTECT enabled: will try to unlock via mass erase [target_nRF91]
not sure, whatās causing that. The āmass eraseā will erase the āsettingsā.
After flashing it seems to require an hw reset by the button, otherwise the modem seems to be inaccessible.
Beside of that the nRF9161 feather works very nice!
Using the LEDs isnāt to complicated and in addition to the nRF9160 feather itās now possible to read the charger status.
Iām not sure, why Nordic decided to not implement the zephyr ācharger APIā, and to use the ānpm1300 sensorā API requires some datasheet reading. But all in all, my client was fast ported and we will see, how long that new feather will run on battery ;-).
Changes required:
The
button0: button_0 {
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
label = "Switch 1";
zephyr,code = <INPUT_KEY_0>;
};
seems to use the wrong polarity, I changed it to GPIO_ACTIVE_HIGH