diff --git a/bl654pa_gpio_uart.overlay b/bl654pa_gpio_uart.overlay new file mode 100644 index 0000000..ebe0316 --- /dev/null +++ b/bl654pa_gpio_uart.overlay @@ -0,0 +1,45 @@ +&uart0 { + compatible = "nordic,nrf-uarte"; + status = "okay"; + current-speed = <115200>; //<1000000>; + //hw-flow-control; +}; + + +&pinctrl { + uart0_default: uart0_default { + group1 { + psels = , // SIO6 + ; //SIO5 + }; + group2 { + psels = , //SIO8 + ; //SIO7 + bias-pull-up; + }; + }; + + uart0_sleep: uart0_sleep { + + group1 { + psels = , + , + , + ; + low-power-enable; + }; + }; +}; + +/ { + chosen { + zephyr,console = &uart0; + zephyr,shell-uart = &uart0; + //zephyr,uart-mcumgr = &uart0; + //zephyr,bt-mon-uart = &uart0; + //zephyr,bt-c2h-uart = &uart0; + }; +}; +&power { + status = "okay"; +}; diff --git a/internal_osc.conf b/internal_osc.conf new file mode 100644 index 0000000..86f6a47 --- /dev/null +++ b/internal_osc.conf @@ -0,0 +1,4 @@ +# use internal 32kHz oscillator +CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y +# select desired accuracy (more calibrations would be nececcary if smaller) - I think the 32KHz oscillator is only needed for receive +CONFIG_CLOCK_CONTROL_NRF_K32SRC_250PPM=y