View
6
Download
0
Category
Preview:
Citation preview
BLE Module Specification
Revision: 20130109 PCB board number:ACEBLE/AU4X
Authors: Jeffery Peng, Charlie Xia Ace Sensor Inc.
Version 4: Jan. 9th 2013
Every reasonable effort has been made to ensure the information and procedures detailed in this guide are complete and accurate at the time of printing. However, information contained in this guide is subject to change without notice.
© Copyright of Ace Sensor Inc. 2012, 2013. All rights reserved.
The copyright in this work is vested in Ace Sensor Inc. and the information contained herein is confidential. This work (either in whole or in part) must not be modified, reproduced, disclosed or disseminated to others or used for purposes other than that for which it is supplied, without the prior written permission of Ace Sensor Inc.. If this work (or any part of it) is provided to a party ("Other Party") under a contract between Ace Sensor Inc. and the Other Party, then the use of the work by the Other Party shall be governed by the provisions of the contract.
Tab1. A2. I3. B
3.1
3.2
3.3
3.4
3.5
3.6
4. P5. B6. U
1 This (ACE
le of ContAbstract ......Introduction BLE Module1. AU4X-P
2. AU4X-C
3. BLE(CC
4. Zigbee(
5. Pin Defi
6. GPIO M
ProgramminBest PracticeUART Comm
1. Abstra
document deEBLE103/AU
tents .....................................
e Physical LP Physical d
C/ AU4X-U
C2541/CC25
CC2530 Mo
finitions .......
Mapping ......
ng & Debugges ................munication F
act
escribes the U4X-P/AU4
....................
....................ayout ..........
dimensions . .
Physical dim
540) Module
odule Pin La
....................
....................
ging Interfac....................Firmware ....
BLE (Blueto4X-C/AU4X
A 1 O T
Page 1
....................
....................
....................
....................
mensions . ..
e Pin Labels
abels) ...........
....................
....................
ce .........................................................
ooth Low EnX-U) and its f
Ace Sensor Inc.11 – 300 Earl GrOttawa, OntarioTel: 613 366779
....................
....................
....................
....................
....................
...................
....................
....................
....................
....................
....................
....................
nergy, part ofunctions.
rey Dr. Suite 38, K2T 1C1
99 Fax: 613 800
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
of Bluetooth
3,
0-0726
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
................. 1
h 4.0) module
1 2 3 3
3
4
5
6
7
8 9
10
e
2 ACEBceramanten
This basedCC25 http:540& http:541& http:530&
2. Introdu
BLE/BLE-Amic chip or enna design.
AU4X-P:AU4X-C:AU4X-U:
document ded on TI CC2540/2541/25
://www.ti.c&fileType=
://www.ti.c&fileType=
://www.ti.c&fileType=
uction
AU4X seriesexternal ante
PCB antenn: Ceramic ch: UFL antenn
escribes the 540/2541 BL
530 can be fo
com/generpdf
com/generpdf
com/generpdf
are Bluetoonna. The ser
na, 15mm*2hip antenna,na,15mm*
ACEBLE10LE and CC2ound at
ral/docs/lit/
ral/docs/lit/
ral/docs/lit/
A 1 O T
Page 2
oth Low Eneries include t
0mm 15mm*22.5
*22.5mm
03/AU4X-P/2530 Zigbee
/getliteratu
/getliteratu
/getliteratu
Ace Sensor Inc.11 – 300 Earl GrOttawa, OntarioTel: 613 366779
ergy modulesthe followin
5mm
/AU4X-C/AUchips. Tech
ure.tsp?gen
ure.tsp?gen
ure.tsp?gen
rey Dr. Suite 38, K2T 1C1
99 Fax: 613 800
s, completedng models wi
U4X-U BLEhnical details
nericPartNu
nericPartNu
nericPartNu
3,
0-0726
d with PCB, ith different
E modules s of TI
umber=cc2
umber=cc2
umber=cc2
2
2
2
3
3
3
3. BLEM
3.1. AU4X
3.2. AU4X
Ph
odulePh
X-PPhysic
1.5
0.4
8.5
1.2
Physical
X-C/AU4X‐
hysical dime
hysicalL
aldimens
2.9
l dimensions
‐UPhysica
ensions of A
A 1 O T
Page 3
Layout
sions.
15
1.2 0.4
s of AU4X-P
aldimensi
AU4X-C/AU4
Ace Sensor Inc.11 – 300 Earl GrOttawa, OntarioTel: 613 366779
20
P (in millime
ions.
4X-U (in mi
rey Dr. Suite 38, K2T 1C1
99 Fax: 613 800
eters)
illimeters)
3,
0-0726
3
3.3. BLE(
(CC2541/C
CC2540)M
CC2541
CC2540
A 1 O T
Page 4
ModulePin
1 based mod
0 based mod
Ace Sensor Inc.11 – 300 Earl GrOttawa, OntarioTel: 613 366779
nLabels
dule
dule
rey Dr. Suite 38, K2T 1C1
99 Fax: 613 800
3,
0-0726
3
3.4. Zigbe
ee(CC2530
0ModuleP
CC2530
A 1 O T
Page 5
PinLabels
0 based mod
Ace Sensor Inc.11 – 300 Earl GrOttawa, OntarioTel: 613 366779
s)
dule
rey Dr. Suite 38, K2T 1C1
99 Fax: 613 800
3,
0-0726
3
3.5. PinD
PIN-NAMVDD GND NC P2_2 P2_1 P2_0 P1_7 P1_6
SCL
SDA
USB_N USB_P P1_5 P1_4 P1_3 P1_2
P1_1
P1_0
P0_7 P0_6 P0_5 P0_4 P0_3 P0_2 P0_1 P0_0 RST
Definitions
E PIN-TPoweGrounNot uData IData IData IData IData I
I2C c
I2C c
DigitaDigitaData IData IData IData I
Data I
Data I
Data IData IData IData IData IData IData IData IRESE
s
TYPE r nd
used I/O I/O I/O I/O I/O
lock or data I
lock or data I
al I/O al I/O I/O I/O I/O I/O
I/O
I/O
I/O I/O I/O I/O I/O I/O I/O I/O
ET
A 1 O T
Page 6
DESCVoltaGrouNot uConfiConfiConfiConfiConfi
I/O I2C cmodu
I/O I2C cmoduUSBUSBConfiConfiConfiConfiConficurreConficurreConfiConfiConfiConfiConfiConfiConfiConfiEffec
Ace Sensor Inc.11 – 300 Earl GrOttawa, OntarioTel: 613 366779
CRIPTION age 2V – 3.6Vund used figurable I/O pfigurable I/O pfigurable I/O pfigurable I/O pfigurable I/O pclock or data Iule clock or data Iule N on CC254P on CC2540
figurable I/O pfigurable I/O pfigurable I/O pfigurable I/O pfigurable I/O pent 20mA) figurable I/O pent 20mA) figurable I/O pfigurable I/O pfigurable I/O pfigurable I/O pfigurable I/O pfigurable I/O pfigurable I/O pfigurable I/O pctive when at
rey Dr. Suite 38, K2T 1C1
99 Fax: 613 800
V
port port port port port I/O on CC254
I/O on CC254
40 module 0 module port port port port port (driving
port (driving
port port port port port port port port low voltage
3,
0-0726
41
41
3
3.6. GPIO
OMapping
A 1 O T
Page 7
Ace Sensor Inc.11 – 300 Earl GrOttawa, OntarioTel: 613 366779
rey Dr. Suite 38, K2T 1C1
99 Fax: 613 800
3,
0-0726
4 The Bfirmwdebugcan bfind t The fdebugDistaresist StandThis and r
4. Progra
BLE moduleware. In ordegging interfa
be programedthe details of
following is gging interfa
ance betweentor: 2K7, cap
dard 2mm todebugging inelated softw
amming &
e includes ther to programace needs to d using TI’s f the CC Deb
a reference dace is providn the pins is pacitor: 1N.
ouch-pin connterface can
ware.
& Debug
e original TIm the TI CC2
be built. WiCC Debuggbugger here:
design of theded with the 2mm. Thro
nnection can n be used to r
A 1 O T
Page 8
gging Inte
I CC254x/CC254x/CC253ith the interfger hardware: http://www
e programmipins for: Reugh holes di
be used to creprogram th
Ace Sensor Inc.11 – 300 Earl GrOttawa, OntarioTel: 613 366779
erface
C2530 chip 30 chip, a prface, the TI Ce and accompw.ti.com/tool
ming and debueset, VDD, Gimension is
connect to thhe firmware
rey Dr. Suite 38, K2T 1C1
99 Fax: 613 800
which comerogramming CC254x/CCpanying softl/cc-debugge
ugging interGND, P2_2, 0.3-0.4mm.
he debuggingusing TI’s C
3,
0-0726
es with blankand 2530 chip tware. Pleaseer
rface. A 5-piP2_1. Reset
g interface. CC Debugge
k
e
n
er
5Whenfollow
5. BestPn designing wwing recomm
The moduplease useIf the commake sureIf AU4XrecommenPCB boarFor best wcase.
racticeswith the ACmendations. ule’s voltagee a voltage rmmunicatinge that the vo
X-P PCB anded to havrd. wireless sign
CEBLE/AU4
e requiremenegulator.
g host uses altage matche
antenna move the anten
nal, please a
A 1 O T
Page 9
X BLE mod
nt is 2.0-3.6
a different ves on the com
odule is usnna part stic
avoid packin
Ace Sensor Inc.11 – 300 Earl GrOttawa, OntarioTel: 613 366779
dules, please
6V. If the po
voltage than mmunicationsed, for beking out wi
ng the antenn
rey Dr. Suite 38, K2T 1C1
99 Fax: 613 800
e pay attentio
ower supply
the BLE mn ports. est wirelessithout touch
na close to m
3,
0-0726
on to the
is over 3.3V
module, pleas
s signal, ithing the mai
metal parts o
V,
se
t’s in
or
6 The Afirmwcomm4S/5, Pleashttps Follo
1
2
3
6. UARTC
ACEBLE/AUware. This fimunication w iPad 3/4/mi
se install the ://itunes.app
owing the ste. Power the
appropria. After pow
to discove
. After succconductedlayout diaLightblueservice inthen test sdata packoperation
Commun
U4X BLE mrmware can
with the hostini or iPod T
Lightblue apple.com/app/
eps below to e module. Coate voltage. wering the mer the BLE m
cessful compd with 4 pinsagram in pree app to perfon the “Servicserial commuet should nos on Lightbl
nication
modules can bbe used for
t. You’ll neeTouch 5th gen
pp availablelightblue/id5
test the BLEonnect the V
module, pleasmodule and d
pletion of ths: VDD, GNvious sectionorm serial coes Found”. unication. P
ot be over 20lue.
A 1 O T
Page 10
nFirmwa
be shipped winitial testined an iOS deneration.
e at Apple iT557428110
E module VDD and GN
se launch Ligdisplay the U
he 2nd step, aND, P0.2(RX
ns. Once theommunicatioIn “Characte
Please note th0bytes. Pleas
Ace Sensor Inc.11 – 300 Earl GrOttawa, OntarioTel: 613 366779
are
with a serial ng the BLE cevice suppor
Tune App sto
ND pins to a
ghtblue app.UUID and it
a simple seriX), P0.3(TX)e pins are coon as followeristics”, selhat the Baudse refer to sc
rey Dr. Suite 38, K2T 1C1
99 Fax: 613 800
UART comconnectivity rting BLE, e
ore
power sourc
The app shos services, s
al communi, referring to
onnected, youws. Select thelect 0xFFF5.d rate is 1152creenshots b
3,
0-0726
mmunication and simple .g. iPhone
ce with the
ould be ableee below.
cation can bo the pin u can use thee 0xFFF0 . You can 200bps. Eac
below for
be
e
ch
Services F
Character
Found in Lig
ristic: 0xFFF
ghtBlue
FF5
A 1 O T
Page 11
Servi
Send
Ace Sensor Inc.11 – 300 Earl GrOttawa, OntarioTel: 613 366779
ice 0xFFF0
data over se
rey Dr. Suite 38, K2T 1C1
99 Fax: 613 800
erial
3,
0-0726
Recommended