Vous êtes sur la page 1sur 23

ARF52 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 +33 (0)4 76 92 07 77


Fax +33 (0)4 76 08 97 46

Ref. 08-12-V5-pcy
RF52
A User Guide

Table of Contents
Table of Contents.............................................................................. 1

About this Document ........................................................................ 2

Declaration of conformity ................................................................. 3

Overview........................................................................................... 4

Interface ........................................................................................... 4
Mechanical specification........................................................................ 4
Signal description ................................................................................. 6

Profiles.............................................................................................. 7
SPP wiring and configuration................................................................. 7
DUN wiring and configuration ............................................................... 8

Module operating mode .................................................................... 9


Command mode................................................................................. 10
Transparent mode.............................................................................. 10

Remote control configuration ......................................................... 11

AT Commands ................................................................................. 11
Description ........................................................................................ 11
Set of commands ............................................................................... 12
Register description............................................................................ 14
Recommended exclusion zone around antenna .................................... 18

Specifications.................................................................................. 19

Annex 1 : Firmware and document updates ................................... 21

Ref. 08-12-V5-pcy
p1

TOP
RF52
A User Guide

About this Document

This guide describes the ARF52 devices, their options and accessories.

Ref. 08-12-V5-pcy
p2

TOP
RF52
A User Guide

Declaration of conformity

Manufacturer’s name: ADEUNIS R.F.


Manufacturer’s address 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: ARF52
Product Number(s): ARF7456A
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 pre-compliance qualification of end products. In case of no-conformity, ADEUNIS
RF will not be held back responsible if this stage has not been realised.

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 : arf@adeunis-rf.com
Ref. 08-12-V5-pcy
p3

TOP
RF52
A User Guide

Overview

RF52
The A Bluetooth class 1 module enables Bluetooth® compliant duplex
communications over a 150-meter range in the worldwide 2.45 GHz
frequency band.

RF52
The A module fully complies with the V2.0+EDR Bluetooth® standard
and data rate goes up to 3 Mbps. Data exchange and set-up are only done
through an UART data port, under SPP profile. A miniature antenna is
integrated.
RF52
A can be used in two modes : command mode and transparent mode.
The command mode is used to established Bluetooth communications and
set/get parameters. The transparent mode is used for data exchange.
The module converts data from a serial link into a Bluetooth® radio frame to
be sent to a similar piece of equipment. The communication is half-duplex.
The operating parameters of the Bluetooth module (serial link, Bluetooth®
management…) can be fully updated through AT commands via the serial
RF52
link. A modules are available as standalone ARF7456 module or in a
DemoKit. This DemoKit can be fully set-up using a PC terminal. We
recommend reading the “specification of the Bluetooth® system core 2.0 +
EDR” document available at the www.bluetooth.com web site.

Interface

Mechanical specification (cf next page)

Ref. 08-12-V5-pcy
p4

TOP
RF52
A User Guide

Ref. 08-12-V5-pcy
p5
RF52
A User Guide

Signal description

14 pins 1,27mm male SMD connector.

Interface
Name I/O Description
Pin
Digital interface

1,10,11 GND Ground


13 VDD_DIG Digital voltage 3,3V +/- 10%
14 VDD_ANA Analog voltage 3,3V +/- 10%
4 TXD O Serial data transmission
6 RXD I Serial data reception
I Clear To Send
2 /CTS CTS = GND, the DCE is able to receive serial data
CTS = VDD, serial data received by the DCE are lost
O Request To Send
3 /RTS RTS = GND , the DTE is able to receive serial data
RTS = VDD , serial data received by the DTE are lost
12 /RESET I Reset signal
I/O Data Terminal ready
9 (PIO7) DTR Output for the Slave
Input for the Master
I/O Data Set Ready
5 (PIO6) DSR Input for the Slave
Output for the Master
I/O Ring
7 (PIO5) RI Input for the Slave
Output for the Master
I/O Data Carrier Detect
8 (PIO4) DCD Input for the Slave
Output for the Master

Ref. 08-12-V5-pcy
p6

TOP
RF52
A User Guide

Profiles

The module supports 2 different profiles: SPP and DUN.

