Home

Bluetooth® Classic BT 3.0 modules

image

Contents

1. Radio WakeUp When DSM is activated the module is still able to accept a connection request from a remote device If a connection request is received the module goes awake and return to sleep when the connection is closed Ly life augmented Sniff mode To enter in sniff mode Deep sleep variable must be configured as per following table e For example the following variable configuration set GPIO3 to be used with this purpose AT AB config GPIO_HostWakeUp 3 AT AB config GPIO_HostKeepAwake 3 AT AB config HostDeepSleepEnable true The DSM will be enabled as long as the GPIO3 is maintained low To enter in sniff mode once deep sleep mode is active the variable allowsniff must be true The sniff can be automatic or enabled via Al command 1 Automatic the variable autosniff is set true 2 Manual the module is set into sniff mode using the command AT AB sniff Bdaddress of the device to be placed into Sniff Mode Ly life augmented Power Mode Figures ACTIVE MODE Configuration Summary 30 mA TX AT AB HostDeepSleepEnable false AT AB Sppdisconnect lt GPIO_HostKeepAwake none 13mA RX dll from the master gt GPIO_HostWakeup none i ODE mate AllowSniff false 9 6 mA Standby Connected Mu DEEP SLEEP MODE AT AB Configuration Summary 30 MANTA Sppdisconnect e HostDeepSleepEnable true AT AB Sppconnect from the master GPIO HostKeepAwa
2. Var35 InquiryScan True default AT Command UpdatelnquiryScan 01 Discoverable Non discoverable Visible in the device Not visible in the device i 1 discovery of the host A Command Updatelnquiryscan 2 eer a 1 Please refer to User Manual for AT command details Ly life augmented Bonding Procedure Bonding is used for device pairing The bonding effect is the generation of an encryption LinkKey By default modules are configured with bonding allowed meaning the device is always allowed to accept bonding request Device A Device B Device A Device B ____wa S KK k jij wjw_ Gok ivj v i o j j T tS Host Module Module Host AT AB Bond BDAdarB pin AT AB BondPending BDAdarB AT AB BondPending BDAddrA Store LinkKey Store LinkKey AT AB BondOk BDAddrB AT AB BondOk BDAddrA Ly life augmented Bonding Allowed e Var33 BondingAllowed True automatically allow Bond e Var33 BondingAllowed False Bond not allowed Var33 BondingAllowed True default AT d DisableBond a OMA Dearie Pairing Bond from the new Bluetooth pairing Bluetooth Device is not allowed Bond allowed AT Command EnableBona It is possible SPP AP Connect for devices already stored into the bonding table 1 Please refer to User Manual for AT command details Ly life augmented Connection with a Remote Device Procedure Device A Device B Device A Device B __
3. Bluetooth Classic BT 3 0 modules A Comprehensive User Guide amp life augmented Outline Section 1 Blue Modules overview e Section 3 Software Features e Introduction Certification Hardware e SW Architecture AT Commands and and Firmware architecture integration Configuration Variables mode support tools e UART Configuration e GPIOs Configuration Section 2 Hardware Features Basic Procedures e SPBT2632C2A e SmartCable e SPBT2632C1A e Remote Mode e STEVAL SPBTxATVx e Multipoint Power Modes Security e Communication with Smart Phones e COD setting e Upgrading Firmware Ly life augmented Section 1 Blue Modules overview life augmented Key features Blue Modules characteristics 3 SPBT2632C2A AT2 SPBT2632C1A AT2 A Core devices Class Bluetooth standard SPP and AT2 command Antenna and shield Low power mode Pin count Form factor Supply voltage range Voltage regulator Clock integrated WLAN coexistence Operating temperature 57 life augmented STM32 ARM Cortex M3 MCU STLC2690 STM32 ARM Cortex M3 MCU STLC2690 Bluetooth IC Bluetooth IC Class 2 typ output OdBm Class 1 typ output 10dBm Bluetooth 3 0 Bluetooth 3 0 Y Y Y Y with external LPO Low Power Oscillator Y 16 24 Micro sized 11 6 x 13 5 mm Small 15 x 27 mm 2 1 3 6V 2 1 3 6V Y Y Y Y Y Y 40 85 C 40 85 C Blue Modules characteristics z3 SPBT2632C2A AT2 Key features
4. 85 C Ly life augmented SPBT2632C1A Pinout u Shield STM32F103 package BGA64 BE ril Fre z a dani 4 TEZ mm 60 m l Aero psy 21 LM 41 53 mm Pl 5 29 GPO 2 18 PIO Hl 18 UART Interface 16 Configurable GPIOs GPIO 1 17 PIO 0 14 1080 mil 26 9 mm GPIO 13 15 PC MFI only r l 14j 14 58 mi 1 4 men 435 mil I l i ut 4 5 mm I 160 mil I a A A a I kyy 13 2 men life augmented SPBT2632C1A Characterization Figures ZERD Supply Voltage Vin 2 1 2 5 3 6 Operating Temperature Range 40 85 C Signal Pin Voltage 2 1 V Radio Rec Sensitivity Level BER lt 0 001 with DH5 90 dBm Radio Transmitter Output Power 50 Q Load 10 dBm Power Consumption High Speed CPU Mode 32 MHz Average Unit ACL data 115KBaud UART at max throughput Master 23 mA ACL data 115KBaud UART at max throughput Slave 27 5 mA Connection no data traffic Master 9 1 mA Connection no data traffic Slave 11 2 mA Connection 375 ms sniff 490 uA Standby page inquiry scan without deep sleep 8 6 9 5 mA Standby page inquiry scan with deep sleep with external LPO 70 520 uA Ly life augmented SIEVAL SPBIxATV Hardware Features life augmented SI EVAL SPBIXxAIV3 Example STEVAL SPBT3ATV3 Plug amp Play Solution Reference designs and evaluation boards Evaluation tool of the inte
5. Reference Design See STEVAL SPBTxATV3 commands USB Serial Bridge Kp Embedded System AT Host commands i e STM32F ART SPBT2x32Cxx life augmented Support tools SPBT2632C2A AT2 Bluetooth V3 0 Class2 antenna AT2 command Firmware SPBT2632C1A AT2 Bluetooth V3 0 Class1 antenna AT2 command Firmware STEVAL SPBT3ATV3 USB dongle evaluation board for SPBT2632C2A AT2 STEVAL SPBT4ATV3 USB dongle evaluation board for SPBT2632C1A AT2 Technical Documentation Promotional Documentation Technical support Other tools O ha pp Datasheets Marketing presentation on www st com Contact us Fe l onlinesupport st com Application note Product briefcase on MyST AT command user manual life augmented Section 2 Hardware Features life augmented SPBT2632C2A Haraware Features life augmented SPBT2632C2A Hardware Features Bluetooth 3 0 Compliant Integrated Chip Antenna e Max Output Power transmission e 0 dBm Small form factor e 11 5 x 13 5 mm External Communication interfaces e UART e 7 GPIO e LPO e 3 3V single supply voltage integrated voltage regulator Integrated 26 MHz quartz oscillator Operating temperature range e 40 85 C Ly life augmented GND Voltage Supplier BOOT Voltage Regulator STLC2690 STM32F103 BT Controller BT Host 26 MHz Oscillator SPBT2632C2A Pinout EL FT 16 STLC2690 STM32F103 pa
6. _ Mode 0 Data Transfer Mode SPP Profile Usage Module is connected life augmented Category List of Commands Reset Device Information GPIO Use Serial Configuration Mode management Device Discovery Ly life augmented Reset BicVersion Build DefaultLocalName LocalName GetBdAddress Version GPIOConfig GPIORead GPIOWrite ChangeBaud ChangeDefaultBaud HostEvent StreamingSerial Escape Seg 451 Remote Commands Sea DOHOFO Bypass Discovery AT2 Commands Category List of Commands Bonding Connection Configuration Page Inquiry timing SleepModes Bond DisableBond EnableBond EraseBond Table ShowDev SPP Dis Connect LinkDisconnect SmartCableSetup DeleteSmartCable IAP Dis Connect RoleSwitch PassKeyAccept ReadClock Config Cptest UpdatelnquiryScan UpdatePageScan Exit Sniff The list and syntax of AT2 Commands are described in the User Manual UM1547 AT 2 Configuration Variables Category List of Variables Category List of Variables Category List of Variables Device Informations UART Configuration Hardware Configuration BuildVersion BD ADDR DeviceName COD Streaming Serial UartBaudRate UartParity UartDataBits UartStopBits UartTimeout HostEvents CpuMHz HciBaudRate SPlEnable SPIMode I2CEnable UseExtLPO HSE MHz Security Power Modes Mode O EnableEncryption DefaultSecur
7. Me Ele design Japan Type Certification SPBT2632C1A AT2 QD ID B019224 0447 FCC ID Work in Progress Product type End Product ARAM00002 X3ZBTMOD3 ja vn F Measurements in accordance IC 8828A MOD3 Product Description EN 300 328 V 1 7 1 2006 10 In accordance with FCC part 15 the Bluetooth Module spec V3 0 EN 301 489 17 V 2 1 1 2009 SPBT2632C1A AT2 is listed above EN 60950 1 2006 as a modular transmitter device A11 2009 A1 2010 CE 0051 QO SPBT2632C2A AT2 QD ID B019224 0448 FCC ID Radio type ID Product type End Product ARAMO0003 X3ZBTMOD5 006 000095 TGP Version Core 3 0 Core Spec Version 3 0 Product Description Bluetooth Module spec V3 0 le n accordance with EN 300 328 V 1 7 1 2006 10 EN 301 489 17 V 2 1 1 2009 EN 60950 1 2006 A11 2009 A1 2010 CE 00510 Reports available on request IC 8828A MOD4 In accordance with FCC part 15 the SPBT2632C2A AT2 is listed above as a modular transmitter device SPBT2632C2A AT2 is certified as Type Approval in conformity with Chapter 38 24 1 of Japan Radio Law 63 Bluetooth Blue Modules hardware architecture um TX Power 10 dBm RX Sensitivity 90 dBm Size 15 x 27 mm SPBT2632C1A AT2 e TX Power 0 dBm a RX Sensitivity 86 dBm A Size 11 6 x 13 5 mm SPBT2632C2A AT2 Supply Voltage Voltage GPIOs regulator Bandpass Bluetooth UART filter A life augmented Integrated Firmware Blue Modules firmware ar
8. SPBT2632C1A AT2 High Speed CPU Mode 32 MHz Average values ACL data 115 KBaud UART at max throughput Master 23 mA 23 mA ACL data 115 KBaud UART at max throughput Slave 27 5 mA 27 5 mA Connection no data traffic Master 9 1 mA 9 1 mA Connection no data traffic Slave 11 2 mA 11 2 mA Connection 375 ms sniff with LPO Low Power Oscillator 490 uA 490 HA Page inquiry scan without deep sleep 9 5 mA 9 5 mA Page inquiry scan with deep sleep no LPO 2 7 mA Page inquiry scan with deep sleep and LPO 520 uA 520 uA Standby without deep sleep 8 6 mA 8 6 mA Standby with deep sleep no LPO 1 7mA Standby with deep sleep and LPO 70 uA 60 LA With external clock life augmented Blue Modules characteristics 5 mm SPBT2632C2A AT2 SPBT2632C1A AT2 Key features E Pin counting Reset NRST pin Y Y Boat pin Y Y 4 pins for UART interface TX RX CTS RTS Y Y 6x bottom pins JTAG interface Y Y JTDI JTDO JTMS JTCK JTRST NRST GPIOs 7 and LPO input 16 GPIO High Level 2 1 V 2 1 V Interfaces High speed UART Y Y 12 only for Apple code processor interface Y Y RF characteristics Antenna Load 500 500 Sensitivity Level BER lt 0 001 with DH5 86 dBm 90 dBm Maximum Output Power 50 load 0 dBm 10 dBm ys life augmented Blue Modules Certifications e Blue Modules are CE and Bluetooth certified e Radio type compliant for US Canada and Japan CE Statement of FCC and IC opinion Jel
9. 1 ANSV gt aay ocuments LaurasPraduc File size 187K fies Connected 0 04 57 Ako detect 115200 6 1 File DE of 181k Elapsed EA Remaining Throughput e i a ad EEE a JE KE N STEVAL SPBT4ATV3 User FLOW Description e Insert the dongle in a USB slot of the PC e Open an HyperTerminal 115200 8 none 1 none Send the command AT AB InvalidateApplication it deletes the abSerial application currently running on the module The module enters the boot state presenting the Main menu choices Select option 1 download application image e Use the Y modem function integrated in the HyperTerminal and select the file to download The process Terminates with Programming Completed Successfully u Resetthe module Sti life augmented Upgrading with the Flash Loader GPIO2 ly Documents Laura Produc j File size ni Connected 0 04 57 Auto detect 1520061 Zi DE of 121k Elapsed EM Remaining Throughput OE STEVAL SPBT4ATV3 User FLOW Description e Put the GPIO2 to 0 use a jumper between the dongle PADs for STEVAL SPBT3ATV3 PAD4 and 9 for STEVAL SPBT4ATV3 PAD5 and 13 for details refer to module application note e Insert the dongle in a slot e Open an HyperTerminal on the PC 115200 8 none 1 e Reset the module e The module enters in the boot state and three different Main menu choices are presented n 5 seconds sele
10. O gt Master Slavet MPMode 0 1 IDO gt 5 SppDisconnect 0 WES 6 SppDisconnect 0 1 Sppconnect Slave1Addr 1 Sppconnect Slave1Addr Master MPMode 2 1 Node ID 0 gt Slave 2 Node ID 1 gt Slave2 Master MPMode 1 1 Node ID 0 gt Slave 2 Node ID 1 gt Slave2 2 Sppconnect Slave2Addr 2 Sppconnect Slave2Addr Slave2 Slave2 MPMode 0 MPMode 0 2 ID1 gt Master 2 ID1 gt Master life augmented Power Modes Power Modes e Active Mode e Standard mode operation Sniff Mode e Sniffing is a process of listening for specific types of commands that occur periodically The sniff mode is used to reduce the power consumption of the device as the receiver can be put into standby between sniff cycles Requiring the use of an LPO sleep mode is supported only by the modules SPBT2632C2A AT2 and SPBT2632C1A AT2 e Sniff mode requires to set few dedicated configuration variables It can be remotely activated with commands or can be automatically activated at the connection time e Deep Sleep Mode e The Deep Sleep Mode temporarily halts the BT controller chip s operation by stopping the 26 MHz main crystal Deep Sleep is activated by setting related configuration variables Scheduled CPU activity timers remote link activity and GPIO wakeup will resume active mode Ly life augmented Power Modes Setup The use of DSM and Sniff are enabled via the following set of Configuration Vari
11. The CoD can be changed using the AT command AT AB config var30 CoD e CoD value list can be retrieved at SIG website https www bluetooth org en us specification assigned numbers baseband life augmented Upgrading Firmware Upgrading Firmware Procedure i e PC New Version Source Device New abSerial Firmware Version available from ST bin file New Version Source pl Device D i e PC sl 3 The Firmware on the Bluetooth nodes can be upgraded for bug fixing or for taking advantage of the introduction of new features The Firmware upgrading is enabled via the UART interface of the module Gi life augmented Firmware Upgrading Procedure Different options are possible to upgrade the Firmware from the host via the UART The recommend procedure is using the AT command e AT AB InvalidateApplication And follow instruction on next slide Alternative procedures e Using the Flash Bootloader based on the Y Modem protocol of the STM32 e The Flash Bootloader is activated in two different ways e Acting on the GPIO2 pin of the module Using a special purpose at command e It can be used tested by using the Y Modem transmitter function integrated in the Hyperterminal or other terminal tool life augmented Upgrading with the Flash Loader AT command le STEVAL SPBT3ATV3 __E AW te ay mg n tots Foie ATAR ARAN Fee deki bali m ER EHEN EN var gi yy bc ag ig ee yy 1
12. Ue E Ke Dk N e D Host Module Module Host Setup Setup Command Mode Not Connected Command Mode Not Connected AT AB SPPConnect BDAdarB SPP Connection Established ByPass Mode Connected AT AB ConnectionUp AT AB BypassMode ByPass Mode Connected AT AB ConnectionUp AT AB BypassMode Data Exchange Ly life augmented Connection Allowed Var34 PageScan True module Connectable e Var34 PageScan False module Non connectable Var34 PageScan True default AT Command UpdatePageScan 0 Connectable Non Connectable connection is allowed AT Command UpdatePageScan 11 connection isn t allowed ga mm i _ 1 Please refer to User Manual for AT command details Ly life augmented Escape from Bypass Mode Procedure e Once a connection has been established between host and remote device the host can put the absSerial interface back into command mode by using the Escape Sequence Once back in command mode new commands can be issued Host Module ByPass Mode Connected Data Exchange ARASA Escape Sequence must be followed by 1000 ms of no data 2 seconds Command Mode Connected AT AB CommandMode Ly life augmented Disconnect with a Remote Device Procedure Device A Device B Device A Device B 0 O Host Module Module Host B ByPass Mode Co
13. ables and Commands Variable Command Impacted Power HostDeepSleepEnable GPIO_HostWakeUp GPIO_HostKeepAwake AllowSniff AutoSniff AutoSniffTimeout AutoSniffinterval UseExtLPO AT AB sniff BDAddress Sniff Int AT AB exit sniff BDAddress Ly life augmented Mode DSM Sniff DSM DSM Sniff Sniff Sniff Sniff DSM Sniff Sniff Sniff Enables deep sleep mode Mandatory for DSM Advised for the Sniff Mode GPIO register used to wake up the module after it enters deep sleep mode A setting of none means that this function is disabled GPIO register used to prevent the module from entering deep sleep mode A setting of none means that this function is disabled Enables Sniff Mode Enables automatic Sniff Mode The inactivity timeout in seconds After this time passed Starts AutoSniff Sniff Slot interval applied AutoSniff A 32 768kHz low power oscillator needs to be connected to enable Sniff Mode Used to switch a remote device from active mode to sniff mode Used to switch a remote device from sniff mode to active mode Deep Sleep WakeUp GPIO WakeUP abSerial supports the GPIO based Deep Sleep Wakeup e For example the following variable configuration set GPIO3 to be used with this purpose AT AB config GPIO_HostWakeUp 3 AT AB config GPIO_HostKeepAwake 3 AT AB config HostDeepSleepEnable true The DSM will be enabled as long as the GPIO3 is maintained low
14. chitecture mm Generic Access Profile GAP Discovers and connects to other devices AT2 Interpreter abSerial Bluetooth Protocol Stack Higher Layers Bluetooth Protocol Stack Lower Layers Ly life augmented REZ Security authentication idle mode procedure inquiry linking paging connection Service Discovery Profile SDP Locates describes services from to other devices HCI Serial Port Profile SPP Emulates legacy serial communication LMP LM Cable replacement Baseband LC iPod Accessory Protocol iAP Supports communication with Apple iOS Supply Voltage Bluetooth enabled device Voltage regulator Bluetooth radio Bandpass DD iter ER EJ Crystal AT Command Layer The Blue Modules Firmware integrates a layer of AT like commands abSerial on top of the Bluetooth stack They have a very simple syntax and allow Firmware configuration and Bluetooth connection management Blue Modul i b SPBT2632C2A AT 2 Class 2 profile enhanced FW a kab y kek krn SPBT2632C1A AT 2 Class 1 profile enhanced FW Key features AT2 command Bluetooth version 3 0 Point to point communication Y Multipoint communication Y Remote commands Y Sniff mode Y EEE TT EEE SPP Y AP Y Android Y iPhone Y life augmented Integration Modes Connect the Blue Modules with your favorite host processor via the UART interface Bluetooth Dongle K AT
15. ckage WFBGA48 package BGA64 13 5 CU x r 3 7 Confi bl UART Interface onfigurable siise TOP VIEW o lt gt ge MFI only De 7 A RESET an I A l C Alt config for MFI only Ly millimeters 0 75 Ee life augmented SPBT2632C2A Characterization Figures e ET eee Sed Supply Voltage Vin 2 1 2 5 3 6 Operating Temperature Range 40 85 C Signal Pin Voltage 2 1 V Radio Rec Sensitivity Level BER lt 0 001 with DH5 86 dBm Radio Transmitter Output Power 50 O Load 0 dBm Power Consumption High Speed CPU Mode 32 MHz Average Unit ACL data 115 KBaud UART at Max throughput Master 23 mA ACL data 115 KBaud UART at Max throughput Slave 27 5 mA Connection no data traffic Master 9 1 mA Connection no data traffic Slave 11 2 mA Connection 375 ms sniff external LPO required 490 uA Standby page inquiry scan without deep sleep 8 6 9 5 mA Standby page inquiry scan with deep sleep no external LPO 1 7 2 7 mA Standby page inquiry scan with deep sleep with external LPO 70 520 UA Ly life augmented SPBT2632C2A Characterization with External Low Power Oscillator 1 2 e LPO Low Power Oscillator 32 68kHz External clock Tolerance 150ppm e LPO is connected to the CPU and Radio IC e LPO standard of Radio IC Vpp 1 8V is Duty cycle min 40 max 60 e Low level Input Voltage V Min 0 Max 0 5V e High level Input Voltag
16. ct option 1 download application image otherwise the module automatically enters the option 2 execute application e Use the Y modem function integrated in the HyperTerminal by selecting the image file to download e The process terminates with Programming Completed Successfully 7 e Remove the jumper YI Reset the module life augmented Thank you
17. e Vip Min 1 2V Max 1 8V e On the other hand CPU STM32F103 Vpp 2 1V Is e Duty cycle Min 30 Max 70 e Low level Input Voltage Vi Min Vss Max 0 3 Vpp e High level Input Voltage V y Min 0 7V pp Max Vpp life augmented SPBT2632C2A Characterization with External Low Power Oscillator 2 2 GPU power supply is supplied from the 2 1V LDO in the module Therefore 0 7 Von 0 7 2 1 1 47 V Vip Min next V is dominated by the MCU side e Specification of LPO that satisfies the standards of both Duty cycle Min 40 Max 60 e Low level Input Voltage V Min 0 Max 0 5V e High level Input Voltage Vip Min 1 47V Max 1 8V LPO operation check method Put to Sniff mode connected by state without communication for 10 minutes Sniff mode if it is maintained it becomes the LPO judgment OK life augmented SPBT2632C1A Hardware Features life augmented SPBT2632C1A Hardware Features Voltage Supplier BOOT Bluetooth 3 0 Compliant Integrated Chip Antenna Max Output Power transmission e 10 dBm Small form factor voltage megulator e 15x 2 7 mm External Communication interfaces AARI STLC2690 STM32 yJ gt UART e 16 Configurable GPlOs BT Controller BT Host gt 16 GPIO 3 3V single supply voltage integrated EE voltage regulator Integrated 26 MHz and 32 kHz quartz oscillators 30 kHz 26 MHz Operating temperature range Oscillator Oscillator e 40
18. grated abSerial AT like commands layer abSerial Power Supplied via the USB interface Compact and Small form factor LEDS connected to GPIO for testing purposes UART USB bridge from Silicon Lab requires to install the correspondent driver on your PC HyperTerminal or similar HyperTerminal or similar Y AT Command HyperTerminal Jo e AT HyperTerminal BAX TATE anmak abSerial abSerial me ak AT AB BDAddress 0080e1fac053 i Co m m ands Eve nts Co m m and s Eve nts AT AB BDAddress 0080e1fac053 e Refer to the related Application Notes to get started with schematics and basic procedures Ly life augmented S TEVAL SPBT3ATV3 JTAG 3012 MOTTO TUNYAJ OV A0TD9 STEVAL SPBT3ATVS3 LedPower Reset SPBT2632C2A kk SPBT2632C2A Reference Design STEVAL SPBT3ATV3 BOM Gerber and Schematic avallable on the ST website See detailed information and schematic in the amp Application Note AN4127 A Demonstration board for Bluetooth module class 2 SBT2632C2A AT2 Boot LedGPIO4 Ly life augmented JTAG 3012 MOTTO TUOYAJ L0V AIKI9 LedGPIO1 ee LedGPIO4 USB bridge si Ku yi J2 Teens go RB CI Aca Li 1008 LedPower Boot SPBT2632C1A Ly life augmented SI EVAL SPBI4ATV3 STEVAL SPBT4ATV3 SPBT2632C1A Reference Design STEVAL SPBT4ATV3 BOM Gerber and Schematic available on the ST website See detai
19. ible Values e No Security e 2 3 Legacy Security for 2 0 earlier Bluetooth devices deprecated e 4 SSP enabled This value also supports legacy pairing with Bluetooth 2 0 earlier e Encryption Boolean Establishes if an encryption key is used e DefaultAuthentication establishes which level of SSP authentication is enabled e Possible Values e 4 SSP Just Works no MITM protection e 5 SSP pairing modes with MITM protection setting the variable MITMEvent true Ly life augmented AT2 Default Security Configuration Variable Name Variable Number Default Value Ne BondingAllowed Var33 True Device is always connectable Pin Var06 1234 Used only when connection is with 2 0 devices or earlier DefaultSecurity Var40 4 SSP enabled DefaultAuthentication Var41 5 MITM protection by asking for a confirmation message during pairing MIMTEvent Var55 False Sends paring passkey to the main UART EnableEncryption Var39 True Encryption Key is used kyy life augmented Communication with Smart Phones Communication with Smart Phones AT2 supports communication with Smart AT2 implements both the MFI Phone i e Android and Apple devices protocol and the iAP profile Supporting Apple iPhone and other OS N Bluetooth data oriented connections requires a proprietary profile called AP l Cdata U E e MFI is a licensing program from Apple to 5 lt develop electronic accessories that connect to Ber O iP
20. ity DefaultAuthentication MITMEvent AutoSniff AutoSniffTimeout AutoSniffinterval HostShallowSleepEnable HostDeepSleepEnable GPIO_HostKeepAwake GPIO_HostWakeup AllowSniff MPMode RmtEscapeSequence Radio Smartphones Smartphone hidden variables Others UseSmallPackets EnableAFH EnablePowerControl QoS_latency PageScan InquiryScan EnablelAP IAPAppID APPProtocolStrMain APProtocolStrAlt CPI2CMode SPP128UUID AItCPGPIO AccName AccManufacturer AccModelNumber AccSerialNumber ATReply Av The complete list for AT2 Configuration Variables and their default values are described in the User Manual UM1547 life augmented UART Configuration UART Configuration The module allows to connect an external Host Processor via the UART interface Four signals are provided with the UART interface The TXD and RXD are used for data while the CTS and RTS pins are used for the Hardware flow control Y D r O O r lt O o D The baud rate is configurable in the 1200 921600 range of values lt can be changed by using the correspondent variables or at commands e Default serial port configuration is 115200 8 n 1 The correspondent variables can be used to change the UART parameters To enable the use of the flow control the streamingserial variable command can be used Ly life augmented GPIO Configuration GPIOs Configuration The integrated Firmware configures
21. ke 3 13mA RX from the master N GPIO_HostWakeup a Ga i cua 0 05 mA Standby An Ka mol OS If ExtLPO is used SNIFF MODE 30 mA TX Configuration Summary AT AB Sniff Connected e HostDeepSleepEnable true 13 mA RX from the AT AB ExitSniff lt GPIO HostKeepAwake 3 master from the master lt e GPIO_HostWakeup 3 10 mA E gt AllowSniff true Sniff TX e UseExtLPO true 0 05 mA Sniff RX Standby Ly life augmented The values refer to an SPBT2632C1A AT2 Slave Mode CPU Speed 32MHz LPO Enabled Security Security To maintain security Bluetooth devices can use keys to verify the identify of other devices Pairing Authentication and to modify data to make the data private Encryption e Blue Modules implement the Bluetooth 2 1 security features for the Authentication and the Encryption e When Paired with companion devices Blue Modules support e Legacy Pairing with 2 0 or earlier Bluetooth versions e Secure Simple Pairing with 2 1 or newer Bluetooth versions life augmented Security e Security features in Blue Modules are managed with a set of configuration variables e AlwaysBonding boolean to establish device connectability e PIN PIN used when pairing is required by a companion device only for comunication with 2 0 or earlier deprecated Bluetooth devices e DefaultSecurity Establishes the security level i e the authentication level with a companion device e Poss
22. led information and schematic in the amp Application Note AN4128 _A Demonstration board for Bluetooth module class 1 SBT2632C1A AT 2 Section 3 Software Features life augmented Software Architecture Al Commands and Configuration Variables Modes of Operation e The Firmware supports Multiple Modes of Host __ Operation OS e Command Mode A e Bypass Mode e Remote Mode Flow of e Sniff Mode Commands Connection via the Deep Sleep Mode Responses UART interface Multipoint Broadcast Mode DataStream e Commands and Responses are handled only AT2 Interpreter while the application is in Command Mode e n Bypass Mode the data stream is transferred directly from the UART and the Bluetooth SPP e n Remote Mode a node can be remotely RECOMM configured only in AT2 e Sniff Mode is a low power consumption operation mode only in AT2 e Deep Sleep Mode is a low power consumption LMP LM status mode e Multipoint Broadcast Mode manages connections Baseband LC between a master and multiple slaves Ly life augmented Operation Flow Configure Bonding i Startup Reset Device Discovery StandBy CommandMode Deep Sleep Mode T Connect with De Remote Device Active Active ByPassMode CommandMode Module is not connected Remote Mode Multipoint Escape from Broadcast Bypass Mode Configure
23. nnected ByPass Mode Connected ABA AO DELCE ol st Tafel Command Mode Connected AT AB CommandMode AT AB SPPDisconnect SPP Connection Down Not Connected Command Mode Not Connected AT AB SPPComnectionClosed AT AB ConnectionDown AT AB ComnectionDown life augmented SmartCable SmartCable AT AB smartcablesetup 12345678 10 100 Allows this device to automatically connect with the remote companion at the startup with no user interaction Remote Companion Device BDAddress 12345678 The Smart Cable feature establishes an SPP link to the designed remote device automatically and at the startup time Replace the need for AT connection commands If a link is disconnected The Smart cable feature will automatically reconnect the link without user interaction e Enabled with the command e AT AB SmartCableSetup bd address attempts interval The Bdaddress of the designed remote device is saved in the NV memory The feature is active after a reset Attempts and Interval define the paging options of the companion device AT AB DeleteSmartCable command removes the Smart Cable settings Ly life augmented Remote Mode Remote Mode e A remote device can be controlled and configured by a Blue Tooth link e This function is tipically used to remotely configure UART or GPIOS of a Remote Device The Remote Mode Feature is enabled starting from the AT2 version of the firmwa
24. od iPhone and iPad ae ao I LL rn L uyu o O a e Apple Accessory devices must utilize an iPod z lt O Authentication Go processor CP Buy the chipset Set the CPI2CMode from Apple Variable of the module integrate the IAP protocol v2 0C chip Infineon USON8 CPI2CMode 2 for v2 0B The MFI Apple Co processor connected via 3 for v2 06 the 12C pins Ly life augmented Ly life augmented Configuration for communication with AP Devices AT2 Configuration COD EnableEncryption DefaultSecurity EnablelAP APAppID APProtocolStrmain iAPProtocolStrAlt CPI2CMode AccName AccManufacturer AccModelNumber AccSerialNumber AT AB IAPConnect BDAddress AT AB lAPDisconnect 240404 true 4 true Application Customization A1B2C3D4E5 Com AmpedRFTech Demo Com AmpedRFTech ProtocolAlt 3 MFI Coprocessor v2 0c Amped Test Amped RF Test Model Amp ed Up IAP Commands To connect a remote device with the IAP profile To disconnect from a lAP session Communication Speed SPP Connect e Actual value up to 500Kbps AP Connect e Max speed theoretically possible e iPhone4 iPad2 up to 100Kbps e iPhone4S iPad3 up to 250Kbps e iPhone5 iPad4 mini up to 250Kbps Actual value BIM gt Apple e iPad3 up to 150Kbps e iPadi up to 90Kbps Ly life augmented CoD setting CoD setting mm e CoD Class of Device is set by default 240404 corresponding to headset device
25. re To enable a remote node to be remotely controlled the following variable must be set RmtEscapeSequence true Device A Device B _ n hkkk k y i ki ii iik yrir wB XEXXWXVX C rEE k __j_jE _j 00000 Host Module Module Host B Bypass Mode Connected Bypass Mode Connected Data Exchange AT AB Remote Mode Remote Configuration AT AB Bypass Mode AT AB Bypass Mode life augmented Multipoint Broadcast and Multipoint Use Modes 1 2 AT2 enables multipoint or broadcast connection modes to handle connections between a master and multiple slaves To select a connection mode the configuration variable MPMode must be used MPMode 0 Def Point To Point MPMode 1 Multipoint MPMode 2 Broadcast e Use Multipoint when a message needs to be sent to multiple slaves uniquely identified by an ID When a message is sent by a slave to the master it is also uniquely identified by the ID of the sender An header defined by the protocol described in the following table is used with each packet of data Dest Source Node Length EEE YEE 1 byte 3 bytes Up to 315 bytes Node ld from 0 to 9 1 3ASCII decimal digit from Upto 315 bytes ASCII decimal digit 001 to 315 e Use Broadcast when a message needs to be broadcasted to multiple slaves Ly life augmented AT2 Broadcast and Multipoint Use Modes 2 2 Broadcast aT TA Multipoint 3 TT a SIENA MPMode 0 1 ID
26. the GPIOs as in the following table Active Status Probe MCU RUN always on when the radio is in active mode Blinking when the radio is in deep sleep mode e Connection Status Probe always on when the module is connected _ GPIO GPIO2 GPIO3 GPIO4 GPIO5 GPIO7 GPIO8 GPIO16 Output Input a Output Input SPBT2632C2A Connection Pulled down nn an Active Status Pulled down Status Probe BOOT Probe MFI chip on 5 6 Output Input Output SPBT2632C1A Connection Pulled down wad devan Active Status dis dew m Status Probe BOOT Probe p e GPIOs can be reconfigured with the following commands AT AB gpioconfig GPIO pin 1 0 AT AB gpioRead GPIO pin e AT AB gpioWrite GPIO pin 1 0 Special Use In the modules SPBT2632C1A the GPIO11 and GPIO12 can be also reconfigured as I C clock and I C data for integration of an MFI coprocessor Ly life augmented Basic Procedures Device Discovery Procedure Device 0 Device 1 Device n Host Module Setup Command Mode Not Connected AT AB Discovery AT AB InqPending Inquiry Response 1 Inquiry Response n Page Devi Name Req Procedure AT AB DiscoveryPending n Up to 10 devices Disconnect gt AT AB Device BDAddr1 Name1 57 Name Req is repeated for Device 2 life augmented Device Discovery Allowed e Var35 InquiryScan True module Discoverable e Var35 InquiryScan False module Non discoverable

Download Pdf Manuals

image

Related Search

Related Contents

Planar Systems PT1575S  Westinghouse 6230300 Installation Guide  Vous n`avez qu`une seule chance pour faire une  REBOL User's Guide  

Copyright © All rights reserved.
Failed to retrieve file