make bl654pa work

This commit is contained in:
2025-05-06 16:39:50 +02:00
parent 3e9ab11616
commit 2f12bcd816
3 changed files with 30 additions and 9 deletions

View File

@@ -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;
};
};
/ {
/* 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>;
};

View File

@@ -1 +0,0 @@
CONFIG_BOARD_HAS_NRF5_BOOTLOADER=n

View File

@@ -2,3 +2,10 @@
- build with dongle build target (dont forget dongle .conf file)
- nrfutil install nrf5sdk-tools
- 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