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