数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

WT21 数据表(PDF) 13 Page - List of Unclassifed Manufacturers

部件名 WT21
功能描述  WT21 EVALUATION KIT
PDF  16 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  ETC2 [List of Unclassifed Manufacturers]
网页  
标志 ETC2 - List of Unclassifed Manufacturers

WT21 数据表(HTML) 13 Page - List of Unclassifed Manufacturers

Back Button WT21 Datasheet HTML 8Page - List of Unclassifed Manufacturers WT21 Datasheet HTML 9Page - List of Unclassifed Manufacturers WT21 Datasheet HTML 10Page - List of Unclassifed Manufacturers WT21 Datasheet HTML 11Page - List of Unclassifed Manufacturers WT21 Datasheet HTML 12Page - List of Unclassifed Manufacturers WT21 Datasheet HTML 13Page - List of Unclassifed Manufacturers WT21 Datasheet HTML 14Page - List of Unclassifed Manufacturers WT21 Datasheet HTML 15Page - List of Unclassifed Manufacturers WT21 Datasheet HTML 16Page - List of Unclassifed Manufacturers  
Zoom Inzoom in Zoom Outzoom out
 13 / 16 page
background image
6.3.2 UART baudrate negotation
When PIO4, CLK and CMD are all pulled low, BCSP over UART is selected. The speed for this initial
communication should be between 57600bps and 115200bps and must use even parity.
Since the WT21 doesn't know its internal clock frequency nor the baud rate it should communicate at, a form
of baud rate auto-negotiation is implemented on the module. The host needs to send some data packets so
that the WT21 can assess the baud rate the host uses.
Any seemingly non-uniform data can be used but for BCSP sending Link Establishment packets is the natural
choice. Once the WT21 has received enough samples it will start communicating back to the host by replying
to the Link Establishment messages.
Since the H4 doesn't have any link protocol, repeated queries for some known value can be used. Once the
host has started receiving replies for the queries, it can be assumed that that the baud rate has been
established.
Note:
The number of packets the WT21 will need for assessing the baud rate is dependent on the host's UART hardware. With poor
quality UARTs the auto-negotiation may fail, which means the WT21 will use an incorrect baud rate to communicate back. The
host will see this as packets of garbage, i.e. full of crc errors and checksum errors when using BCSP. To restart the negotiation
the host will need to reset the WT21. The host should have some way to power cycle the WT21 to restart the baud rate
negotiation, either by controlling the reset pin or directly the module's VCC.
6.3.3 Loading the PS keys
Once a communications link has been established, BCCMD packets are used to load PS Keys. At least the
following PS Keys need to be set:
Key address
Value
Description
&0001
00dd eeff 00cc aabb
Bluetooth address (aa:bb:cc:dd:ee:ff)
&01be
01d8
UART baud rate (01d8 = 115200)
&01fe
6590
Chrystal frequency. Do not modify.
&025d
0001
VM disable. Do not modify.
&01f9
0001
Host interface, (0001 = BCSP)
For the host interface the following protocols are supported:
BCSP 0001
H4 0003
H5 0006
H4DS 0007
To activate the changes the command for warm reset is sent to the WT21.
After this the module will immediately reboot using the configured settings and thus switch to the specified
baud rate.
Bluegiga Technologies Oy
Page 13 of 16



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com