A basic module configuration is provided as a guideline for each profile (for


more details or customisation see § AT commands).
The module can be configured using a terminal at 9600 baud, 8 bits, 1 stop,
HW flow control (default serial configuration)

SPP wiring and configuration

SPP (Serial Port Profile) is the standard Bluetooth® profile.

GND GND GND GND


RI RI Adeunis Adeunis RI RI
DTR DTR Bluetooth Bluetooth DTR DSR
PC RTS CTS Module Module RTS CTS PC
(DTE) RD TD RD TD (DTE)
CTS RTS Master Slave CTS RTS
TD RD TD RD
DSR DSR DSR DTR
DCD DCD DCD DCD

SPP configuration guideline : in the following example, the Master is


configured to performed an auto-connection on reset.

1. Master configuration : enters the command mode using the A+++


sequence. When the <OK> answer is receive, send the following commands:

2. ATS202=1 (auto-connect on reset)


ATS220=1 (SPP profil, default value)
ATS203= slave BT address (use ATINQ 0,10 command to discover
the slave @)
AT&W (save the configuration)

Ref. 08-12-V5-pcy
p7

TOP
RF52
A User Guide

3. Slave configuration : enters the command mode and then send the
following commands:
ATS202=0 (auto-connect disable, default value)
ATS220=1 (SPP profil)
AT&W (save the configuration)

4. Perform a power cycle on both modules. The modules are now in


transparent mode; the link will be established automatically on reset by the
master.
When the link is established data can be exchanged using the serial link.

5. Caution the BT connection establishment can take up to 10


seconds (you can check this establishment in command mode using the AT&L
command).

DUN wiring and configuration

DUN (Dial up Network) profile is above the SPP profile. This profile manages
the 4 lines DTR, DSR, DCD and RI and is dedicated to PSTN or GSM modems.

GND GND GND GND


RI RI RI RI
DTR DTR DTR DSR
PC Adeunis Adeunis MODE
RTS CTS RTS CTS
(DTE) Bluetooth Bluetooth M
RD TD RD TD
Module Module (DCE)
CTS RTS CTS RTS
Master Slave
TD RD TD RD
DSR DSR DSR DTR
DCD DCD DCD DCD

DUN configuration guideline : in the following example, the Master is


configured to performed an auto-connection on DSR.

Ref. 08-12-V5-pcy
p8

TOP
RF52
A User Guide

1. Master configuration : enters the command mode using the A+++


sequence. When the <OK> answer is receive, send the following commands:
ATS202=2 (auto-connect on DTR)
ATS220=2 (Dun profil)
ATS203= slave BT address (use ATINQ 0,10 command to discover
the slave @)
AT&W (save the configuration)

2. Slave configuration : enters the command mode and then send the
following commands :
ATS202=0 (auto-connect disable, default value)
ATS220=2 (Dun profil) AT&W (save the configuration)

3. Exit the command mode or perform a power cycle on both


modules. The modules are now in transparent mode; the link will be
established when the DTR is activated on the master.
When the link is established data can be exchanged using the serial link.

4. Caution the BT connection establishment can take up to 10


seconds (you can check this establishment either in command mode using
the AT&L command or by checking report of a remote signal).

DTR/DSR/RI and DCD I/O configuration :


¾ These lines are set as inputs while the connection is not
established or released,
¾ And set as input and output according to the DUN illustration and
to the description done in signal description table.

Module operating mode

Two operating modes are available :


- Command mode (usage of AT commands and SPP_CONFIG mode)
- Transparent mode (serial data are transmitted on radio link).

At power up the transceiver is in transparent mode according to the registers


configuration. The boot time is about 1s.
Ref. 08-12-V5-pcy
p9

TOP
RF52
A User Guide

Command mode

The command mode is used to read and update the modem configuration
registers using AT commands.
In command mode, the radio is inhibited (reception and transmission),
excepted when using test command.

Entering command mode : issues on the serial link a A+++ sequence.


The sequence A+++ characters is accepted only if no character has been
seen before and after the A+++ sequence. Register (S214) defines the
silence duration.

Tips : if you are using a terminal (such as Hyperterm), you have to send the
A+++ sequence using a text file (first create a text file containing only the
A+++ characters, and then use in Hyperterm the command “Send text file”
in the “Transfer menu”)

Exiting command mode (return back in transceiver mode) : send the serial
command
ATO <cr>

Transparent mode

In transparent mode, data received from the serial link are transmitted on
the radio link. When data are received on the radio link, these data are sent
on the serial link.

Ref. 08-12-V5-pcy
p 10

TOP
RF52
A User Guide

Remote control configuration

SPP_CONFIG mode is used to remotely configure the slave module through


the master module serial link. This is done, on master side, in 4 steps :

Activation of the SPP_CONFIG mode using the ATC1 command. When this
mode is activated, the command issued on the master will be ignored by the
master and transmitted to the slave by radio.
Slave configuration : send command to the slave using the Master serial link.
When the remote configuration is done, the master must sent an AT&W
command to the slave (the AT&W command is mandatory because the slave
reboots when the master leaves the SPP_CONFIG mode or when the RF link
is loosed).
Leaving of the SPP_CONFIG mode using the ATC0 command.

AT Commands

Description

AT commands are interpreted only when the module is in Command


mode.

Commands : are used to read and update the modem parameters


A command starts with the 2 ASCII ‘AT’ characters. ‘AT’ means ‘Attention’
follow with one or several characters or other data.
Each command is ended with <cr> (carriage return).
In the same command, the time between 2 characters must be less than 10s.

Response : is sent back for each command on the serial link. The answer is:
<cr><lf ‘OK’<cr><lf> (ASCII character 0x4F) for accepted command (or
OK command)
<cr><lf ‘ERROR’<cr><lf> for error
• Specific string when specified
Ref. 08-12-V5-pcy
p 11

TOP
RF52
A User Guide

Set of commands

The SPP CONFIG column indicates whether the command is available or not
when the module is in SPP CONFIG mode (ATC1 command).

Commands Description SPP


CONFIG
Operating mode selection
ATO Return back to transparent mode. NO
<silence>A+++ Command mode activation. The A+++ sequence must be NO
<silence> preceded and followed by a calibrated silence (no other
character)
Registers management

ATSn? Displays the Sn register content where n represents the YES


register number.
The response has the following format:
Sn=y<cr><lf>
ATSn=m Sets the Sn register value with ‘m’. n represents the YES
register number..
AT&W Saves the new register configuration in EEPROM. Each YES
time you switch on the modem, the EEPROM
configuration will be loaded in the modem registers.
AT&V Displays all register values. The response has the YES
following format:
Sxxx=y<cr><lf> for each register.
AT&F Restore register default values (Refer to Annexe 1 – Page 22) YES
BT LINK management
ATINQ<space> Launch Bluetooth inquiry of devices for a duration d NO
MaxDevice, multiple of 1.28s <1..48>, for maximum n (0=unlimited,
TimeOut 1= one device, …) devices
Return BT address and class of device of each peripheral
Example : ATINQ 0,10
ATD<space>Blu Establish Bluetooth link with device <Bluetooth address> NO
etooth address Link established : answer ‘OK’<cr><lf>
Link not established : answer ‘NO CARRIER’<cr><lf>
Example : ATD 0018B2000110
ATH Release Bluetooth link NO
AT&L Link connection status. released or established NO

Ref. 08-12-V5-pcy
p 12

TOP
RF52
A User Guide

AT&RSSI RSSI indicator NO


Link established : answer -xx dBm<cr><lf> (-45 dBm for
example)
Link not established : answer ‘LINK RELEASED<cr><lf>’
• RSSI > -70 dBm : Excellent receipt
• -70 > RSSI > -80 dBm : Good receipt
• -80 > RSSI > -90 dBm : Poor receipt
• RSSI < -90 dBm : Bad receipt
Miscelleanous
ATI Software version display. The response has the following YES
format:
Adeunis RF : 7456 Vxx.yy<cr><lf>
ATC0 Exit SPP Config mode YES
ATC1 Enter SPP Config mode NO

