參數(shù)資料
型號: LMX9830
廠商: National Semiconductor Corporation
英文描述: BluetoothTM Serial Port Module
中文描述: 藍(lán)牙串口模塊
文件頁數(shù): 34/46頁
文件大小: 664K
代理商: LMX9830
www.national.com
34
L
12.0 Command Interface
The LMX9830 offers Bluetooth functionality in either a self
contained slave functionality or over a simple command
interface. The interface is listening on the UART interface.
The following sections describe the protocol transported on
the UART interface between the LMX9830 and the host in
command mode (see Figure 23). In Transparent mode, no
data framing is necessary and the device does not listen
for commands.
12.1 FRAMING
The connection is considered “Error free”. But for packet
recognition and synchronization, some framing is used.
All packets sent in both directions are constructed per the
model shown in Table 25.
12.1.1 Start and End Delimiter
The “STX” char is used as start delimiter: STX = 0x02. ETX
= 0x03 is used as end delimiter.
12.1.2 Packet Type ID
This byte identifies the type of packet. See Table 26 for
details.
12.1.3 Opcode
The opcode identifies the command to execute. The
opcode values can be found within the “LMX9830 Software
User’s Guide”
included within the LMX9830 Evaluation
Board.
12.1.4 Data Length
Number of bytes in the Packet Data field. The maximum
size is defined with 333 data bytes per packet.
12.1.5 Checksum:
This is a simple Block Check Character (BCC) checksum of
the bytes “Packet type”, “Opcode” and “Data Length”. The
BCC checksum is calculated as low byte of the sum of all
bytes (e.g., if the sum of all bytes is 0x3724, the checksum
is 0x24).
.
Figure 23. Bluetooth Functionality
LMX9830
UART
Existing device
without Bluetooth
capabilities
UART
Table 25. Package Framing
Start
Delimiter
Packet
Type ID
Opcode
Data Length
Checksum
Packet Data
End
Delimiter
1 Byte
1 Byte
1 Byte
2 Bytes
1 Byte
<Data Length> Bytes
1 Byte
- - - - - - - - - - - - - Checksum - - - - - - - - - - - - -
Table 26. Packet Type Identification
ID
Direction
Description
0x52
‘R’
REQUEST
(REQ)
A request sent to the Bluetooth module.
All requests are answered by exactly one confirm.
0x43
‘C’
Confirm
(CFM)
The Bluetooth modules confirm to a request.
All requests are answered by exactly one confirm.
0x69
‘i’
Indication
(IND)
Information sent from the Bluetooth module that is not a direct confirm to a request.
Indicating status changes, incoming links, or unrequested events.
0x72
‘r’
Response
(RES)
An optional response to an indication.
This is used to respond to some type of indication message.
相關(guān)PDF資料
PDF描述
LMX9830SM BluetoothTM Serial Port Module
LMX9830SMX BluetoothTM Serial Port Module
LMX9838 Bluetooth Serial Port Module
LMX9838SB Bluetooth Serial Port Module
LMX9838SBX Bluetooth Serial Port Module
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
LMX9830DONGLE 功能描述:藍(lán)牙/802.15.1 開發(fā)工具 LMX9830 BLUETOOTH EVAL KIT RoHS:否 制造商:Panasonic Electronic Components 產(chǎn)品:Bluetooth Evaluation Kit 工具用于評估:PAN1721 頻率:2.4 GHz 接口類型:I2C 工作電源電壓:2 V to 3.6 V
LMX9830DONGLE/NOPB 制造商:Texas Instruments 功能描述:Evaluation Kit For Bluetooth Serial Port Module
LMX9830SM 制造商:NSC 制造商全稱:National Semiconductor 功能描述:BluetoothTM Serial Port Module
LMX9830SM/NOPB 功能描述:射頻收發(fā)器 RoHS:否 制造商:Atmel 頻率范圍:2322 MHz to 2527 MHz 最大數(shù)據(jù)速率:2000 Kbps 調(diào)制格式:OQPSK 輸出功率:4 dBm 類型: 工作電源電壓:1.8 V to 3.6 V 最大工作溫度:+ 85 C 接口類型:SPI 封裝 / 箱體:QFN-32 封裝:Tray
LMX9830SMX 制造商:NSC 制造商全稱:National Semiconductor 功能描述:BluetoothTM Serial Port Module