Microchip Technology ATBTLC1000 Series User Manual Download Page 84

AMERICAS

ASIA/PACIFIC

ASIA/PACIFIC

EUROPE

Corporate Office

2355 West Chandler Blvd.
Chandler, AZ 85224-6199
Tel: 480-792-7200
Fax: 480-792-7277
Technical Support:

http://www.microchip.com/support

Web Address:

http://www.microchip.com

Atlanta

Duluth, GA
Tel: 678-957-9614
Fax: 678-957-1455

Austin, TX

Tel: 512-257-3370

Boston

Westborough, MA
Tel: 774-760-0087
Fax: 774-760-0088

Chicago

Itasca, IL
Tel: 630-285-0071
Fax: 630-285-0075

Dallas

Addison, TX
Tel: 972-818-7423
Fax: 972-818-2924

Detroit

Novi, MI
Tel: 248-848-4000

Houston, TX

Tel: 281-894-5983

Indianapolis

Noblesville, IN
Tel: 317-773-8323
Fax: 317-773-5453
Tel: 317-536-2380

Los Angeles

Mission Viejo, CA
Tel: 949-462-9523
Fax: 949-462-9608
Tel: 951-273-7800

Raleigh, NC

Tel: 919-844-7510

New York, NY

Tel: 631-435-6000

San Jose, CA

Tel: 408-735-9110
Tel: 408-436-4270

Canada - Toronto

Tel: 905-695-1980
Fax: 905-695-2078

Australia - Sydney

Tel: 61-2-9868-6733

China - Beijing

Tel: 86-10-8569-7000

China - Chengdu

Tel: 86-28-8665-5511

China - Chongqing

Tel: 86-23-8980-9588

China - Dongguan

Tel: 86-769-8702-9880

China - Guangzhou

Tel: 86-20-8755-8029

China - Hangzhou

Tel: 86-571-8792-8115

China - Hong Kong SAR

Tel: 852-2943-5100

China - Nanjing

Tel: 86-25-8473-2460

China - Qingdao

Tel: 86-532-8502-7355

China - Shanghai

Tel: 86-21-3326-8000

China - Shenyang

Tel: 86-24-2334-2829

China - Shenzhen

Tel: 86-755-8864-2200

China - Suzhou

Tel: 86-186-6233-1526

China - Wuhan

Tel: 86-27-5980-5300

China - Xian

Tel: 86-29-8833-7252

China - Xiamen

Tel: 86-592-2388138

China - Zhuhai

Tel: 86-756-3210040

India - Bangalore

Tel: 91-80-3090-4444

India - New Delhi

Tel: 91-11-4160-8631

India - Pune

Tel: 91-20-4121-0141

Japan - Osaka

Tel: 81-6-6152-7160

Japan - Tokyo

Tel: 81-3-6880- 3770

Korea - Daegu

Tel: 82-53-744-4301

Korea - Seoul

Tel: 82-2-554-7200

Malaysia - Kuala Lumpur

Tel: 60-3-7651-7906

Malaysia - Penang

Tel: 60-4-227-8870

Philippines - Manila

Tel: 63-2-634-9065

Singapore

Tel: 65-6334-8870

Taiwan - Hsin Chu

Tel: 886-3-577-8366

Taiwan - Kaohsiung

Tel: 886-7-213-7830

Taiwan - Taipei

Tel: 886-2-2508-8600

Thailand - Bangkok

Tel: 66-2-694-1351

Vietnam - Ho Chi Minh

Tel: 84-28-5448-2100

Austria - Wels

Tel: 43-7242-2244-39
Fax: 43-7242-2244-393

Denmark - Copenhagen

Tel: 45-4450-2828
Fax: 45-4485-2829

Finland - Espoo

Tel: 358-9-4520-820

France - Paris

Tel: 33-1-69-53-63-20
Fax: 33-1-69-30-90-79

Germany - Garching

Tel: 49-8931-9700

Germany - Haan

Tel: 49-2129-3766400

Germany - Heilbronn

Tel: 49-7131-72400

Germany - Karlsruhe

Tel: 49-721-625370

Germany - Munich

Tel: 49-89-627-144-0
Fax: 49-89-627-144-44

Germany - Rosenheim

Tel: 49-8031-354-560

Israel - Ra’anana

Tel: 972-9-744-7705

Italy - Milan

Tel: 39-0331-742611
Fax: 39-0331-466781

Italy - Padova

Tel: 39-049-7625286

Netherlands - Drunen

Tel: 31-416-690399
Fax: 31-416-690340

Norway - Trondheim

Tel: 47-72884388

Poland - Warsaw

Tel: 48-22-3325737

Romania - Bucharest

Tel: 40-21-407-87-50

Spain - Madrid

Tel: 34-91-708-08-90
Fax: 34-91-708-08-91

Sweden - Gothenberg

Tel: 46-31-704-60-40

Sweden - Stockholm

Tel: 46-8-5090-4654

UK - Wokingham

Tel: 44-118-921-5800
Fax: 44-118-921-5820

Worldwide Sales and Service

©

 2019 Microchip Technology Inc.

 User Guide

DS50002640B-page 84

Summary of Contents for ATBTLC1000 Series

Page 1: ...to be used in conjunction with the ATBTLC1000 MR ZR evaluation boards see Table 2 1 The part number of the BTLC1000 ZR Xplained Pro XPro board is ATBTLC1000ZR XPRO and the part number of the BTLC1000...

Page 2: ...Report mode keyboard Battery Service Application Simple Broadcaster Application Device Information Service Custom Serial Chat CSC Profile Application Device discovery and disconnection Pairing bondin...

Page 3: ...Android iBeacon Application RSSI sampling Beacon advertising iBeacon demo app for iOS Android AltBeacon Application AltBeacon advertising AltBeacon demo app for iOS Android Eddystone Beacon Applicati...

Page 4: ...Status Profile Application 10 1 16 Alert Notification Profile Application 10 1 17 Multi Role Peripheral Multi Connect Application 11 1 18 L2CAP Throughput Application 11 1 19 Health Thermometer Profil...

Page 5: ...BluSDK Software Architecture 77 9 Hardware Flow Control for 4 Wire Mode eFuse Write Procedure 78 10 Document Revision History 81 The Microchip Website 82 Product Change Notification Service 82 Custome...

Page 6: ...Indicator RSSI and transmits the power The Proximity Monitor continuously evaluates the Path Loss and creates an immediate alert in the Proximity Reporter device when the Path Loss crosses threshold v...

Page 7: ...e Alert Notification profile customized by Apple For more details on Alert Notification refer to the Alert Notification Profile Application 1 5 Scan Parameters Service Application The Scan Parameter s...

Page 8: ...services This example application simulates the device battery level from 0 to 100 with the step of 1 every second 1 9 Simple Broadcaster Application The Simple Broadcaster application is used for co...

Page 9: ...he heart rate measurements are sent to the monitor on a value change if the monitor has enabled the notifications The body sensor location is read by the monitor via its body sensor location character...

Page 10: ...ringer setting information of a mobile phone can be received and modified by the phone alert status service The device can also use this profile to configure the ringer status on the mobile phone Phon...

Page 11: ...ct with seven GAP central devices simultaneously The Multi Role Peripheral Multi Connect application initially starts advertising using connectable advertisement packets as a GAP peripheral and if any...

Page 12: ..._APP to send URL and TLM frames This also supports the URL configuration service that enables the beacon to be configured dynamically from a mobile application The Eddystone application is completely...

Page 13: ...ATSAML21 XPRO ATBTLC1000ZR XPRO Atmel Studio v7 0 and IAR SAM D21 ATSAMD21J18A ATBTLC1000 MR ATBTLC1000 ZR ATSAMD21 XPRO ATBTLC1000 XPRO or ATSAMD21 XPRO ATBTLC1000ZR XPRO Atmel Studio v7 0 and IAR S...

Page 14: ...ate samples of ATBTLC1000 MR and ATBTLC1000 ZR kit details displayed in the Atmel Studio Figure 3 1 ATBTLC1000 MR Figure 3 2 ATBTLC1000 ZR 3 2 SAM L21 Xplained Pro Setup The following figure illustrat...

Page 15: ...nfiguration 3 3 SAM D21 Xplained Pro Setup The following figures illustrate the connection between the ATBTLC1000 MR and ATBTLC1000 ZR Xplained Pro Extension Boards connected to the SAM D21 Xplained P...

Page 16: ...r to the preceding figure 3 4 SAM G55 Xplained Pro Setup The following figures illustrate the connection between the ATBTLC1000 MR and ATBTLC1000 ZR Xplained Pro Extension Boards connected to the SAM...

