background image

 

 

 

PAN1322 

Application Note 

21 

Revision 1.2, 2013-12-18   

Design Guide

 

5

 

Accessory Development Compatible with 
Smart Phones 

When using eUniStone in an accessory the design should contain eUniStone and a host processor that 
controls the module through the UART interface, see

 Figure 6

. The host solution will need a host 

application. This application can run on a micro-controller, FPGA, PC or similar. When writing the host 
application, there are some things that need to be considered. A host solution with eUniStone that is 
communicating with mobile solutions on Android, iPhone and Windows phone 8 will need to take 
specific considerations for the host application depending on Smart Phone/OS. These items will be 
described in this chapter. 

 

Figure 6. Accessory with Mobile App 

 

Accessory: eUn Host pro Host Application 

 

Mobile App: Mobile phone + Mobile application  

 

 

 

 

 

 

 

 

Host Processor & Application 

Accessory 

 

Micro-controller 

 

PC 

 

FPGA 

 

eUniStone 

PBA31309 

 

Android 

iPhon

Windows Phone 8 

Mobile App 

 

 

 

 

 

 

 

 

 

UART 

Summary of Contents for eUniStone

Page 1: ... eUniStone PAN1322 Application Note DesignGuide ...

Page 2: ...tibilities arising from future changes to them Unless otherwise agreed the information here is subject to change without notice Do not finalize a design with this information Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order Copies of documents which have an order number and are referenced in this document or other I...

Page 3: ...tory Revision Number Description Revision Date 1 2 Updated reference schematic Added chapter describing how to change from HCI to SPP chapter 9 4 16 Oct 2013 1 1 Added chapters Application development and FAQ 27 Jun 2013 1 0 New document for eUniStone PBA31309 v1 00 12 Mar 2013 ...

Page 4: ...19 4 1 Command Mode 19 4 2 Stream Mode 19 4 3 Switch from Command Mode to Stream Mode 20 4 4 Switch from Stream Mode to Command Mode 20 5 Accessory Development Compatible with Smart Phones 21 5 1 Accessory 22 5 1 1 Host Processor 22 5 1 2 Host Application 24 5 1 3 Smart Phone compatibility requirements 26 5 1 3 1 Serial Port Profile device A and B 26 5 1 3 2 Security settings Input Output Capabili...

Page 5: ...ding 36 5 2 2 3 Windows Phone Store development and design 36 5 2 2 4 Programming language for Windows Phone 37 5 2 3 iPhone 37 5 2 3 1 Registering service for iPhone 38 5 2 3 2 Bonding 39 5 2 3 3 iOS and MFi license 40 6 Reference Design Schematic 41 7 Layout 44 7 1 Two layer PCB reference design 44 7 2 General four layer PCB design 46 7 2 1 Phase1 Layer Assignment 46 7 2 1 1 Via Holes 47 7 2 2 P...

Page 6: ...rameter 60 9 5 2 Crystal Trimming Procedure 61 9 5 2 1 Crystal Trimming with HCI application for special RF tests 61 9 5 2 2 Crystal Trimming with SPP AT Application 65 10 FAQ 67 10 1 First use of PBA31309 USB dongles 67 10 1 1 Connect the dongle to a USB port on the computer 67 10 1 2 Modify FTDI COM port settings for full throughput 68 10 2 Change UART baud rate of PBA31309 69 10 2 1 Change of b...

Page 7: ...ction to eUniStone 23 Figure 8 General state machine for a Host application as accessory 25 Figure 9 Smart Phone Apps using Serial Port Profile UUID connecting to Serial port accessory 29 Figure 10 eUniStone with three registered services and possible connections to Smart Phones 30 Figure 11 Handling incoming connection depending on service 31 Figure 12 Accessory and Android Smart Phone App using ...

Page 8: ...mming using eBMU SPP Toolbox 66 Figure 29 Finding the COM port in the Device Manager 68 Figure 30 Modify the Latency Timer of the FTDI driver 68 Figure 31 Aardvark drivers installed and visible in the Device Manager 72 Figure 32 Aardvark connect to the PBA31309 USB dongle Black GND Red I2C clock White I2C data 73 Figure 33 PBA31309 powered by an USB hub 74 Tables Table 1 Sending and receiving data...

Page 9: ...n Guide Table 8 Windows Phone bonding with eUniStone 36 Table 9 iPhone bonding with eUniStone 40 Table 10 Default Pin Configuration 42 Table 11 Register for Switching Capacitances 60 Table 12 Changing the baud rate at runtime 70 Table 13 SW update sequence 70 ...

Page 10: ... Control BT3 0 feature of the BT Controller Device A initiating and device B accepting role One point to point link for data transmission octet by octet in stream mode by packets in command mode MTU size 500 bytes Device is visible and connectable until the link has been set up Sniff and Sniff Sub Rating are supported on the link to save current Up to five trusted devices can be stored in EEPROM w...

Page 11: ...1322 Application Note 11 Revision 1 2 2013 12 18 Design Guide UART with HW flow control RTS CTS Use of HW flow control is mandatory UART baud rate may be changed in EEPROM configuration 9 6kbps to 3 25Mbps ...

Page 12: ...n Guide The block diagram of the eUniStone module is shown below EEPROM PMB8754 eBMU 26MHz Crystal Supply regulator Balun filter RF singnal UART Supply I2C interface eUniStone Onboard Antenna LPM GPIO I2 C Figure 1 Simplified Block Diagram of eUniStone Module ...

Page 13: ...ll be tied to VDDUART The low power mode protocol for eUniStone is based on hardware signaling only No AT commands or responses are required for the low power mode protocol The two GPIOs are used to tell the other device host or controller when it may enter low power mode when it should wake up and when it cannot transmit because the other device is in low power mode To allow the eUniStone to ente...

Page 14: ... Host Input P 0 00 Host CTS UARTRTS Figure 3 Host Initiates Low Power Mode Entry and Exit 1 The host allows eUniStone to enter low power mode 2 eUniStone starts to enter low power mode 3 When UARTRTS is high and P0 0 is low eUniStone enters low power mode The host may now enter low power mode by signaling UARTCTS high 4 The host requests the eUniStone to wake up 5 eUniStone wakes up P0 0 goes high...

Page 15: ... the HW flow control a buffer overflow can occur on the UART more probably at higher baud rate but also possible in lower baud rates due to congestion over the air For the LPM protocol UARTCTS shall be high during LPM In some cases the module could send events before the host is completely awake Therefore LPM shall not be used without HW flow control 2 2 EEPROM I2C Interface As shown in the block ...

Page 16: ...ins are not controllable through AT commands They are reserved for use by future applications of the chip 2 4 JTAG Interface The pins used for the JTAG interface TDI TDO TMS TCK and RTCK can also be used as general purpose I Os The operative interface JTAG or GPIO on these pins can be selected through the mode selection pin JTAG When JTAG is connected to low the pins are used for JTAG interface Wh...

Page 17: ...egulator voltage Internal 2 on pin VREG pin No C1 if not used Note The state of pins P0 0 P0 3 is not defined while VDD1 is not supplied The host shall not drive any of these pins before the reference levels are stable 3 1 Power up Sequence The eBMU accesses the EEPROM to load the BD Data and the application data during startup The EEPROM access starts around 22 ms after the RESET pin is pulled hi...

Page 18: ...1 and the output pins would be undefined i e they could drive high or low levels or vary periodically One option is to supply VDDUART and VDD1 by pin C1 VREG which connects to the Internal2 voltage Internal2 is switched off when ONOFF goes low VSUPPLY can remain always on Precondition for this is that the host s UART pins are compatible with the logical levels for Internal2 driven pins indicated i...

Page 19: ...pecification 2 Sending and receiving data in command mode is normally used when transmitting burst and packetized data Table 1 Sending and receiving data in command mode Direction Command Response Note Host eUniStone AT JSDA 008 DataSent cr lf Data that shall be sent Host eUniStone OK cr lf Positive response that the data was sent Host eUniStone RDAI 012 DataReceived cr lf Data received 4 2 Stream...

Page 20: ...isconnect Indication RDII to the host At that instant Any UART data is flushed and the device switches back to command mode automatically The host has to wait during the supervision timeout of 20 s As soon as the UART buffer is full it is not possible to leave stream mode or to disconnect the link locally before the supervision timeout expires There are two ways to detect a disconnection in stream...

Page 21: ...hen writing the host application there are some things that need to be considered A host solution with eUniStone that is communicating with mobile solutions on Android iPhone and Windows phone 8 will need to take specific considerations for the host application depending on Smart Phone OS These items will be described in this chapter Figure 6 Accessory with Mobile App Accessory eUniStone Host proc...

Page 22: ... of a bigger system Typical usages for an accessory are Sensor Display Remote control Display with buttons Keypad Handheld terminal The eUniStone is specially made to support all these types of accessories applications using the Serial Port Profile SPP over Bluetooth 5 1 1 Host Processor The host processor in an accessory using eUniStone may be a really light micro controller FPGA or similar but a...

Page 23: ... 12 18 Design Guide Figure 7 Host processor with peripheral device and UART connection to eUniStone Host Processor I2 C bus SPP AT command interface UART BT STACK EEPROM External chip AT command interface Host application Ext ctrl ext bus eUniStone ...

Page 24: ... be around Host application Flash 4 8KB Application RAM 4 8KB Data buffering RAM 1 2KB Of course the complete functionality decides the final requirements for the host processor in regard to handle the eUniStone 5 1 2 Host Application The focus of this part is to provide information on how to control initialize and configure eUniStone to make the accessory working with major Smart Phones To design...

Page 25: ...er of the Host application to make an input so that it connects to another device This state could also be very short if the host application is configured to directly try to and successfully connects to another device 4 Connected requires that the host application is able to handle transmit and receive of data to and from the remote device e g a mobile phone Disconnect is an intermediate state wh...

Page 26: ... compatibility requirements depending on Smart Phone which is covered in the remainder of this chapter Be a connectable device B or connecting device A Make the right initialization configuration Use correct security settings Use correct UUID Use CoD as needed Register correct services Need for certain licensees for iPhone compatibility The above are the main considerations and specific configurat...

Page 27: ...ritten for a device B since it will be easier for the connecting device to find it It s also recommended to do such settings on a device A since after a device A has connected to a remote device the remote device might do a remote name request and add the name to its device list 5 1 3 2 Security settings Input Output Capabilities Security settings are important and can seem complex to use It is ho...

Page 28: ...istering service UUID and CoD To be able to use eUniStone in an accessory in combination with a Smart Phone App specific Universally Unique Identifier UUID and Class of Device CoD are needed UUID CoD and also service name and port number is registered in eUniStone with the command AT JRLS The UUID s that can be used shall either be one containing the Serial Port Profile or a random UUID which is s...

Page 29: ...elow example and works with all three Smart Phones in this document and it is iPhone requiring it for Accessories In the following examples the service name is Serial port and is set to port 0x01 possible values are 0x01 0x30 furthermore it starts with length field for UUID and service name 1 Registering a service with short UUID AT JRLS 04 11 1101 Serial port 01 240704 2 Registering a service wit...

Page 30: ...B34FB Serial port 1 01 240704 2 AT JRLS 32 13 00000000DECAFADEDECADEAFDECACAFF Serial port 2 02 240704 3 AT JRLS 32 13 D2CA6960F6A042308BE980CF63B25BAF Serial port 3 03 240704 Figure 10 eUniStone with three registered services and possible connections to Smart Phones The figure above shows how the various Smart Phones are able to connect or not connect to an accessory using eUniStone with three re...

Page 31: ...ecific it can take a proprietary actions that only is used together with remote devices that has the same UUID 5 1 3 5 Smart Phone connecting to Accessory The accessory is normally a device B and the general SPP AT sequence for enabling the eUniStone to be connected by a Smart Phone is Table 6 Accessory eUniStone set to connectable device B Step Direction Command Response Note 1 Host AT JRES Reset...

Page 32: ... Go to the Bluetooth settings or start the application 2 Enable Bluetooth and search for nearby devices 3 Choose the correct device On Accessory and phone 4 A passkey will be displayed on both the accessory and on the phone Compare them and if they are equal accept the connection on both accessory and phone The procedure will vary and depend on the UUID CoD and Input Output Capabilities set with t...

Page 33: ...is registered with the command AT JRLS and the values shall be written to eUniStone as initialization The below example should work with most Android Smart Phones The service is called Serial port and set to port 0x01 The name and port number can be chosen to be different to the example Registering a UUID containing the serial port profile AT JRLS 32 11 0000110100001000800000805F9B34FB Serial port...

Page 34: ...he security for eUniStone variable fixed PIN and the Input and Output Capabilities The Input and Output Capabilities are set according to the capabilities of the accessory Depending on which capabilities are set the bonding with Android Smart Phones or a specific App has minor differences The below tables show expected results Table 7 Android Smart Phone bonding with eUniStone Android eUniStone In...

Page 35: ... Android Smart Phones To publish or download Android Apps the following sites are normally used https play google com store and https play google com apps publish However it is possible to download Android Apps directly from other sources as well Developing applications for Android phones can be done using e g Eclipse 11 Information on how to download and install the Android SDK is found on http d...

Page 36: ... 0 Just Works with no user input on either side 2 1 0 1 Just Works with no user input on either side 2 1 1 0 Just Works with no user input on either side 2 1 1 1 Pass key is shown on both eUniStone and phone Bonding is accepted on both eUniStone and phone 2 1 2 0 Pass key is shown on phone Bonding is accepted by pass key input on eUniStone 2 1 2 1 Pass key is shown on both eUniStone and phone Bond...

Page 37: ...for App to device add the capabilities ID_CAP_PROXIMITY and ID_CAP_NETWORKING If you don t add these you will get an exception Connecting to a device Code snippet When you get paired device you get information like Hostname address etc 5 2 3 iPhone This chapter describes how the eUniStone PBA31309 Bluetooth module may support communication with the Apple iPhone iPad iPod touch products The iPhone ...

Page 38: ... iPhone The iPhone will require eUniStone to use the UUID 0x00000000DECAFADEDECADEAFDECACAFF and CoD 0x240704 or similar see below In the below string the above UUID and CoD is used when registering the service in eUniStone AT JRLS 32 11 00000000DECAFADEDECADEAFDECACAFF Serial port 01 240704 The eUniStone Class of Device CoD set by the AT command AT JRLS shall be set to a specific value in order t...

Page 39: ...th org Additionally when an iPhone application is connecting to eUniStone the iAP authentication needs to be handled by the accessory Full insight in iPhone accessory is available to MFi licensees 5 2 3 2 Bonding Bonding an iPhone with eUniStone is always performed using the Bluetooth settings in the iPhone After bonding it is possible to start an iPhone application and connect to eUniStone When t...

Page 40: ...t involve the complete iAP authentication which is also required when an application running on the iPhone connects to the Accessory eUniStone 5 2 3 3 iOS and MFi license To be able to develop applications for iOS you need to become an Apple developer Information about the program and registration as Apple Developer can be found on https developer apple com devcenter ios App development is done us...

Page 41: ...I application for RF Testing The line UARTRXD and UARTCTS must remain high during low power mode If the host cannot drive them all the time a pull up might be needed For debugging test points on the UART lines can be helpful If JTAG interface is not used JTAG pin can be kept open internal pull up To enable JTAG interface a 4 7 k pull down resistor must be put on this pin RESET pin shall be driven ...

Page 42: ...can be needed to keep level in LPM A8 P1 5 CLK32 Internal LPO is used this pin can be left open B9 P0 15 SLEEPX Not used Leave open E5 P0 1 Indicating connection status when configured as an output pin B5 ONOFF If not used connect to VSUPPLY 2 A3 RESET Shall be controlled by host I O JTAG C3 JTAG If JTAG interface is not used this pin can be kept high otherwise a 4 7 k pull down resistor shall be ...

Page 43: ... PAN1322 Application Note 43 Revision 1 2 2013 12 18 Design Guide Figure 13 Reference Design ...

Page 44: ...dule with the antenna facing the edge of the PCB Do not place the other sides of the module too close to the edge of the PCB Min 40mm 15 6 3 00 8 7 Min 15mm Min 15mm Restricted Area No copper in any layer 5 00 Dimensions are in mm Use a Ground plane in the area surrounding the PBA31309 module wherever possible If possible place PBA31309 in the center of the main PCB Place PBA31309 at the edge of t...

Page 45: ... spread all over the top layer making a good ground between all components The power feeding lines have been made wider than the signal lines The signals are routed to through via which are the cheapest kind of via and possible to use since there is enough space between the pads of the module Figure 16 Bottom layer from above and drill holes of the eUniStone USB Dongle Most of the signal lines are...

Page 46: ... can be divided into the following phases Phase 1 layers assignment Phase 2 components placement Phase 3 routing 7 2 1 Phase1 Layer Assignment A correct assignment of the layers may avoid any RF issues And can make the routing a lot easier Figure 18 shows the layers of a general four layer design In this case because the number of connections is very small no special care is required in this phase...

Page 47: ...the middle Figure 19 Via Types Micro via they have a diameter between 50 m and 100 m and can be placed directly into the pads of BGA and similar components The availability of this technology must be verified with the manufacturing factory Because of the small diameter much PCB s space can be saved and power and ground planes are less discontinuous Buried via they are connecting two or more inner ...

Page 48: ...timately might affect all the performances of the IC 7 2 2 Phase 2 Components Placement Placement of the components must be done following the order 1 Place the connectors in the most rational way considering power distribution and interfaces 2 Place the eUniStone module with the antenna on the edge of the PCB Place all the other components in order to minimize track length and if possible keeping...

Page 49: ...d Ideal would be to connect each pin with the ground underneath through via directly on pin In case this cannot be done a trade off must be found c Remove dead copper Small ground filling area not connect to ground through via can have unwanted effects They can behave as antennas or like a coupling filter or other kind of unwished effects For this reasons if it is not possible to connect to ground...

Page 50: ... 50 ohm impedance has been matched on the module to have good efficiency and enabling the full power of the Bluetooth chip The matching also assures that the best receiver sensitivity is achieved Even if the antenna is onboard of the module there are some considerations to make for the PCB layout see chapter 7 Figure 20 Radiation patterns of the built in antenna ...

Page 51: ...ol shall have version number 2 1 1 0 or later 9 1 3 HCI Lite HCI Lite is used together with eUniStone when it has been loaded with Host Controller Interface software HCI_TL_ROM_115kbaud eep The purpose of the tool is to use it for advanced RF tests A range of HCI commands is implemented in the tool to be able to set up eUniStone in different RF modes For testing of the PBA31309 with SPP AT SW 3 x ...

Page 52: ...using the SPP Toolbox After attaching the device to the computer and opening COM port follow the below sequence 1 Enable production mode 2 Enable Device Under Test 3 Read BD data Note the BD address to be used for the connection of the CBT 4 Search and connect with the CBT Figure 21 Setup of Device Under Test with AT commands When the CBT is connected to eUniStone all control of the RF measurement...

Page 53: ...ne module Note Once the HCI application has been loaded to the module it cannot be reprogrammed over the UART anymore An I2C programmer is needed to restore the module with the standard SPP application The HCI application can be downloaded in 2 ways 1 Via UART interface only a Open eBMU SPP Toolbox and connect to device b Click Testing panel c Click the button Read BD data d Make a note of the BD_...

Page 54: ...ructions in 4 When the HCI application is downloaded into EEPROM issue a HW reset to load the HCI application in eUniStone Note It is important to read out and note the OSC_Trim value before download of the HCI application Since the download procedure will overwrite the calibrated OSC_Trim value the original OSC_Trim must be written back into the EEPROM after the download The HCI Lite tool provide...

Page 55: ...g from HCI application to SPP AT application can be done in a few steps without using Aardvark The complete sequence consists of three major steps 1 Overwriting the EEPROM using HCI Lite described in chapter 9 4 1 2 Loading latest SPP SW version using SPP Toolbox described in chapter 9 4 2 3 Writing back BD address and oscillator trim value using SPP Toolbox described in chapter 9 4 3 9 4 1 Restor...

Page 56: ... the command field then click Send 3 Once more click on Send custom command clear the command field and paste 018ffcae90010800000000a600000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000000 00000000000000000...

Page 57: ...322 Application Note 57 Revision 1 2 2013 12 18 Design Guide 4 Make a HW reset of the board After the HW reset the module will start up running the SPP AT application close HCI Lite and start the SPP Toolbox ...

Page 58: ...notice that the SW version is 3 0 which is the default SW in the ROM of the chip Figure 24 Downloading latest SPP AT application Sequence 1 Start SPP Toolbox open the COM port and make a HW reset ROK is returned 2 Read SW version 30 is returned 3 Download the latest SPP AT application by first clicking Production mode and then Download Image 4 Choose the latest available SPP AT application file an...

Page 59: ...cation is used by Read Revision Information 7 Enable production mode by clicking Production mode 8 Fill in BD address BD_ADDR and oscillator trim value Osc_Trim as in chapter 9 3 9 Click the Send button to write the values 10 Make a HW reset and make sure that ROK is returned At this point the full restore is performed You can check that the correct SPP AT application version BD address and oscill...

Page 60: ...0 Bits long and the bits 0 to 5 switch binary weighted capacitances from 1xLSB to 32xLSB where LSB is 40fF The bits 6 to 9 all have the same value of 2 56 pF each which is 64xLSB each The following table shows the capacitance switched by each bit and how to get the value in hexadecimal notation Table 11 Register for Switching Capacitances 2560 2560 2560 2560 1280 640 320 160 80 40 Cap in fF 9 8 7 ...

Page 61: ... a sufficient precision for example the Agilent 53131A Universal counter Figure 25 Typical 32MHz frequency offset in PPM versus OSC_Trim value 9 5 2 1 Crystal Trimming with HCI application for special RF tests After the download of the HCI application the calibrated OSC_Trim value is overwritten with the default value If the calibrated value has not been noted before the download an additional cry...

Page 62: ...e HCI_Lite tool See in Figure 26 a Select P0 1 or P0 8 pin for output of the 32 MHz clock b Click Open port for 32 MHz 2 Connect the frequency counter to the appropriate test pin P0 1 or P0 8 3 The 32 MHz clock signal can now be measured by the frequency counter 4 Write the trimming value to the Osc_Trim register through the HCI Lite tool The start value is 0x19F See in Figure 26 a Enter the Osc_T...

Page 63: ...the capacitance array 6 When the desired accuracy of the 32 MHz clock is obtained store the corresponding trim value to the parameter Osc_Trim of the BD data This can be done by clicking the button Write BD Data in HCI Lite tool In the pop up window only change the parameter OSC_Trim to the calibrated value and give the module an individual BD_ADDR See in Figure 27 7 Issue a HW reset of the device...

Page 64: ... PAN1322 Application Note 64 Revision 1 2 2013 12 18 Design Guide Figure 27 Intel Write BD Data Window ...

Page 65: ...ernal reference clock available at the test point 32 MHz generated by the 26 MHz crystal oscillator AT JCAC osc_trim_value GPIO Where a Osc_trim_value Range from 0x000 to 0x3FF b GPIO 0x0002 to output 32 MHz on pin P0 1 0x0100 to output 32 MHz on pin P0 8 4 Measure the frequency of the signal on pin P0 1 P0 8 with the counter 5 Trim the 32 MHz frequency to be within 2ppm 64 Hz of accuracy changing...

Page 66: ... PAN1322 Application Note 66 Revision 1 2 2013 12 18 Design Guide Figure 28 Crystal Trimming using eBMU SPP Toolbox 2 4 6 ...

Page 67: ... will automatically start to install the drivers for the FTDI chip If you have had any other device connected that use FTDI the installation should be finalized directly and a new COM port should be available in the device manager If you have not had any FTDI device connected to the computer before it might take some time for the computer to find the driver The computer might also search Microsoft...

Page 68: ...river is set to 16ms as default after installing the FTDI driver To get full throughput with higher baud rates than 115200 bit s this parameter need to be changed to 1ms This is done by right clicking on the COM port in the device manager and choosing Properties See the below sequence and Figure 30 Figure 30 Modify the Latency Timer of the FTDI driver 1 On the properties dialogue click on tab Port...

Page 69: ...se Description 1 AT JRES Send software Reset to the module ROK Make sure the module respond with ROK 2 AT JRBD Read BD data RRBDRES 083C0E19030000008A0080BA8C01BF020 67E981F598740FA1218800003040506440C10020400 01102404F2F8FE04B90006000000000000000000 The module will respond with the complete BD data UART baud rate is marked with bold 3 AT JPRO 1 Enable production mode OK The modules shall response...

Page 70: ...process The software update can be performed by either the SPP Toolbox or with a customer specific tool or application In the below table you will find the needed commands and the order of them Table 13 SW update sequence Step Command response Description 1 AT JRES Send software Reset to the module ROK Make sure the module respond with ROK 2 AT JRBD Read BD data RRBDRES 083C0E19030000008A0080BA8C0...

Page 71: ...D data with the address and oscillator trim value read out in step 2 OK The modules should response with OK 9 AT JRES Send software Reset to the module to make it use the written BD data ROK Make sure the module respond with ROK 10 4 Aardvark and eeprog exe Aardvark is an I2C SPI host adapter from Total Phase Aardvark can be used to update or restore software in the EEPROM of PBA31309 Eeprog exe a...

Page 72: ... PAN1322 Application Note 72 Revision 1 2 2013 12 18 Design Guide Figure 31 Aardvark drivers installed and visible in the Device Manager ...

Page 73: ... eeprox exe for downloading software the following syntax is used C Aardvark eeprog exe aa w 0 binary_file eep aa Use Aardvark I2C host adapter to access EEPROM w Write to EEPROM 0 Address in the EEPROM where Aardvark shall start to write Binary_file eep The file that shall be written 10 4 4 Aardvark problems The Aardvark device use a similar FTDI chip as is used on the PBA31309 USB dongles In som...

Page 74: ...ed to Also does the USB hub need to be powered so that it can power PBA31309 10 5 UUID CoD Please see chapter 5 1 3 3 for general details about UUID and Class of Device CoD See chapter 5 2 for details about Android iPhone and Windows Phone 8 10 6 Low Power Mode LPM control Please see chapter 2 1 1 for details about LPM control of eUniStone 10 7 Bluetooth Qualification and Regulatory Certification ...

Page 75: ... Products R6 https developer apple com hardwaredriver s BluetoothDesignGuidelines pdf 7 Mfi Accessory Firmware Specification R46 Available under Mfi license at https mfi apple com 8 Mfi Accessory Hardware Specification R9 Available under Mfi license at https mfi apple com 9 iPod Authentication Coprocessor 2 0C Specification R1 Available under Mfi license at https mfi apple com 10 Qt Project http q...

Reviews: