background image

USB840F/M/X BLE 5, Thread, Zigbee Dongles                 

Ver 1.00  May 2019

USB840M Hardware Description 

USB840M has a Bootloader button and an LED indicator. Bootloader button is at one side of enclosure. It is not 
necessary to open the enclosure to load application program.  

USB840M is ultrasound sealed. Programming your own bootloader with private key is possible only in Fanstel 
factory. 

We suggest using USB840F to develop your own bootloader codes. 

USB840M Schematics 

 

!

4

Summary of Contents for USB840 Series

Page 1: ...des are available at http www fanstel com download opensource USB DFU The Bluetooth dongle is supported by an USB DFU Firmware Upgrade feature This allows for in the field updates of application firmware and SoftDevice Module Bluetooth Range Bluetooth ranges are measured between 2 modules not in enclosure Enclosure will reduce Bluetooth range by about 20 More obstruction in typical dongle applicat...

Page 2: ... USB840M Schematics 4 2 Firmware Development and Programming 5 Preloaded Bootloader and Private Key 5 Procedures to Program USB Bootloader 5 BT840F X Hardware Setup for Programming Bootloader 7 USB840M 7 Programming Bootloader 7 Steps to install Fanstel demo HEX codes 9 Firmware to Control Power Amplifier in USB840X 9 Nordic Development Environment 12 Revision History 13 Contact Us 14 2 ...

Page 3: ...ilkscreened on enclosure Operation voltage of blue LED is higher than 1 8V DC output voltage of nRF52840 after chiperase You must set DC output to 3V before using the blue LED You need to open USB840F X enclosure to access bootloader button to load application program Or to reprogram dongle with your own bootloader and private key after chiperase USB840F X Schematics Schematics of USB840F and USB8...

Page 4: ... LED indicator Bootloader button is at one side of enclosure It is not necessary to open the enclosure to load application program USB840M is ultrasound sealed Programming your own bootloader with private key is possible only in Fanstel factory We suggest using USB840F to develop your own bootloader codes USB840M Schematics 4 ...

Page 5: ...62 0xcc 0x05 0x0c 0x39 0x8a 0x46 0x83 0xbb 0x06 0xc4 0x49 0xc9 0x5f 0x82 0x58 0x42 0x4f 0xcd 0x79 0x44 0x9d 0x35 0xc9 0xc2 0x3d 0x68 0xb9 0x45 0xe6 0xdc 0x5d 0x38 0xba 0x6d 0x9c 0xca 0x5e 0x1f 0x87 0x0c 0x9a 0x6b 0xb4 0x08 0xd1 0x89 0x7a 0x32 0x52 0x8b 0xf2 0xb4 0xa6 0x8c 0x28 0xe9 0x22 This private key is published We strongly recommend creating your own bootloader and private key Procedures to P...

Page 6: ...USB840F M X BLE 5 Thread Zigbee Dongles Ver 1 00 May 2019 The following is screenshot for running these commands 6 ...

Page 7: ...on USB840M USB840M enclosure is ultrasound sealed It can not be open without destroying enclosure Programming new bootloader is possible only in factory We recommend using USB840F for development Programming service is available from Fanstel Or you can continue to use Fanstel bootloader and published private key It is not secure You can load your application program by pressing the Bootloader butt...

Page 8: ...is set to 1 8V To use 3 3V VDD change setting in the UICR register The command to write UICR REGOUT0 to output 3 3V supply voltage is nrfjprog memwr 0x10001304 val fffffff5 After programming this bootloader Plug the dongle into the PC USB port You should able to see new device name nRF52 SDFU USB 8 ...

Page 9: ...E blink example If you want to program other applications hold the Bootloader button during reset Dongle is set into USB bootloader mode and red LED on Firmware to Control Power Amplifier in USB840X The following codes are used to set up and control power amplifier SKY66112 in USB840X Header files ifndef PA_LNA_H__ define PA_LNA_H__ include ble h include app_error h include nrf_drv_gpiote h includ...

Page 10: ...e 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 ble_opt_t opt uint32_t gpiote_ch NULL ret_code_t err_code memset opt 0 sizeof ble_opt_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_E...

Page 11: ...ling 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 co...

Page 12: ...infocenter 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 development zone You can search or ask a question there https devzone nordicsemi com tutorials b getting started posts development with gcc and eclipse Programming the Nordic chip Download and ins...

Page 13: ...USB840F M X BLE 5 Thread Zigbee Dongles Ver 1 00 May 2019 Revision History May 2019 Ver 1 00 Initial release 13 ...

Page 14: ...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 fanstel com China Fanstel Technologies Corp 11 Jiale Street Ping Dih Long Gang Shen Zhen GD 518117 泛世康科技 深圳 有限公司 廣東省深圳市龍崗區坪地鎮佳樂街11號 Tel 86 755 8409 0928 Fax 86 755 8409 0973 QQ 3076221086 Email info fanstel com ...

Reviews: