background image

BLG840F/X LTE Gateways and BN60 LTE Beacon      

Draft Ver 0.51  May 2019

    { 
        if(gpiote_ch == NULL) 
        { 
            err_code = nrf_drv_gpiote_out_init(gpio_pa_pin, &config); 
            APP_ERROR_CHECK(err_code); 
             
            gpiote_ch = nrf_drv_gpiote_out_task_addr_get(gpio_pa_pin);  
        } 
         
        // PA config 
        opt.common_opt.pa_lna.pa_cfg.active_high = 1;   // Set the pin to be active high 
        opt.common_opt.pa_lna.pa_cfg.enable      = 1;   // Enable toggling 
        opt.common_opt.pa_lna.pa_cfg.gpio_pin    = gpio_pa_pin; // The GPIO pin to toggle tx   
    } 
     
    if(gpio_lna_pin != NULL) 
    { 
        if(gpiote_ch == NULL) 
        { 
            err_code = nrf_drv_gpiote_out_init(gpio_lna_pin, &config); 
            APP_ERROR_CHECK(err_code);         
             
            gpiote_ch = nrf_drv_gpiote_out_task_addr_get(gpio_lna_pin);  
        } 
         
        // LNA config 
        opt.common_opt.pa_lna.lna_cfg.active_high  = 1; // Set the pin to be active high 
        opt.common_opt.pa_lna.lna_cfg.enable       = 1; // Enable toggling 
        opt.common_opt.pa_lna.lna_cfg.gpio_pin     = gpio_lna_pin;  // The GPIO pin to toggle rx 
    } 

    // Common PA/LNA config 
    opt.common_opt.pa_lna.gpiote_ch_id  = (gpiote_ch - NRF_GPIOTE_BASE) >> 2;   // GPIOTE channel used for 
radio pin toggling 
    opt.common_opt.pa_lna.ppi_ch_id_clr = ppi_clr_ch;   // PPI channel used for radio pin clearing 
    opt.common_opt.pa_lna.ppi_ch_id_set = ppi_set_ch;   // PPI channel used for radio pin setting 
     
    err_code = sd_ble_opt_set(BLE_COMMON_OPT_PA_LNA, &opt); 
    APP_ERROR_CHECK(err_code);     

!

16

Содержание BLG840F

Страница 1: ...way size 60x60x22 mm Antenna length 170mm Includes AC adapter USB cable wall mount bracket DK BLG840F Development Kit Pre loaded modem firmware supports both LTE M and NB IoT Pre loaded non secure app...

Страница 2: ...dware Description 4 Development Kit 5 LTE and GPS antennas 5 USB Connectors 5 3 nRF9160 Firmware Development and Testing 6 Set Up for Programming nRF9160 6 Modem Firmware 7 AT Commands 7 nRF Connect 7...

Страница 3: ...nality A broad selection of general interfaces and peripherals and are included on nRF9160 including 12 bit ADC RTC SPI I C I S UARTE PDM and PWM Security is best in class with Arm TrustZone technolog...

Страница 4: ...ting Three antennas are supported Bluetooth Thread Zigbee antenna is integrated GPS antenna is integrated An external LTE antenna is included Additional external hardwire features Two user definable L...

Страница 5: ...routed to the external antenna Production BLG840F includes an external antenna The included antenna should be used for LTE signal reception and transmission testing A GPS antenna and signal amplifier...

Страница 6: ...mware Development and Testing Set Up for Programming nRF9160 Both 4 pin and 10 pin programming interfaces are provided A 10 pin cable is included for connection between DK BLG840F and nRF9160 To progr...

Страница 7: ...on is available at Nordic website https infocenter nordicsemi com topic ref_at_commands REF at_commands intro html cp 2_1 nRF Connect To develop the nRF91 firmware please download the nRF Connect desk...

Страница 8: ...BLG840F X LTE Gateways and BN60 LTE Beacon Draft Ver 0 51 May 2019 Press the reset button SW Insert SIM card obtained from your local carrier into J5 Click on Refresh icon 8...

Страница 9: ...BLG840F X LTE Gateways and BN60 LTE Beacon Draft Ver 0 51 May 2019 Wait for one minute If everything is OK the LTE icon becomes green and the signal strength is shown 9...

Страница 10: ...2019 Modem Firmware Update To update modem firmware follow the steps listed below More instructions are available in README rst inside nrf9160_mdm_dfu zip 1 Install DFU tool nrf9160_mdm_dfu zip 2 Run...

Страница 11: ...BLG840F X LTE Gateways and BN60 LTE Beacon Draft Ver 0 51 May 2019 To install AT command application type command as below 11...

Страница 12: ...2019 4 nRF52840 Firmware Development Set up for Programming BT840F or BT840X Both 10 pin and 4 pin programming interfaces are provided A 10 pin cable is included To program BT840F X module connect Deb...

Страница 13: ...r nordicsemi com index jsp topic com nordic infocenter nrf52 dita nrf52 development nrf52_dev_kit html cp 1_1 Nordic SDK with many example projects https developer nordicsemi com nRF5_SDK Nordic devel...

Страница 14: ...PA_LNA_H__ include ble h include app_error h include nrf_drv_gpiote h include nrf_drv_ppi h void pa_lna_init uint32_t gpio_pa_pin uint32_t gpio_lna_pin endif Main program include pa_lna h define APP_...

Страница 15: ..._t err_code nrf_drv_gpiote_init if err_code NRF_ERROR_INVALID_STATE APP_ERROR_CHECK err_code err_code nrf_drv_ppi_init if err_code MODULE_ALREADY_INITIALIZED APP_ERROR_CHECK err_code nrf_ppi_channel_t...

Страница 16: ...it gpio_lna_pin config APP_ERROR_CHECK err_code gpiote_ch nrf_drv_gpiote_out_task_addr_get gpio_lna_pin LNA config opt common_opt pa_lna lna_cfg active_high 1 Set the pin to be active high opt common_...

Страница 17: ...BLG840F X LTE Gateways and BN60 LTE Beacon Draft Ver 0 51 May 2019 Revision History May 2019 Ver 0 50 Initial draft release 17...

Страница 18: ...com Website www fanstel com Taiwan Fanstel Corp 10F 10 79 Xintai Wu Road Xizhu New Taipei City Taiwan 22101 79 10 10 22101 Tel 886 2 2698 9328 Fax 886 2 2698 4813 Email info fanstel com Website www fa...

Отзывы: