PaoloZigoni the board revision is BRD-0015-05.
I have an nrf52840 dongle attached to VBUS, GND and 3 GPIO (two for UART, one is an input for nrf9160).
Can you snap a photo of the connections?
PaoloZigoni Is there a way to configure UART0 so that it does not use USB as an interface? I would like to have some logging to understand what happens when running with battery.
Yep! If you create a circuitdojo_feather_nrf9160_ns.overlay
file and edit the contents to be something like this:
&uart0 {
pinctrl-0 = <&uart0_alt>;
pinctrl-1 = <&uart0_sleep_alt>;
pinctrl-names = "default", "sleep";
};
&pinctrl {
uart0_alt: uart0_alt {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 24)>,
<NRF_PSEL(UART_RX, 0, 23)>;
};
};
uart0_sleep_alt: uart0_sleep_alt {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 24)>,
<NRF_PSEL(UART_RX, 0, 23)>;
low-power-enable;
};
};
};
This would remap the console to the TX and RX pins. If you’re already using them you’ll have to map to other unused pins. Change the last number <NRF_PSEL(UART_TX, 0, 24)>,
in this line to map to the pin in question. The silkscreen on the bottom of the boards should match the pin number. Keep in mind that some of the pins on the board are shared with the accelerometer and other functionality. (P0.30/D3 for accel and P0.03/D7 for LED)
Place that .overlay file in a boards directory along side your prj.conf and CMakeLists.txt and Zephyr should find it. I’d recommend deleting your build folder or doing a pristine build.
PaoloZigoni Has 05 revision any problem? We just received 5 new boards, hopefully is 06 version.
Thanks
They should be version 6. There’s little difference between the boards so you should be OK there.