Table of Contents

Advertisement

Quick Links

ANR005 P
-II
ROTEUS
A
DVANCED DEVELOPER GUIDE
V
1.1
ERSION
J
18, 2019
UNE

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ANR005 Proteus-II and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Wurth Elektronik ANR005 Proteus-II

  • Page 1 ANR005 P ROTEUS DVANCED DEVELOPER GUIDE ERSION 18, 2019...
  • Page 2 The content of this document is property of Würth Elektronik eiSos and con- tains confidential information. It is not intended to be distributed to any third party without the written consent of Würth Elektronik eiSos.
  • Page 3: Revision History

    • New corporate design and structure November 1.0.0 2018 • Updated chapter for custom firmware development • Updated file name to new AppNote name structure. Updated important notes, legal 1.0.0 June 2019 notice & license terms chapters. ANR005 Proteus-II version 1.1 © June 2019 www.we-online.com/wireless-connectivity...
  • Page 4 Operating system used by the nRF52 chip. Universal Asynchronous UART Allows the serial communication with the module. Receiver Transmitter All numbers beginning with 0x are hexadecimal [HEX] 0xhh Hexadecimal numbers. All other numbers are decimal, unless stated otherwise. ANR005 Proteus-II version 1.1 © June 2019 www.we-online.com/wireless-connectivity...
  • Page 5: Table Of Contents

    Exclusion of liability ....... . Suitability in customer applications ..... . . ANR005 Proteus-II version 1.1 © June 2019...
  • Page 6 Miscellaneous ........ANR005 Proteus-II version 1.1 ©...
  • Page 7: Introduction

    The Proteus-II module ships with the so called AMBER SPP-like (Serial Port Profile) profile created based on the Generic Attribute profile (GATT). This profile aims at providing a BLE based wireless replacement to a serial cable connection. ANR005 Proteus-II version 1.1 © June 2019 www.we-online.com/wireless-connectivity...
  • Page 8: Amber Spp-Like Profile

    – Peripheral requests for connection parameters update if central has differing con- nection parameters * Connection parameters update (initial): 5s * Connection parameters update (periodic): 10s * Connection parameters update counter before connection shut down: 3 ANR005 Proteus-II version 1.1 © June 2019 www.we-online.com/wireless-connectivity...
  • Page 9: Generic Attribute Profile (Gatt)

    Proteus-II base 6E400000-C352-11E5-953D-0002A5D5C51B Proteus-II primary service 0x0001 6E400001-C352-11E5-953D-0002A5D5C51B TX_CHARACTERISTIC 0x0002 6E400002-C352-11E5-953D-0002A5D5C51B RX_CHARACTERISTIC 0x0003 6E400003-C352-11E5-953D-0002A5D5C51B By means of the user setting RF_SPPBaseUUID the base UUID can be adapted to generate a custom profile. ANR005 Proteus-II version 1.1 © June 2019 www.we-online.com/wireless-connectivity...
  • Page 10: Primary Service

    To identify the type of data transmitted via BLE, we introduced a 1 Byte packet header. Thus, the standard BLE payload has to match the following format to be understood by the Proteus-II: ANR005 Proteus-II version 1.1 © June 2019 www.we-online.com/wireless-connectivity...
  • Page 11: Advertising Packet Content

    Proteus-II scan response packet contains the following data: • Manufacturer data (up to 20 Bytes) in RF-packet format (see Table 1 ) using the com- pany identifier. This manufacturer data is used to realize the Beacon feature. ANR005 Proteus-II version 1.1 © June 2019 www.we-online.com/wireless-connectivity...
  • Page 12: App Development

    (no in/out capabilities, no mitm) after the connection step was run. Here a MTU request is necessary again to allow a higher payload size. After the discovery of the characteristics, the notification of the RX characteristic has to be enabled. ANR005 Proteus-II version 1.1 © June 2019 www.we-online.com/wireless-connectivity...
  • Page 13: Static Pass Key Pairing

    (app). Afterwards a MTU request is necessary again to allow a higher payload size. After the discovery of the characteristics, the notification of the RX characteristic has to be enabled. ANR005 Proteus-II version 1.1 © June 2019 www.we-online.com/wireless-connectivity...
  • Page 14: Static Pass Key Pairing Enabled

    Figure 3: Static pass key pairing enabled ANR005 Proteus-II version 1.1 © June 2019 www.we-online.com/wireless-connectivity...
  • Page 15: Bonding Development Hints

    ( m R X C h a r a c t e r i s t i c == n u l l ) r e t u r n ; ANR005 Proteus-II version 1.1 © June 2019...
  • Page 16 Logger . w( getLogSession ( ) , " I n v a l i d data r e c e i v e d : \ " " + data + " \ " " ) ; . . . Code 4: Remove packet header on receiver side ANR005 Proteus-II version 1.1 © June 2019 www.we-online.com/wireless-connectivity...
  • Page 17: Custom Firmware Development

    Proteus-II standard firmware to the customer’s need or com- pletely develop a new firmware from scratch (see chapter 6.1 ). Figure 4: Options for running the Proteus-II with standard or custom firmware ANR005 Proteus-II version 1.1 © June 2019 www.we-online.com/wireless-connectivity...
  • Page 18: Custom Firmware Services Of Würth Elektronik Eisos

    (NFC), external low frequency quartz crystal XL or analog input (AIN) the respective pins have to be used. Pad Name Pad Name P0.09/NFC1 2, 17 P0.00/XL1 SWDCLK P0.01/XL2 SWDIO P0.02/AIN0 P0.21/Reset P0.03/AIN1 P0.05/AIN3 P0.04/AIN2 P0.28/AIN4 P0.10/NFC2 P0.29/AIN5 ANR005 Proteus-II version 1.1 © June 2019 www.we-online.com/wireless-connectivity...
  • Page 19 The Proteus-II module contains a dedicated RF clock (HFCLK). The Proteus-II does not contain a dedicated low frequency clock (LFCLK). Thus custom firmware must use the internal RC-oscillator as long as no external clock crystal is connected to the ANR005 Proteus-II version 1.1 © June 2019 www.we-online.com/wireless-connectivity...
  • Page 20 The unique serial number (used for tracing and the generation of the Proteus-II BT- MAC) is placed in the user information configuration register (UICR->Customer[0]) and will be removed by flashing a customer firmware onto the SoC. ANR005 Proteus-II version 1.1 © June 2019 www.we-online.com/wireless-connectivity...
  • Page 21: How To Adapt Nordic Semiconductor Sdk Examples To Run On The Proteus-Ii Hardware

    # e r r o r " Board i s n o t d e f i n e d " # e n d i f If you have a Nordic evaluation board available, please check that the original example without modifications runs successfully on the evaluation board. ANR005 Proteus-II version 1.1 © June 2019 www.we-online.com/wireless-connectivity...
  • Page 22 / / B u t t o n s d e f i n i t i o n s f o r PROTEUSII # define BUTTONS_NUMBER 1 # define BUTTONS_LIST { NRF_PIN_SLEEP } # define BSP_BUTTON_0 NRF_PIN_SLEEP ANR005 Proteus-II version 1.1 © June 2019 www.we-online.com/wireless-connectivity...
  • Page 23: Firmware Development Hints

    In this case, all chip states are simulated. Please repower the chip to be in normal mode to test modes like the system off mode (especially when you want to measure currents of a low power mode). ANR005 Proteus-II version 1.1 © June 2019 www.we-online.com/wireless-connectivity...
  • Page 24 • The NFC pins are optimized for NFC function and can lead to leakage current when not used properly in GPIO mode. • Checkout the errata sheet of the nRF52 SoC to have an overview of known issues with the nRF52 SoC and possible software workarounds. ANR005 Proteus-II version 1.1 © June 2019 www.we-online.com/wireless-connectivity...
  • Page 25: Important Notes

    Necessary information is available on request. In this case, the field sales engineer or the internal sales person in charge should be contacted who will be happy to support in this matter. ANR005 Proteus-II version 1.1 © June 2019 www.we-online.com/wireless-connectivity...
  • Page 26: Product Improvements

    7.8 General terms and conditions Unless otherwise agreed in individual contracts, all orders are subject to the current ver- sion of the "General Terms and Conditions of Würth Elektronik eiSos Group", last version available at www.we-online.com. ANR005 Proteus-II version 1.1 © June 2019 www.we-online.com/wireless-connectivity...
  • Page 27: Legal Notice

    Würth Elektronik eiSos GmbH & Co. KG products have been designed and developed for usage in general electronic equipment only. This product is not authorized for use in equip- ment where a higher safety standard and reliability standard is especially required or where ANR005 Proteus-II version 1.1 © June 2019 www.we-online.com/wireless-connectivity...
  • Page 28: Anr005 Proteus-Ii Version 1.1 © June

    By using Würth Elektronik eiSos GmbH & Co. KG products, the customer agrees to these terms and conditions. ANR005 Proteus-II version 1.1 © June 2019 www.we-online.com/wireless-connectivity...
  • Page 29: License Terms

    (automotive control, train control, ship control), transportation signal, disaster prevention, medical, public information network etc. You shall inform Würth Elektronik eiSos about the intent of such usage before ANR005 Proteus-II version 1.1 © June 2019 www.we-online.com/wireless-connectivity...
  • Page 30: Ownership

    PORATED FIRMWARE IS USED. INFORMATION PUBLISHED BY WÜRTH ELEKTRONIK EISOS REGARDING THIRD-PARTY PRODUCTS OR SERVICES DOES NOT CONSTI- TUTE A LICENSE FROM WÜRTH ELEKTRONIK EISOS TO USE SUCH PRODUCTS OR SERVICES OR A WARRANTY OR ENDORSEMENT THEREOF. ANR005 Proteus-II version 1.1 © June 2019 www.we-online.com/wireless-connectivity...
  • Page 31: Limitation Of Liability

    By ordering a wireless connectivity product, you accept this license terms in all terms. ANR005 Proteus-II version 1.1 © June 2019 www.we-online.com/wireless-connectivity...
  • Page 32 RF-packet format ........ANR005 Proteus-II version 1.1 ©...
  • Page 33 more than you expect Monitoring Automated Meter Internet & Control Reading of Things Contact: Würth Elektronik eiSos GmbH & Co. KG Division Wireless Connectivity & Sensors Rudi-Schillings-Str. 31 54296 Trier Germany Tel.: +49 651 99355-0 Fax.: +49 651 99355-69 www.we-online.com/wireless-connectivity...

Table of Contents