background image

 

 

PAN1740/1740A Bluetooth Module 

 

 

 

 

 

5 Proximity Profile with two PAN1740/1740A USB-Dongles (Example) 

 

 

 

Design Guide Rev. 1.0 

 

Page 16 

 

Proximity Profile with two PAN1740/1740A 
USB-Dongles (Example) 

This example uses Dialog’s SDK version 3.0.2.1. 

 

The following requirement must be met: 

  Microsoft

®

 Visual C++ 2010 Express 

– Freeware Compiler is installed. 

 

 

Use always the latest release from Dialog website. 

 

Receiver Configuration 

1.  Navigate to 

DA14580_SDK_3.0.2.1\dk_apps\keil_projects\proximity\ 

monitor_fe_usb

2.  Download the image 

proximity/monitor_fe_usb

 into the USB-Dongle. 

For details please refer to 

 4 Run the Keil Project (Example)

. 

3.  Open 

Keil Compiler

 and compile this project. 

 

Download the .hex-file 

4.  Start and stop the debug mode or load the .hex-file with the 

Connection Manager

For debug mode using the 

Keil Compiler

, be sure to check the Configure Flash Tool 

setting described in 

 4 Run the Keil Project (Example)

. 

 

 

Summary of Contents for PAN1740

Page 1: ...PAN1740 1740A Bluetooth Low Energy Module Design Guide Rev 1 0 Wireless Modules ...

Page 2: ...mples have the status Engineering Samples This means that the design of this product is not yet concluded Engineering Samples may be partially or fully functional and they may differ from the published Product Specification Engineering Samples are not qualified and they are not to be used for reliability testing or series production Disclaimer The customer acknowledges that samples may deviate fro...

Page 3: ...10 3 4 Placement Recommendations 11 4 Run the Keil Project Example 13 5 Proximity Profile with two PAN1740 1740A USB Dongles Example 16 6 Smart Snippets 19 6 1 Program Structure 19 6 2 Application Demo Proximity Profile 23 7 Dialog Serial Port Service DSPS 25 7 1 Pro Kit with PAN1740 1740A Adapter Board iPod 25 7 2 Two Pro Kits with PAN1740 1740A Adapter Board 28 7 3 Two PAN1740 1740A USB Sticks 2...

Page 4: ...ision History Revision Date Modifications Remarks 1 0 2019 11 07 First version 1 3 Use of Symbols Symbol Description Note Indicates important information for the proper use of the product Non observance can lead to errors Attention Indicates important notes that if not observed can put the product s functionality at risk Tip Indicates useful information designed to facilitate working with the Modu...

Page 5: ...e names messages user input Indicates file names or messages and information displayed on the screen or to be selected or entered by the user Examples pan1760 c contains the actual module initialization The message Failed to save your data is displayed Enter the value Product 123 1 4 Related Documents Please refer to the Panasonic website for more information as well as related documents 10 2 2 Pr...

Page 6: ...th 5 LE It can be used as a stand alone application processor or as a data pump in hosted systems The device is optimized for remote control units RCU requiring support for voice commands and motion gesture recognition Its integrated Audio Unit AU offers easy interface for MEMS microphones over PDM external codecs over PCM I 2 S and a Sample Rate Converter unit The Bluetooth LE firmware includes t...

Page 7: ... PAN1740 1740A Bluetooth Module 2 Overview Design Guide Rev 1 0 Page 7 Block Diagram ...

Page 8: ...ence Design 3 1 USB Dongle 3 1 1 Functionality Atmel µC includes Segger USB to UART programmer serial number on the backside OTP cannot be damaged fail safe development Runs with Dialog s Keil Compiler projects Runs with Connection Manager Can be used for software development on the fly ...

Page 9: ...D3 D9 PA12 PGMD4 D10 PA29 E1 GND_1 F6 PA28 E3 PB9 E4 GNDBU E5 VDDIO_1 F3 V D DCORE_3 B1 PA10 PGMD2 E8 PA9 PGMD1 E9 PA8 PGMD0 E10 PB1 F1 PB12 F2 VDDIO_2 F5 PA31 F4 VDDIO _3 E6 GND_2 E2 PB16 F7 PA6 PGMM2 F8 VDDCORE_4 F 9 PA7 PGMM3 F10 PB11 G1 PB2 G2 PB0 G3 PB13 G4 VDDCORE_5 G5 GN D_ 3 G6 PB15 G7 PA3 PGMNVALID G8 PA5 PGMM1 G9 PA4 PGMM0 G10 VDDCORE_6 H1 PB5 H2 PA27 H3 PA22 PGMD14 H4 PA13 PGMD5 H5 PA15...

