diff --git a/bl654pa_gpio_uart.overlay b/bl654pa_gpio_uart.overlay index 7bbbb2d..fbab12f 100644 --- a/bl654pa_gpio_uart.overlay +++ b/bl654pa_gpio_uart.overlay @@ -1,12 +1,11 @@ &uart0 { compatible = "nordic,nrf-uarte"; status = "okay"; - current-speed = <1000000>; - //hw-flow-control; + current-speed = <1000000>; //<115200>; + hw-flow-control; }; - &pinctrl { uart0_default: uart0_default { group1 { @@ -29,15 +28,31 @@ low-power-enable; }; }; - - +}; / { chosen { - //zephyr,console = &uart0; + //zephyr,console = &uart0; //zephyr,shell-uart = &uart0; //zephyr,uart-mcumgr = &uart0; //zephyr,bt-mon-uart = &uart0; zephyr,bt-c2h-uart = &uart0; }; -}; \ No newline at end of file +}; + +/ { + /* Information from Nordic SDK-Based Application Development and SKY66112 datasheet */ + sky66112_fem: fem { + compatible = "generic-fem-two-ctrl-pins"; + ctx-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; + crx-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>; + ctx-settle-time-us = <23>; + crx-settle-time-us = <5>; + tx-gain-db = <22>; + rx-gain-db = <11>; + }; +}; + +&radio { + fem = <&sky66112_fem>; +}; diff --git a/no_bootloader.conf b/no_bootloader.conf deleted file mode 100644 index 4928394..0000000 --- a/no_bootloader.conf +++ /dev/null @@ -1 +0,0 @@ -CONFIG_BOARD_HAS_NRF5_BOOTLOADER=n \ No newline at end of file diff --git a/readme.md b/readme.md index c56df3a..eec282b 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,11 @@ # flash nrf52dongle - build with dongle build target (dont forget dongle .conf file) - nrfutil install nrf5sdk-tools -- source flash_dongle.sh \ No newline at end of file +- source flash_dongle.sh + +# build for bl654pa +- toolchain +- nrf52840dongle_no_usb +- base config: prj.conf +- extra conf: iso.conf,internal_osc.conf +- bl654_gpio_uart.overlay \ No newline at end of file