This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

PA LNA in BLE Softdevice stack switching off during mesh provisioning process.

Hello,

We have the following problem with a custom board based on the nRF52832 and the SKY66112-11 PA LNA, running as a mesh node.

The SDKs used are nrf5_SDK_for_Mesh_v3.1.0_src and nRF5_SDK_15.2.0_9412b96.

The application running on the board is based on the light_switch_server_nrf52832_xxAA_s132_6_1_0 application and we initialize the PA LNA for both stacks (Mesh stack and the normal BLE Softdevice stack) using following parameters:

/* Static global variable for SKY66112 PA/LNA control */

static mesh_pa_lna_gpiote_params_t m_pa_lna_params = {

       .lna_cfg = {

           .enable = 1,

           .active_high = 1,

           .gpio_pin = CRX

       },

       .pa_cfg = {

           .enable = 1,

           .active_high = 1,

           .gpio_pin = CTX

       },

       .ppi_ch_id_set = 0,

       .ppi_ch_id_clr = 1,

       .gpiote_ch_id = 0

};

 

/* Static global variable to enable BLE stack to control the PA/LNA */

static ble_opt_t pa_lna_opts = {

        .common_opt = {

            .pa_lna = {

                            

                .pa_cfg = {

                    .enable = 1,

                    .active_high = 1,

                    .gpio_pin = CTX

                },

 

               .lna_cfg = {

                    .enable = 1,

                    .active_high = 1,

                    .gpio_pin = CRX

                },

                               

                .ppi_ch_id_set = 0,

                .ppi_ch_id_clr = 1,

                .gpiote_ch_id = 0

            }

        }

    };

The PA LNA works fine until we start the provisioning process.  For some reason the PA LNA is switched off in the BLE Softdevice stack during the provisioning (we use the nRF Mesh app for provisioning and configuration).  Only by holding the provisioning device very close to the antenna of the node the provisioning and configuration process can continue.

Once the provisioning and configuration of the node is complete the PA LNA stays off in the BLE Softdevice stack.  Only after a reboot of the node the PA LNA is switched on again in both stacks and then stays on even if we reconnect using the nRF Mesh app and do some reconfiguration.

The PA LNA keeps on running normally in the Mesh stack during all of the above.

Any idea what the issue is and how we can solve this?

Thanks a lot for your support.

Parents Reply Children
Related