Page 10: ... PAN1740 1740A Bluetooth Module 3 Reference Design Design Guide Rev 1 0 Page 10 3 2 2 Placement 3 3 Adapter Board ...

Page 11: ...lication before fixing the design VCC PCI E 64 PCI E 64 VCC VCC 0 1 VCC n c 0 VCC 8 VPP 14 SW_CLK 16 SW_DIO 18 P0 0 12 P0 1 11 P0 2 10 P0 3 9 P0 4 6 P0 5 5 P0 6 4 P0 7 3 P1 0 24 P1 1 23 P1 2 22 P1 3 21 N C 13 RST 2 GND 1 GND 7 GND 15 GND 17 GND 19 GND 20 GND A GND B GND C GND D MOD1 PAN1740 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14 A15 A16 A17 A18 A19 A20 A21 A22 A23 A24 A25 A26 A27 A28 A29 A...

Page 12: ...g conditions must be met Keep this product away from heat Heat is the major cause of decreasing the life of these products Keep this product away from other high frequency circuits To download the design files please refer to the download area on the product website 10 2 2 Product Information ...

Page 13: ... 4 Run the Keil Project Example The following requirements must be met SDK is installed USB Dongle is installed Use always the latest release from Dialog website 1 Open the Dialog SDK 2 Open the proximity project example The project is located in the following SDK folder 3 Open Keil Compiler ...

Page 14: ... Bluetooth Module 4 Run the Keil Project Example Design Guide Rev 1 0 Page 14 4 Configure the Flash Target Flash Configure Flash Tools Choose Settings 5 Click on the tab Debug 1 6 Setup the Port to SW 2 7 Click OK 3 ...

Page 15: ...files 9 Click on the icon Debug to run the debug session The proximity project has now been compiled and downloaded into the RAM of the PAN1740 1740A ETU For more detailed information on project examples please refer to Dialog s download website https www dialogs com Recommended is the proximity example as this is the most common profile ...

Page 16: ...he latest release from Dialog website Receiver Configuration 1 Navigate to DA14580_SDK_3 0 2 1 dk_apps keil_projects proximity monitor_fe_usb 2 Download the image proximity monitor_fe_usb into the USB Dongle For details please refer to 4 Run the Keil Project Example 3 Open Keil Compiler and compile this project Download the hex file 4 Start and stop the debug mode or load the hex file with the Con...

Page 17: ... Determine the correct COM port using Windows Device Manager and enter this port number in the Proximity Host application DOS window Transmitter Configuration 1 Download the image proximity reporter_fe_usb into the USB Dongle 2 Open Keil Compiler and compile this project 3 Start and stop the debug mode or load the hex file with the Connection Manager to download the hex file 4 Open the reporter ho...

Page 18: ... correct COM port using Windows Device Manager and enter this port number in the proximity host application DOS window The receiver side will show the connection status The USB Dongles are connected with the proximity profile For more detailed information on Proximity Profile please refer to Dialog s download website https www dialogs com ...

Page 19: ...a project the virtual COM port and the chip version to be able to control the development kit When the application launches the first time there will be no projects to select Click New to create a new project The name should not contain any spaces or special characters 3 Select the chip version DA14580 and a virtual COM port which is assigned to the connected dialog development kit 4 Click Open to...

Page 20: ...the GPIO pin which enables 6 8 V for OTP programming 6 1 3 UART Booter The UART Booter enables to download application code directly into the RAM of the DA14580 to test its behavior in terms of power consumption for instance 1 Click Browse 1 to select the desired code bin hex ihex 2 Click Download 2 and observe the Log 3 to handle the requested hardware reset 3 Optional Click Start Terminal 4 to r...

Page 21: ...ick Start Measurement example of the Bluetooth scanning process On the right hand side the tool provides the measurement information about Peak Current mA Average Current mA Charge µC and the Sleep Mode of the current measurement In addition the tool provides the following control functionalities Auto Trigger Mode In Auto Trigger Mode the measurement process starts as soon as the current mA exceed...

Page 22: ...he path Dialog Smart Snippets Projects UserProject 6 1 5 Sleep Mode Advisor The tool Sleep Mode Advisor uses the gathered consumption data from the Power Profiler and depicts the power consumption in the sleep modes Deep Sleep and Extended Sleep in a circle diagram The parameters such as battery size to obtain reliable calculation results have to be configured The following figure from the Smart S...

Page 23: ...ogrammer and SPI Flash Programmer functionality 6 1 7 SPotA Software Patch over the Air The tab SPotA can be used to execute software patches from changing a single variable in the code which resides in the SRAM to changing an instruction or data value read from the ROM used for protocol realization Note that a SPotA is only possible with a SPotA capable counterpart 6 2 Application Demo Proximity ...

Page 24: ...etooth Module 6 Smart Snippets Design Guide Rev 1 0 Page 24 Once the devices are connected Smart Snippets enables live evaluation of the application code for instance by measuring the power consumption as depicted below ...

Page 25: ... downloaded from dialogs support website In the following are a few different examples 7 1 Pro Kit with PAN1740 1740A Adapter Board iPod The following example shows an easy application of the SPS with Dialog s Pro Kit with a PAN1740 1740A Adapter Board as device and an iPod running the DSPS application as host to exchange data 7 1 1 Set up the Pro Kit The Pro Kit needs to be set up as device using...

Page 26: ...mplify the connection by using jumpers the following pin assignment is suitable This assignment does only require a simple amendment in the code 7 1 2 Start Dialog Serial Port Service DSPS The following requirements must be met The Pro Kit is set up 1 Open the iOS application DSPS DSPS starts scanning automatically for discoverable devices supporting the Serial Port Service 2 Select the desired de...

Page 27: ...gn Guide Rev 1 0 Page 27 The following window appears Tab Description The tab Console enables to send data ASCII or HEX immediately after typing the data into the field Send Console Mode Data and receives data from the device e g Smart Snippet UART Terminal as shown below ...

Page 28: ...log s Pro Kits with PAN1740 1740A Adapter Boards to emulate a serial port Note the hardware flow control changes jumper or source code required as explained in 7 1 Pro Kit with PAN1740 1740A Adapter Board iPod Set up one Pro Kit with the application software sps_device and the other Pro Kit with the application software sps_host by downloading the hex files onto the Pro Kits The host will be disco...

Page 29: ...cks by using Dialogs Connection Manager or Keil µVision Note that it is not possible to run the sticks with Dialogs Smart Snippets 5 Launch two terminals e g Tera Term with the corresponding COM port and the following settings Baud Rate 115 200 bps Data Bits 8 Stop Bits 1 Parity None Flow Control Xon Xoff 6 Start data exchange The data transmission happens immediately One terminal window will stay...

Page 30: ...1 X1 2 X1 3 X1 4 X1 5 X1 6 X1 7 X1 8 X1 9 C2 C3 C4 C5 C8 C6 1 JP3 2 1 2 JP4 IC3 VCC 20 3V3OUT 17 USBDP 15 USBDM 16 OSCO 28 OSCI 27 GND 7 TXD 1 RXD 5 RTS 3 CTS 11 DTR 2 DSR 9 DCD 10 RI 6 CBUS0 23 CBUS1 22 CBUS2 13 CBUS3 14 CBUS4 12 VCCIO 4 RESET 19 GND 25 GND 18 TEST 26 GND 21 R1 R2 R3 R4 C7 L1 C9 C10 R5 R6 R7 R8 LED1 LED2 1 3 5 2 4 6 7 9 8 10 11 13 15 12 14 16 17 19 18 20 21 23 25 22 24 26 27 29 2...

Page 31: ...ed to result in a significant personal injury to the user or as a critical component in any life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system or to affect its safety or effectiveness Panasonic customers using or selling these products for use in such applications do so at their own risk and agree to fully ind...

Page 32: ...Beacon with connector 1x Dialog Pro Kit 1x Adapter board for flat cable 1x flat cable 1 ENW89846AWKF PAN1740 Daughterboard 1x PAN1740 Daughterboard 1 ENW89846AVKF PAN1740 Dialog Pro Kit 1x Dialog Pro Kit Motherboard 3x PAN1740 Daughterboard 1x USB stick 1x USB cable Battery 1 10 1 2 PAN1740A Variants and Versions Order Number Brand Name Description MOQ ENW89852A1KF 4 PAN1740A PAN1740A Bluetooth Lo...

Page 33: ... PAN1740A Kit 2x USB Stick 1 ENW89852AXKF PAN1740A ETU USB Stick 1 ENW89852AUKF PAN1740A Daughter Board PAN1740A Daughter board 1 ENW89852AVKF PAN1740A Dialog Pro Kit Dialog Pro Kit Motherboard 3x PAN1740A Daughter Board USB Stick USB Cable Battery 1 5 Please refer to the Panasonic website for further information 10 2 2 Product Information ...

Page 34: ...rica visit the Panasonic website Sales Support to find assistance near you at https na industrial panasonic com distributors Please visit the Panasonic Wireless Technical Forum to submit a question at https forum na industrial panasonic com 10 2 2 Product Information Please refer to the Panasonic Wireless Connectivity website for further information on our products and related documents For comple...

Reviews: