You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hardware
Custom board using STM32WB55 and SX1261.
Tested on a new board too to eliminate the possibility of a broken board.
Tested on a new antenna too to eliminate the possibility of a broken antena.
What I'm trying to do
I'm trying to launch the sample located at /samples/sybsys/lorawan/class_a/src/main.c
Intro
I've been successful at applying the sample then creating my own src code, communication to the gateway which is on ChirpStack, all worked great, one day I just did a west update on the project and suddenly even the sample isn't working.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hardware
Custom board using STM32WB55 and SX1261.
Tested on a new board too to eliminate the possibility of a broken board.
Tested on a new antenna too to eliminate the possibility of a broken antena.
What I'm trying to do
I'm trying to launch the sample located at /samples/sybsys/lorawan/class_a/src/main.c
Intro
I've been successful at applying the sample then creating my own src code, communication to the gateway which is on ChirpStack, all worked great, one day I just did a west update on the project and suddenly even the sample isn't working.
Configuration -- prj.conf
CONFIG_LOG=y
CONFIG_LOG_MODE_DEFERRED=y
CONFIG_LOG_BACKEND_UART=y
CONFIG_LORA=y
CONFIG_LORAWAN=y
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
CONFIG_LORAMAC_REGION_EU868=y
CONFIG_HEAP_MEM_POOL_SIZE=2048
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_LOG_BUFFER_SIZE=4096
Configuration -- code
Sample code with only the dev_eui, join_eui and app_key changed.
Configuration -- .overlay
&spi1 {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
pinctrl-0 = <&spi1_nss_pa15 &spi1_sck_pb3 &spi1_miso_pb4 &spi1_mosi_pb5>;
pinctrl-names = "default";
lora0: lora@0 {
compatible = "semtech,sx1261";
reg = <0>;
reset-gpios = <&gpioc 12 (GPIO_OPEN_DRAIN | GPIO_ACTIVE_LOW)>;
busy-gpios = <&gpioc 11 GPIO_ACTIVE_HIGH>;
dio1-gpios = <&gpioc 10 GPIO_ACTIVE_HIGH>;
dio2-tx-enable;
spi-max-frequency = <1000000>;
antenna-enable-gpios = <&gpiod 0 GPIO_ACTIVE_HIGH>;
};
};
Keep in mind this exact configuration worked just 2 days ago.
Beta Was this translation helpful? Give feedback.
All reactions