Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Hardware
  3. BT832XE how activate RX PA

BT832XE how activate RX PA

Scheduled Pinned Locked Moved Hardware
1 Posts 1 Posters 159 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Marko LORAM Offline
    Marko LORAM Offline
    Marko LORA
    wrote on last edited by Marko LORA
    #1

    Hello

    I try to activate scanning with pa in bt832xe module if i add to code this Fanstel example i lost about 20 dBm of scanning power? if i try TX pa its working and i see we got 20dBm more range.

    #define APP_PA_PIN 17
    #define APP_LNA_PIN 19
    #define APP_CPS_PIN 6
    #define APP_CHL_PIN 8
    #define APP_AMP_PPI_CH_ID_SET 0
    #define APP_AMP_PPI_CH_ID_CLR 1
    #define APP_AMP_GPIOTE_CH_ID 0

    static void pa_lna_setup(void)
    {
    uint32_t err_code;
    nrf_gpio_cfg_output(APP_CPS_PIN);
    nrf_gpio_pin_clear(APP_CPS_PIN); //enable
    //nrf_gpio_pin_set(APP_CPS_PIN); //bypass
    nrf_gpio_cfg_output(APP_CHL_PIN);
    nrf_gpio_pin_set(APP_CHL_PIN);
    nrf_gpio_cfg_output(APP_PA_PIN);
    nrf_gpio_pin_clear(APP_PA_PIN); //
    nrf_gpio_cfg_output(APP_LNA_PIN);
    nrf_gpio_pin_set(APP_LNA_PIN); //

    static ble_opt_t pa_lna_opts = {
        .common_opt = {
            .pa_lna = {
                                                        
                .pa_cfg = {
                    .enable = 1,
                    .active_high = 1,
                    .gpio_pin = APP_PA_PIN
                },
                                                        
                                                                
                .lna_cfg = {
                    .enable = 1,
                    .active_high = 1,
                    .gpio_pin = APP_LNA_PIN
                },
                                                                
                .ppi_ch_id_set = APP_AMP_PPI_CH_ID_SET,
                .ppi_ch_id_clr = APP_AMP_PPI_CH_ID_CLR,
                .gpiote_ch_id = APP_AMP_GPIOTE_CH_ID
            }
        }
    };
                
    NRF_GPIO->DIRSET |= (1 << APP_PA_PIN) | (1 << APP_LNA_PIN) ;
    err_code = sd_ble_opt_set(BLE_COMMON_OPT_PA_LNA, &pa_lna_opts);
    APP_ERROR_CHECK(err_code);
    
    1 Reply Last reply
    0

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    9

    Online

    12.0k

    Users

    11.2k

    Topics

    113.4k

    Posts


    Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • MySensors
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular