ETC ARF32

RF32
A
Bluetooth®
Modules
User Guide
No part of this document may be reproduced or transmitted (in electronic or
paper version, photocopy) without Adeunis RF consent.
This document is subject to change without notice.
All trademarks mentioned in this guide are the property of their respective
owner.
ADEUNIS RF
283, rue Louis Néel
38920 Crolles
France
Phone
Fax
+33 (0)4 76 92 07 77
+33 (0)4 76 08 97 46
Ref. 08-07-V10-ltu
A
RF32
User Guide
Table of Contents
About this Document ........................................................................ 4
Declaration of Conformity ................................................................ 5
Overview........................................................................................... 6
Hardware essentials ......................................................................... 7
Interface ............................................................................................. 8
Footprint............................................................................................ 10
Recommended exclusion zone around antenna .................................... 11
Software management ................................................................... 12
Non Volatile Default Settings............................................................... 12
Operating modes................................................................................ 13
Setting up a link using the command interface ..................................... 14
Automatic connection ......................................................................... 16
Advanced commands.......................................................................... 16
Specifications.................................................................................. 17
ARF7469 DemoKit schematics ........................................................ 18
Ref. 08-07-V10-ltu
p3
TOP
A
RF32
User Guide
About this Document
This guide describes the ARF32 devices, their options and accessories.
Ref. 08-07-V10-ltu
p4
TOP
A
RF32
User Guide
Declaration of Conformity
Manufacturer’s name:
Manufacturer’s address
ADEUNIS R.F.
Parc Technologique PRE ROUX IV
283 rue Louis NEEL
38920 CROLLES - FRANCE
declares that the product if used and installed according to the user guide available on
our web site : www.adeunis-rf.com
Product Name:
ARF32
Product Number(s): ARF7044A
is designed to comply with the RTTE Directive 99/5/EC:
EMC:
according to the harmonized standard EN 301 489.
Safety:
according to the standard EN 60950-1/2001
Radio:
according to harmonized standard EN 300-328 covering essential radio
requirements of the RTTE directive.
Notes:
- Conformity has been evaluated according to the procedure described in
Annex III of the RTTE directive.
- Receiver class (if applicable): 3.
According to the 1999/519/EC recommendation, minimum distance between the product
and the body could be required depending on the module integration.
Warning : - CE marking applies only to End Products: Because this equipment is only a
subassembly, conformity testing has been reduced (equipment has been design in
accordance to standards but full testing is impossible). Manufacturer of End Products,
based on such a solution, has to insure full conformity to be able to CE label marking.
- As the integration of a radio module requires wireless technological
knowledge, ADEUNIS RF proposes its technical proficiency to its customers for a precompliance qualification of end products. In case of no-conformity, ADEUNIS RF will not
be held back responsible if this stage has not been.
Crolles, November 6th, 2007
VINCENT Hervé / Quality manager
Download of the user guide
Thank you for having chosen the ADEUNIS RF products.
User guides can be uploaded directly on our web site www.adeunis-rf.com
Index
Products
Paragraph OEM Modules > Bluetooth® Module
Print version available upon request
9
Tel : +33 4 76 92 07 77
9
Email : [email protected]
Ref. 08-07-V10-ltu
p5
TOP
A
RF32
User Guide
Overview
The ARF32 module enables Bluetooth® compliant duplex communications
over a 20-meter range in the worldwide 2.45 GHz frequency band.
The ARF32 module fully complies with the V2.0 Bluetooth® standard and
data rate goes up to 723 kbps. Data exchange and set-up are only done
through an UART data port, under SPP profile. A miniature antenna is
integrated.
ARF32 can be used in two modes:
Classical Bluetooth® mode : Master starts with GAP identification, then,
SDAP profile review, SPP connection and transparent communication.
Ref. 08-07-V10-ltu
p6
TOP
A
RF32
User Guide
Automatic Bluetooth® mode: Identification, profile review and
connection to 1 to 3 known slaves are recorded by the master. After
booting, Bluetooth® link is directly open in transparent mode.
ARF32 modules are available as standalone ARF7044 module or in the
ARF7069 DemoKit. This DemoKit can be fully set-up and used with the
National Semiconductors® “Simply Blue Commander” Software.
Hardware essentials
EEPROM
32 kHz Xtal
Main Xtal
« Data rate »
jumper
Integrated
antenna
Bottom Connector
Bluetooth® Chip
Pin-out
All connections are located on the ARF32 bottom connector:
Ref. 08-07-V10-ltu
p7
TOP
A
VCC
RF32
User Guide
= Power Supply
NC
= UNUSED
Reset
= Full Hardware Reset (active low)
GND
= Ground
Uart_cts
= « Clear to send » Control Signal In
Uart_tx
= « Data to transmit » Data Out
Uart_rx
= « Received data » Data In
Uart_rts
= « Request to send » Control Signal Out
GND
= Ground
GND
= Ground
Interface
Pin description
Signal
VCC
NC
Reset
Uart_cts
I/O
I
I
I
Designation
Main power supply
Not Connected
Hardware reset
Clear to send Signal
Comment
2.85 < VCC < 3.6 V and I < 65 mA
NOT TO BE USED
ARF32 reset when Low
Serial port Flow control Input
(MUST BE USED)
Uart_tx O
Uart_rx I
Uart_rts O
Data to transmit
Received data
Request to send
Signal
Serial port Data Output (0/Vcc level)
Serial port Data Input (0/Vcc level)
Serial port Flow control Output
(MUST BE USED)
GND
Common Ground
Connected to motherboard ground
-
Ref. 08-07-V10-ltu
p8
TOP
A
NOTE
For all I/Os :
0.7 x VCC
- 0.2 V
< Logical 1 <
< Logical 0 <
RF32
User Guide
VCC + 0.2 V
0.25 x VCC
Use of the Data Rate Jumper
The purpose of this jumper is to access the ARF32 module by forcing the UART
data rate in case of unknown UART parameters.
Data Rate Jumper
(red link)
In case of setup error while evaluating,
communication with ARF32 module can be lost
(bad UART parameters setup).
By connecting the “Data Rate Jumper”, UART
settings are forced to :
•
Data rate = 9600 bps
NB : other settings (Parity, Stop bit & Flow
control…) remain the same and have to be
check for recovery values..
It becomes possible to re-program the “Non volatile Settings” to access again
the ARF32 Module. When done, jumper can be removed.
Ref. 08-07-V10-ltu
p9
TOP
A
RF32
User Guide
Footprint
Recommended plugged footprint
TOP or
BOTTOM
Recommended SMD footprint
Ref. 08-07-V10-ltu
p 10
TOP
A
RF32
User Guide
Recommended exclusion zone around antenna
For plugged mounting
For SMD mounting
No component
With height >5mm
Antenna
Ground plan
limits
PCB Edge
Ideally, the module can be placed in edge of the PCB.
Ref. 08-07-V10-ltu
p 11
TOP
A
RF32
User Guide
NOTE
If needed, ARF7044 modules may use a 2-mm pitch connector.
Usable references for mass production are:
SAMTEC TMM-109-01-LL-S-RA
RADIOSPARE 132-1083
Standalone ARF7044 module doesn’t include this connector because of the
suggested plugged mounting.
Software management
Non Volatile Default Settings
Parameter
Default Value
Description
BDADDR
HARD CODED
Bluetooth® Device Address
Local Name
Serial port device
PIN Code
0000
Bluetooth® PIN Code
Operation
Mode
Default
connections
SDP database
Automatic ON
Automatic mode ON or OFF
0
Up to seven default devices to ON or OFF
1 SPP entry :
Name : COM1
Authentif. &
Encrypt. enabled
Service discovery database, control for supported
profiles
UART speed
9600
Speed of the physical UART interface
UART settings
Settings of the physical UART interface
Ports to open
1 Stop bit, parity
none
0000 0001
Link keys
No link keys
Link keys for paired devices
Security mode
2
Security mode
Ref. 08-07-V10-ltu
Defines the RF Comm port to open
p 12
TOP
A
RF32
User Guide
Operating modes
There are two main operating modes in the module : command mode and
transparent mode.
The command mode is used to set up the Bluetooth® link between two
pieces of Bluetooth® equipment.
The transparent mode is used to transfer data between two pieces of
Bluetooth® equipment.
Command mode
A specific protocol is used to send commands to the Bluetooth® module.
The frame format is the following :
All the values are in hexadecimal format.
Start
delimiter
1 byte
Packet type
1 byte
Operation
code
1 byte
Data
length
2 bytes
Checksum
1 byte
Data
<data
length>
bytes
End
delimiter
1 byte
Start delimiter: 02 (<STX>)
Packet type : 52 (‘R’ for request), 69 (‘i’ for indication), 43 (‘C’ for confirm)
Operation code : command dependent
Data length : size of data. First byte is the Least Significant Byte and
second byte is the Most Significant Byte
Checksum: Sum of all bytes from the packet type field to the data length
field
Data : command data
End delimite r: 03 (<ETX>)
Example of the inquiry command
Start
delimiter
02
Packet
type
52
Operation
code
00
Data
length
03 00
Checksum
55
Data
End delimiter
0A 00
00
03
Frame : 02 52 00 03 00 55 0A 00 00 03
Ref. 08-07-V10-ltu
p 13
TOP
A
RF32
User Guide
Transparent mode
In this mode all the data received on the UART RX pin are sent by radio to
the target Bluetooth® module and will be available on the target Bluetooth®
module UART TX pin.
Mode selection
A specific command (transparent mode) is used in order to switch from
command mode to transparent mode.
A specific pattern : “UART break” is used to switch from transparent mode to
command mode.
Setting up a link using the command interface
Quick start using “Simply Blue Commander” SBC software (*) :
Connect one module with the RS232 link to a PC supporting SBC software.
Setup “SBC Configuration / Transport layer” at the current baudrate (default
9600), 8 bits, 1 stop, no parity, “Low level driver” & “CTS output flow control”
enabled.
Power up the two Bluetooth® modules. SBC must return:
< Rx: Event: SimplyBlue Ready, SW Version: 0212
It means Master Module, serial port setup and connection are OK
Open “SBC ARF32 DATA over SPP quick start” commands sub directory.
> Click “BT environment inquiry” & “Send”
< All BT devices nearby send their own BDADDR & Class of Device
(SPP modules class of devices = 000000)
> Click “SPP link establishment”, replace FFs with slave BDADDR & “Send”
In bold : address of the target Bluetooth® module, discovered during previous step.
< Target module will confirm the connection (State has to be 00)
> Click “Enter SPP transparent mode” & “Send”
< Target module will confirm entering transparent mode (State has to be 00)
You can now close SBC and use any kind of terminal software to exchange
data or files through the Bluetooth SPP link.
(*) : SBC software zip package is downloadable from www.adeunis-rf.com web site.
Ref. 08-07-V10-ltu
p 14
TOP
A
RF32
User Guide
Final use with a PC terminal or a microcontroller
Power up the two Bluetooth® modules. Connect one module with the RS232
link to a PC or Notebook or PDA. Use a terminal software configured at the
current baudrate (9600 by default), 8 bits, 1 stop, no parity, flow control
material.
Please find below a typical request / response sequence in order to establish
a typical link. All requests must be sending by the PC / NB / PDA (i.e. the
master). All indication and confirm responses are sent by the Bluetooth®
slave module:
> GIAC Inquiry request:
< Inquiry module indication:
02 52 00 03 00 55 0A 00 00 03
02 69 01 09 00 73 34 BE 1F 17 00 08 00
00 00 03
In bold : address of the target Bluetooth® module. This address will be used within the
command SDAP Connect and the command SPP Connect
< Inquiry module confirm:
02 43 00 01 00 44 00 03
> SDAP connect request:
02 52 32 06 00 8A 34 BE 1F 17 00 08 03
< SDAP connect module confirm:
02 43 32 01 00 76 00 03
> SDAP service browse SPP request:
02 52 35 02 00 89 01 11 03
< SDAP service browse SPP module confirm: 02 43 35 0D 00 85 00 01 02 10 01
11 01 05 43 4F 4D 31 00 03
> SDAP disconnect request:
02 52 33 00 00 85 03
< SDAP disconnect module confirm: 02 43 33 01 00 77 00 03
> SPP connect request:
02 52 0A 08 00 64 01 34 BE 1F 17 00 08
01 03
< SPP connect module confirm:
02 43 0A 02 00 4F 00 01 03
< SPP connect module indication:
02 69 3E 04 00 AB 01 0C 00 00 03
> Enter transparent mode:
02 52 11 01 00 64 01 03
< Enter transparent mode module confirm: 02 43 11 02 00 56 00 01 03
Now you can exchange data in transparent mode between the two
Bluetooth® modules.
To come back to the command mode you have to send an UART break.
Ref. 08-07-V10-ltu
p 15
TOP
A
RF32
User Guide
Automatic connection
For serial cable replacement the ARF32 master can be configured to connect
automatically to a specific ARF32 slave and switch to transparent mode. The
automatic connection is done on boot or reset. The ARF32 master tries 3 times
the link establishment.
In order to do this the following commands have to be entered one time on
the ARF32 master with for example the “Simply Blue Commander Software:
> Store default connection request :
02 52 13 0A 00 6F 01 01 01 34 BE 1F 17
00 08 01 03
< Store default connection confirm
02 43 13 01 00 57 00 03
In bold : address of the target bluetooth module.
> Write operation mode (auto) request :
< Write operation mode confirm
02 52 4A 01 00 9D 01 03
02 43 4A 01 00 8E 00 03
Advanced commands
Other commands are available in command mode. Please refer to the
National Semiconductors “Simply Blue Commander Software and “Software
User Guide”
Ref. 08-07-V10-ltu
p 16
TOP
ARF32 User Guide
Specifications
Rough data rate
723 Kbps
UART programmable data
rates
UART ports
Standards from 9.6 to 921.6 kbps
TXD - RXD - RTS – CTS
Frequency
FHSS / 2.402 to 2.480 GHz
Radiated RF power
2 mW (3 dBm)
Sensitivity
-85 dBm for BER 10-3/ PN9
Operating range
>20 m when plugged (with exclusion
zone)
Operating voltage
3.3V nominal (2.85 to 3.6 V)
Transmission current
40 mA (60mA peak)
Connected current
< 15mA
Listen current
5mA
Power Down current
250µA
Operating temperature
-35°C / +70°C
Dimensions
20 x 24 x 4 mm
References :
ARF7044A : Plugged Bluetooth® Class 2 Complete Module
ARF7069B : RS232 Demo Kit
Ref. 08-07-V10-ltu
p 17
A
RF32
User Guide
ARF7469 DemoKit schematics
Ref. 08-07-V10-ltu
p 18
TOP
A
Ref. 08-07-V10-ltu
RF32
User Guide
p 19
TOP