Test modes
AT&T0=xxxx,yyy Continuous transmission at xxxx (2402<=xxxx<=2480) NO
yy,zzzzz MHz, with a designated output power yy
(0<=yyyy<=65530) and designated tone modulation
frequency zzzzz (0<=zzzzz<=65535).
Example : AT&T0=2450,65530,0
AT&T1=xxxx, Enables the transmitter at xxxx (2402<=xxxx<=2480) NO
yyyyy MHz, with a designated output power yy (0<= yyyyy
<=65530). Payload is PRBS9 data.
Example : AT&T1=2450,65530
AT&T2=x, yyyyy Enables the transmitter with a simplified hop sequence NO
designated by the country code x (0<=x<=3), with a
designated output power yy (0<=yyyy<=65535).
Payload is PRBS9 data.
Example : AT&T2=0,65530
AT&T3=xxxx,y,z Enables the receiver in continuous reception at xxxx NO
z (2402<=xxxx<=2480) MHz, with a choice of low (y=0)
or high (y=1) side modulation and a designated
attenuation zz (0<=zz<=15).
Example : ATT&T3=2450,0,0
AT&T4=xxxx, Test loopback at xxxx (2402<=xxxx<=2480) MHz, with a NO
yyyyy designated output power yy (0<= yyyyy <=65530).
Example : AT&T4=2450,65530

Ref. 08-12-V5-pcy
p 13

TOP
RF52
A User Guide

Register description

The register value could be updated using the ATSn=m<cr> command and
displayed using Aton?<cr> command.

At power-up, the previous transceiver configuration is read from E2PROM


(non volatile) and stored in RAM. The registers are located in RAM, any
modification is performed in RAM: To save current register configurations, it
is necessary to use the AT&W<cr> command (If not, the updated
parameters are lost in case of power shortage).

The registers are shared in 2 types: read only (R) or read/write (R/W)

Type Register Function Description Default Link


value disconnec
tion if
register
value
change
Bluetooth management
R S200 Local Local Bluetooth address of NO
Bluetooth the module
address The local BT address is
read only.

R/W S201 Local Device name “Serial Port YES


device must be lower or equal Device”
name than 32 bytes

R/W S202 Auto- Auto-connect mode : 0 YES


connect 0 = disable
mode 1 = Auto-connect on reset
or power up
2 = Auto-connect on GPIO
(DTR)

R/W S203 Remote Remote Bluetooth address 0000000000 YES


Bluetooth used with auto-connect 00h
address mode enabled.

Ref. 08-12-V5-pcy
p 14

TOP
RF52
A User Guide

R/W S204 reconnecti Reconnection management 255 YES


on used with auto-connection
managem mode
ent Send ‘NO CARRIER’
<cr><lf> in case of no
connection
0 : no reconnection
N : number of retries
(N<>0 and N <>255)
255 : always

R/W S205 Pin code Pin code of the module 0000 YES
must be lower or equal
than 16 bytes

R/W S206 Encryption Encryption type : 0 YES


‘0’ = disabled
‘1’ = enabled

R/W S207 Security Security type : 0 YES


‘0’ = disabled the pin code
demand
‘1’ = enabled the pin code
demand

R/W S208 Class of 0xXXXXXX 000000h YES


device
Serial link
R/W S210 Baudrate Serial link rate in bits/s, 4 NO
IMPORTANT see Note 1 (See Note 1)

‘4’: 9 600
‘5’: 19 200
‘6’: 38 400
‘7’: 57 600
‘8’: 115 200
For baudrates above
115200 bits/s be sure
that your system can
support the speed.
‘9’ : 230 400
‘10’ : 460 800
‘11’ : 921 600

R/W S211 Data ‘8’ : 8 bits, see Note 1. 8 NO


length

Ref. 08-12-V5-pcy
p 15

TOP
RF52
A User Guide

R/W S212 Parity see Note 1. 1 NO


‘1’ : none
‘2’ : even
‘3’ : odd

R/W S213 Stop bits see Note 1. 1 NO


‘1 ‘ : 1 stop bit
‘2’ : 2 stop bit

R/W S214 Command Time out duration for 50 NO


timeout detecting the A+++
pattern, unit 1/50s
(20ms) : from 1 up to
255x50ms.

R/W S215 Flow Flow control management : 1 NO


control 0 : disable (RTS/CTS
management)
1 : enable (RTS/CTS
management)
Modifying is enable after
ATO command which
reboot the system.
Protocol
R/W S220 Protocol ‘1’= SPP 1 YES
‘2’= DUN
R/W S230 Sniff 0 : not used 0 YES
mode 1 : very low power
consumption and low
throughput
2 : low power consumption
and medium throughput
3 : low power consumption
and maximum throughput
4 : customer sniff mode
(Bluetooth expert only) –
use parameters S231..S234

R/W S231 Sniff see Note 2. 800 YES


parameter 6..1344
Max Wake-up duty cycle
interval (Tsniff) – multiply 625us

Ref. 08-12-V5-pcy
p 16

TOP
RF52
A User Guide

R/W S232 Sniff see Note 2. 80 YES


parameter 0..1342
Min Sniff offset (Dsniff) –
interval multiply 625us
Dsniff must be lower or
equal to Tsniff-2
R/W S233 Sniff 0..672 8 YES
parameter Number of slots listen
Attempt by slave during wake-up
Sniff parameter attempt
must be lower than
Tsniff/2
R/W S234 Sniff 0..40 8 YES
parameter Number of additional
Timeout slots listen by slave
during wake-up

The column “link disconnection if register value change” does not


apply if the modification is done remotely (for a slave configured
using the SPP CONFIG mode).

NOTE 1
when changing the serial link configuration (rate, parity, stop bit…), the
answer is done using the old serial link format, the next command must be
sent using the new serial format.
IMPORTANT : Firmware version dependant – Refer to Annexe 1 – Pg 22

NOTE 2

RUN SLEEP RUN SLEEP


Wake-up time
Wake-up duty cycle
Tsniff Dsniff

Ref. 08-12-V5-pcy
p 17

TOP
RF52
A User Guide

Recommended exclusion zone around antenna

Ref. 08-12-V5-pcy
p 18

TOP
RF52
A User Guide

Specifications

Embedded profiles GAP, SDAP, SPP, DUN

Link set-up and status Through Hayes commands

Radio rough data rate 723 kbps Bluetooth radio rate bps (3Mbps on
EDR mode)

UART programmable format Serial rate from 9600 bps to 921 600 bps

UART TTL ports TD – RD – RTS – CTS (& DTR-DSR-DCD-RI /


DUN profile)

Operating-mode Transparent

RF radiated power 20 dBm (100 mW – Class 1)

Sensitivity Up to -87 dBm for 10-3/PN9

Operating range (outdoor) Integrated antenna : up to 150 m

Operating voltage 3 to 3.6 V

Waiting for connection 3 mA


consumption

Connected consumption 6 mA

Burst transmission 300 mA (Better to use a 500 mA regulator)


consumption (max)

Ref. 08-12-V5-pcy
p 19

TOP
RF52
A User Guide

Transmission consumption 50mA


(typical value in file transfer)

Operating temperature -20°C / +70°C

Dimensions 33 x 18 x 6 mm

Standards compliance EN 300-328 / EN 301 489

References

ARF7456A : Bluetooth® Class 1 Module


ARF7504A : RS232 interface - RS232 Demo Kit

Ref. 08-12-V5-pcy
p 20

TOP
RF52
A User Guide

Annex 1 : Firmware and document


updates

Firmware Updates

ARF745XXB- Firmware default data rate is now 9600 bps. Default data
V1.06 rate is 9600 bps and “Restore register default value –
AT&F” gives data rate back to 9600 bps

ARF745XXA- AT&RSSI introduction. Default data rate is set to 9600


V1.05 bps but “Restore register default value – AT&F” will
give data rate back to 115 kbps !!!

V1.03 DUN + SPP profile with auto-connect on DTR Default data rate
is set to 9600 bps but “Restore register default value – AT&F” will give data
rate back to 115 kbps !!!

V1.0 Original version Default data rate is set to 9600 bps but “Restore register
default value – AT&F” will give data rate back to 115 kbps !!!

Document Updates

V5.0 PCY – baudrate modifications

V4.0 Defaut data rate is now 9600 bps (Firmware version


dependant!!!)

V3.1 AT&RSSI command + command/register additional


information

V3.0 SPP + DUN quick start up

V2.0 CE Conformity correction + Detailed consumption & Picture


addition

V1.0 Original version

Ref. 08-12-V5-pcy
p 21

TOP

Vous aimerez peut-être aussi