Page 17: ...to the SAM G55 Xplained Pro Note The connection for the SAM 4S Xplained Pro with the ATBTLC1000 ZR Xplained Pro Extension Board is similar to the preceding figure 3 5 SAM 4S Xplained Pro Setup The fol...

Page 18: ...or the console UART and SERCOM 0 to connect to BTLC1000 The connection mapping is shown in the following table Table 3 1 SAMR34 XPRO to BTLC1000ZR XPRO Connection Mapping SAMR34 XPRO FTDI TTL 232R 3V3...

Page 19: ...LE TXD 5 Yellow FTDI Yellow Cable RXD Console UART J200 17 PA23 S5 CONSOLE RXD 4 Orange FTDI Orange Cable TXD Console UART J200 19 GND 1 Black J100 19 GND J200 20 VCC J100 20 Power 1 SERCOM 5 is used...

Page 20: ...the Atmel Studio Release Notes available on the Microchip web page 4 2 Build Procedure Perform the following steps to build an example project This example build procedure is developed using the SAM L...

Page 21: ...the License Agreement checkbox and then click Finish 4 Atmel Studio generates the project files for the selected application example that can be used in the SAM L21 Xplained Pro board 5 Go to Project...

Page 22: ...refer to Hardware Flow Control for 4 wire Mode eFuse Write Procedure The configurations for 4 wire and 6 wire are as follows 6 wire UART_FLOWCONTROL_4WIRE_MODE false UART_FLOWCONTROL_6WIRE_MODE true 4...

Page 23: ...bol based on the following For Android devices TP_ANDROID For iOS devices NTP_ANDROID Note This step is applicable only for the Time Information Profile application Figure 4 5 Configuring the UART Flo...

Page 24: ...ata type configuration is necessary 7 To build the solution go to Build Build Solution Figure 4 6 Building Solution for Selected Application Example 8 The generated solution is downloaded into the SAM...

Page 25: ...n refer to Running the Demo 2 In the case of HID and Broadcaster applications refer to the following configuration sections 4 2 1 HID Mouse and HID Keyboard Application Configuration The user needs to...

Page 26: ..._sdk ble_profiles hid_device The list of macros that must be modified by the user are 1 By default the application supports Report mode If the application requires only Boot mode support the user can...

Page 27: ...dvertisement data types Complete list of 16 bit service class UUIDs Complete local name Appearance The configuration and advertisement data types listed above can be changed by using the macros provid...

Page 28: ...icrocontroller to acts as a Proximity Reporter ANCS Profile Application Supported by the Microchip SmartConnect application for only iPhone devices to act as a Notification Provider Supported by the A...

Page 29: ...ension board and microcontroller to act as Heart Rate Sensor Blood Pressure Profile Application Supported by the Microchip SmartConnect application for iPhone Android devices to act as a Blood Pressur...

Page 30: ...ZR extension board and microcontroller to act as a Receiver Rx Test Board BLE performance analyzer tool connected with target board using COM port 5 2 Console Logging For the purpose of debugging a lo...

Page 31: ...hone application 1 Open the Microchip SmartConnect application and click the Bluetooth Smart in an application dashboard as illustrated in the following figure Figure 5 2 Dashboard of Microchip SmartC...

Page 32: ...Pair The mobile app displays Successful connection upon successful completion of pairing Figure 5 4 Pairing Request 4 On the device side the console displays the successful completion of the pairing...

Page 33: ...ver application demo 1 Follow the steps 1 and 2 from Initializing the Device 2 The device is now ready to be used as an Observer and starts to scan for nearby BLE devices 3 The following figure shows...

Page 34: ...h the connection between the device and mobile phone using the procedure listed in Running the Demo 2 Select the desired service Link Loss or Immediate Alert for alert level characteristics configurat...

Page 35: ...is plotted on the zone radar using RSSI values received from the Proximity Reporter Based on the zone the Proximity Monitor sends the corresponding alert level The console log on the Proximity Reporte...

Page 36: ...ng until the Link Loss pop up appears The console log on the Proximity Reporter displays the corresponding alerts and when Link Loss occurs it reports the disconnection and the on board status LED beh...

Page 37: ...ablished by moving the mobile phone closer to the reporter 6 The Tx Power service is used to retrieve the Tx Power of the Proximity Reporter Click Tx Power service icon in the services screen The Prox...

Page 38: ...ce Address BD in the console window The Proximity Reporter device found during the scan is displayed in the console log window refer to the following figure Select the index number of that device to e...

Page 39: ...e console as shown below Figure 5 14 Proximity Monitor Setting Alert Levels 5 3 4 ANCS Application Perform the following steps to run the ANCS application demo 1 Follow the steps from Initializing the...

Page 40: ...ll alert is indicated on the device side console log window Once the call is terminated the device waits for a new alert to occur as shown in the following screen Figure 5 18 Console Display for Notif...

Page 41: ...vice side as shown in the following figure Figure 5 20 Updated Scan Interval Window Characteristic Value on Device 5 3 6 Time Information Profile Application Perform the following steps to run the Tim...

Page 42: ...Console Display All Supported Characteristic Values 5 3 7 HID Mouse Device Application Perform the following steps to run the HID Mouse Device application demo 1 Follow the steps from Initializing th...

Page 43: ...the user can click on the SW0 button to simulate mouse movement 7 For every press of the button the user can see a corresponding cursor movement on the HID host as described below First 5 button press...

Page 44: ...ice supporting HOGP is used The HOGP profile is natively supported in Android version 4 4 Android KitKat and higher The mobile phone must include a Bluetooth chip set supporting Bluetooth 4 0 or highe...

Page 45: ...pairing and connection procedure is shown in the console log Figure 5 32 HID Keyboard Device Console Log 6 After the device is connected start any notepad application on the mobile phone 7 Click the...

Page 46: ...ications by disabling notifications as shown in the following figure Figure 5 34 Battery Level Characteristic Notification Options 4 On the device side the console log displays the periodic battery le...

Page 47: ...mation service characteristics as shown in the following screen Figure 5 36 Display of Device Information Service Characteristics 4 The user can refresh the page to get the updated characteristic valu...

Page 48: ...ype the text that is to be sent to the remote device and also see the text coming from the remote device 4 Chat text Hello Atmel send to remote device Figure 5 37 Sending Data to Device 5 The user can...

Page 49: ...ponding mobile app The LED on the SAM L21 board starts blinking while sending notifications Notification Enabled Heart Rate 50 bpm RR Values 100 300 msec User Status Idle Heart Rate 51 bpm RR Values 5...

Page 50: ...ted in Running the Demo 2 When the device is connected the application displays Blood Pressure Device Information Service and Generic Information 3 On entering the Blood Pressure service page the mobi...

Page 51: ...pressure values as notifications and then sends the final blood pressure measurements as indication The blood pressure measurements sent by the blood pressure sensor are simulated values The following...

Page 52: ...rocedure listed in Running the Demo 2 After the device is connected the application displays a service page that includes Immediate Alert Service and Generic Information 3 Since the service level conn...

Page 53: ...tus Service page 3 Notifications are automatically enabled and the application reads the values of the Alert Status Ringer Settings and Ringer Control Point characteristics which are updated on the mo...

Page 54: ...n connected the application displays the Alert Notification service page The console log displays the new and unread alert categories Figure 5 48 Alert Notification Categories 3 Enable the notificatio...

Page 55: ...the advertisement data Perform all the steps from Battery Service Application 2 The device starts scanning and displays the devices found as shown in the following figure Figure 5 51 Multi Role Periph...

Page 56: ...ntral sends battery level notifications to the device connected as a GAP Peripheral and also starts advertising with Connectable advertisement packets Figure 5 53 Device acting as Multi Role to accept...

Page 57: ...tion demo 1 Follow the steps 1 and 2 from Initializing the Device for both devices 2 The device initializes and start up 3 The Central device starts scanning and subsequently connects with the desired...

Page 58: ...g steps to run the Health Thermometer Profile application demo 1 Establish the connection between the device and mobile phone using the procedure listed in Running the Demo 2 When paired the applicati...

Page 59: ...ation press the user button SW0 on the SAM L21 The new value is updated in the application 5 On the Microchip SmartConnect application going back to the scanning screen disconnects the device with mob...

Page 60: ...given beacon This mode also shows the corresponding product related information that is configured for this particular beacon device Distance used to indicate the distance between the beacon device an...

Page 61: ...optionally close the message by clicking on close Figure 5 63 Beacon Radar Application in Proximity Mode 5 3 22 AltBeacon Application Perform the following steps to run the AltBeacon application demo...

Page 62: ...Mode 5 In proximity mode the application opens the configured URL whenever the user comes in close proximity to the configured beacon device When the user moves away from the beacon device the configu...

Page 63: ...m the following steps to run the Eddystone Beacon application demo 1 Follow the steps 1 and 2 from Running the Demo 2 The beacon application initialization is displayed on the console Initializing BTL...

Page 64: ...D_APP Namespace ID and Instance ID is shown Figure 5 68 Eddystone Beacons both UID and URL beacons ranged by Microchip SmartConnect Application 5 Click the beacon pop up window to view detailed inform...

Page 65: ...connected the configurable beacon parameters are listed out as shown in Figure 5 71 Figure 5 70 Connecting to Beacon in Configuration Mode Figure 5 71 Beacon Configuration Screen 8 Update the URL Tx P...

Page 66: ...o https google github io physical web The following demo shows how the Eddystone application running on an ATBTLC1000 MR ZR device works seamlessly with the Physical Web Android application 1 Install...

Page 67: ...guration service as shown in the following figure Change the URL value to a different one make sure to use a shortened URL as the size of encoded URL is limited to 17 bytes Google s URL shortener can...

Page 68: ...yzer Tool Window 2 Next initialize the UART Enter the COM port number and press Init UART A successful initialization is indicated by receiving a chip response as shown in the following figure Tip Che...

Page 69: ...t in order not to miss any packets The user must see non zero packets received at the Rx side notifying successful transmission and reception Note Any side can be replaced by standard compliant test e...

Page 70: ...aving both Tx and Rx options Click Start Rx Test and ensure that the packets are transferred for a certain time period from the Tx device Figure 5 80 Starting Rx Test 6 Click Stop Test to display the...

Page 71: ...ant The PER is calculated assuming that the transmitter side sends 1500 packets for testing using R S CBT equipment For peer testing ignore the PER reading ATBTLC1000 Application Demo 2019 Microchip T...

Page 72: ...own in the following figure Figure 6 1 Invoking ASF Wizard 2 In the ASF Wizard window enter BLE in the search box as shown in the following figure Figure 6 2 ASF BLE Services and Components Window 3 S...

Page 73: ...fo_type dis characteristic type to be updated param in info_data data need to be updated return ref AT_BLE_SUCCESS operation completed successfully return ref AT_BLE_FAILURE Generic error at_ble_statu...

Page 74: ...LE_FAILURE Generic error at_ble_status_t dis_primary_service_define dis_gatt_service_handler_t dis_primary_service ATBTLC1000 Adding a BLE Standard Service 2019 Microchip Technology Inc User Guide DS5...

Page 75: ...ristic is readable with authentication and writable with authentication 3 If BLE_PAIR_ENABLE is set false then the security permission of Endpoint characteristic is none 7 3 Endpoint The Endpoint char...

Page 76: ...following figure illustrates the sequence flow diagram of Custom Serial Chat profile Figure 7 1 Sequence Flow Diagram ATBTLC1000 Custom Serial Chat Service Specification 2019 Microchip Technology Inc...

Page 77: ...Architecture for implementing various applications The External host can be supported hardware platforms and IDEs see 2 Supported Hardware Platforms and IDEs Figure 8 1 BluSDK Software Architecture AT...

Page 78: ...board to power it up For the J108 location refer to the following assembly drawing Ensure that the ATBTLC1000 chip enable and Wakeup pin are driven high throughout the eFuse process Figure 9 1 ATBTLC1...

Page 79: ...re flow control eFuse configuration use command EfuseBlockProgram exe v 5 3 The example output shown in following figure is for reading the eFuse Figure 9 4 Reading eFuse Values 6 Writing and verifyin...

Page 80: ...ue eFuse to be configured in Hex v For verification of a programmed block 6 3 To enable the ATBTLC1000 UART hardware flow control 4 wire mode Bank 5 and Block 3 must be written as 10000000 inputs are...

Page 81: ...History Revision Date Section Description B 08 2019 Table 2 1 Updated 3 6 SAM R34 Xplained Pro Setup Added Figure 4 5 Updated A 07 2017 Document Initial Release ATBTLC1000 Document Revision History 20...

Page 82: ...is available through the website at http www microchip com support Microchip Devices Code Protection Feature Note the following details of the code protection feature on Microchip devices Microchip pr...

Page 83: ...lus ProASIC Plus logo Quiet Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProvider Vite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the U S A...

Page 84: ...7252 China Xiamen Tel 86 592 2388138 China Zhuhai Tel 86 756 3210040 India Bangalore Tel 91 80 3090 4444 India New Delhi Tel 91 11 4160 8631 India Pune Tel 91 20 4121 0141 Japan Osaka Tel 81 6 6152 7...

Reviews: