Sidewalk LORA not working on custom board in v2.6.0

Hello, I am trying to migrate from v2.5.0 to v2.6.0. I had subghz working for the sidewalk samples in v2.5.0 but can't seem to get it working in v2.6.0. I don't see any errors so I am unsure what's going on. I noticed a new value was added for the trim capacitor configuration in the 2.6.0. I am wondering if this value is what is causing issues. The default value of SIDEWALK_SUBGHZ_TRIM_CAP_VAL is 0x1212 for the LoRa shield. I am using the the RAK4630. I am wondering how this value was determined and if it should be the same for the RAK4630. If this value isn't the issue. Is there any other changes in v2.6.0 that would cause the RAK4630 not to work the same as the mbed LoRa shield on the devkit?

Parents
  • Hello,

    can you try to add an overlay for you board? Like below

    /*
     * SPDX-License-Identifier: Apache-2.0
     */
    
    / {
        chosen {
            zephyr,console = &uart1;
            zephyr,shell-uart = &uart1;
        };
    };
    
    &gpio1 {
        sense-edge-mask = <0xffff3b9f>;
    };
    
    sid_semtech: &spi1 {
        compatible = "nordic,nrf-spim";
        clock-frequency = <DT_FREQ_M(8)>;
        /delete-property/ cs-gpios;
    
        lora: lora@0 {
            status = "disabled";
        };
    };
    
    /{
        semtech_sx1262_gpios{
            compatible = "gpio-keys";
            semtech_sx1262_cs: cs {
                gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
                label = "semtech_sx1262 CS";
            };
            semtech_sx1262_reset_gpios: reset {
                gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
                label = "semtech_sx1262 Reset";
            };
            semtech_sx1262_busy_gpios: busy {
                gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
                label = "semtech_sx1262 Busy";
            };
            semtech_sx1262_antenna_enable_gpios: antena_enable {
                gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
                label = "semtech_sx1262 Antena Enable";
            };
            semtech_sx1262_dio1_gpios: dio1 {
                gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
                label = "semtech_sx1262 DIO1";
            };
        };
    };

Reply
  • Hello,

    can you try to add an overlay for you board? Like below

    /*
     * SPDX-License-Identifier: Apache-2.0
     */
    
    / {
        chosen {
            zephyr,console = &uart1;
            zephyr,shell-uart = &uart1;
        };
    };
    
    &gpio1 {
        sense-edge-mask = <0xffff3b9f>;
    };
    
    sid_semtech: &spi1 {
        compatible = "nordic,nrf-spim";
        clock-frequency = <DT_FREQ_M(8)>;
        /delete-property/ cs-gpios;
    
        lora: lora@0 {
            status = "disabled";
        };
    };
    
    /{
        semtech_sx1262_gpios{
            compatible = "gpio-keys";
            semtech_sx1262_cs: cs {
                gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
                label = "semtech_sx1262 CS";
            };
            semtech_sx1262_reset_gpios: reset {
                gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
                label = "semtech_sx1262 Reset";
            };
            semtech_sx1262_busy_gpios: busy {
                gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
                label = "semtech_sx1262 Busy";
            };
            semtech_sx1262_antenna_enable_gpios: antena_enable {
                gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
                label = "semtech_sx1262 Antena Enable";
            };
            semtech_sx1262_dio1_gpios: dio1 {
                gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
                label = "semtech_sx1262 DIO1";
            };
        };
    };

Children
No Data
Related