Simply Blue & CP3000
Bluetooth Connectivity
Solutions
Noel Baisa
Device Connectivity Division
Nationals Solution Options
Standard Products
Customizable Products
APPLICATION
PROFILES
ACCESS PROTOCOLS
3rd Party
Bluetooth
Stack Partners
HCM
Host
Stack
Simply Blue!
LMX982x
Modules
LMX9814
Module
SECM
RFCOMM
SDP
L2CAP
CP3BT
Processor
HCI TL
CP3BT
Module
HCI
Bluetooth
Module
LMP
LMX5100
Baseband
ULC
Audio
LMX5251
HCI TL
LLC
Radio
LMX5251
Antenna
Bluetooth is a trademark of Bluetooth SIG, Inc. and is
used under license by National Semiconductor
2003 National Semiconductor Corporation
Recent DCD Awards
CP3000 Communications Processor
Communications Product of the Year
Best new or revised product for the
communications market
Electronics Industry Design Awards 2003
Awarded July 10, 2003 [Link]
LMX9814 WPAN Module
2002 Technology Award Winner
Wireless Design & Development
Reed Business information
Awarded June, 2003
[Link]
2003 National Semiconductor Corporation
Fully-Embedded Bluetooth
System/
/Image
System
System/Image
Processor
Processor
UART,
Microwire/
Microwire/SPI, I2C,
custom
Wireless Digital Camera
Command
Command Interface
Interface
SDP
SDP
SPP
OBEX OPP
OPP
SPP OBEX
RFCOMM
RFCOMM
LL2CAP
2CAP
Link
Link Manager
Manager
Link
Link Controller
Controller
Baseband
Baseband
RF
RF
CP3
CP3BH19
BH19
Programmable
Bluetooth Module
Bluetooth is a trademark of Bluetooth SIG, Inc. and is
used under license by National Semiconductor
2003 National Semiconductor Corporation
CP3000
Connectivity Processors
Evolution of CompactRISC
1994
CR16A CPU core released.
First product is a digital answering machine engine.
1997
CR16B CPU core released.
Enhanced version of CR16A with increased address
space to 2MB, additional instructions and debug
features.
2001
CR16C CPU core released.
Address space increased to 16MB.
2003
CR16C CPU core + Bluetooth LLC released.
CompactRISC continues as CP3000 family.
2003 National Semiconductor Corporation
Programmable and
Customizable Products
Future Families
Quasar
Integration
CR16C
256kB Flash
Bluetooth BB
and radio
CAN or USB
Orion
Adds GPS
Pulsar
Upcoming..
Adds ethernet MAC
Adds DSP, Codec and i2s
CP3BT2x
CP3BT10
CP3BT13
CP3BT2x
Adds AtoD
CP3BT2x
CP3BT0x
CR16C
256kB Flash
Bluetooth BB
Low cost with ROM
CAN or USB
Q203
first samples
Q403
Q204
Q304
Q105
2003 National Semiconductor Corporation
Q305
time
RISC vs CompactRISC
RISC Processor
32-bit data alignment
5 to 11pipeline stages
Can allow for Hyperspeed
(high frequency) clocking
4 byte instructions to
streamline pipelining
Code size is approx. 35%
of CISC
CompactRISC Processor
Traditional RISC load/store
processor architecture, but
enhanced for embedded
control functions
Shortened pipeline (3
stages)
Register file, ALU, Barrel
shifter
Reduced number of
transistors
Less silicon space
Less EMI
Lesshungry,
power
RISC is power and memory
and CISC can lack performance
2003 National Semiconductor Corporation
Processing Efficiency
129%
154% 1953%
http://
www..eembc.
[Link]
[Link]/
com/
274%
CR16C Advantages
100%
86%
90%
86%
! Smaller than ARM7
! Royalty-free Core
! 1 instr./clock cycle
! 0.25mA/MIPS/MHz
! Optimized for Control
85%
83%
80%
89%
89%
Higher Performance
89%
89%
70%
58%
60%
Dhrystone MIPS:
50%
CR16C = 0.48
ARM7 = 0.54
40%
31%
30%
31%
30%
20%
10%
0%
1
Autocorrelation
Convolution
EEMBC Benchmarks v1.1
v1.1
Bit Allocation
FFT
Viterbi
Operation
2003 National Semiconductor Corporation
Memory Usage
RAM Usage
Most RISC machines are tuned to deliver highperformance only with 32-bit aligned data
CompactRISC uses memory more efficiently:
Can access non-aligned data in memory
Instructions operate on 8-, 16-, and 32-bit data types
Dedicated instructions for data type conversions
Code Size
CISCs have denser code than RISCs, because
RISCs use only fixed 4-byte instructions
CompactRISc core uses variable-instruction length
to achieve very high code density
2003 National Semiconductor Corporation
RAM Efficiency
http://
www..eembc.
[Link]
[Link]/
com/
CR16C Advantages
100%
!Smaller RAM Size:
23% 80% savings
Reduced Power
Reduced Cost
90%
RAM Utilization Efficiency
77.1%
80%
70%
60%
47.0%
50%
40.0%
40%
30%
40.0%
37.5%
33.3%
28.5%
20.4% 21.5%
20%
15.6%
15.6%
15.6%
18.8%
18.8% 18.8%
18.8%
10%
0%
1
Autocorrelation
Convolution
EEMBC Benchmarks v1.1
v1.1
Bit Allocation
FFT
Viterbi
Operation
2003 National Semiconductor Corporation
Code Efficiency
100%
90%
Program Storage Efficiency
80%
CR16C Advantages
!Smaller Program Size:
23% 51% savings
Less Flash/ROM
77.2% 76.7%
76.7%
http://
www..eembc.
[Link]
[Link]/
com/
81.5%
81.5% 81.5%
86.9%
86.9% 86.9% 86.7%
70%
60%
53.5% 53.5%
53.5%
49.3% 49.3% 49.3%
50%
40%
30%
20%
10%
0%
1
Autocorrelation
Convolution
EEMBC Benchmarks v1.1
v1.1
Bit Allocation
FFT
Viterbi
Operation
2003 National Semiconductor Corporation
CP3000 Timer Capabilities
Versatile Timer Unit
Multi-Function Timer
Low-Speed / Watchdog
VTU: 4 Independent 16b Timers
MFT: 8/16b Timer Block
Low-Speed Timer Block
Independent Watchdog Timer
2003 National Semiconductor Corporation
CP3000 GPIO Capabilities
Designed for Automotive
and Industrial Environments
Read-Modify-Write Capable
Weak Pull-up for Inputs
Schmitt-Trigger Inputs
Programmable Output Slew
Rate
2003 National Semiconductor Corporation
CP3000 Connectivity
Peripherals
Bluetooth
Lower Link Controller compatible with BlueRF
Full CAN Interface
CAN Specification 2.0B Active
Full-Speed USB Node
USB 2.0 Full-Speed with Seven Endpoint-FIFOs
USART
Programmable baud-rate generator on-chip
Wire+/SPI
master/slave, 8/16-bit, prog. clock generation
[Link]
SMBus/I2C compatible, master/slave
2003 National Semiconductor Corporation
Product Family
Luna
Neptune
CP3
CP3BT10
BT10
CP3
CP3BH18
BH18
CP3BT23
CP3
CP3BT13
BT13
CP3
CP3BH19
BH19
CR16C
256k Flash 10k RAM
10k Data Flash
Bluetooth BB
CAN + UART
or USB + UART
CR16C
256K Flash
CAN or USB
CR16C
256k Flash
Bluetooth BB
and radio
CAN or USB
CP3BT26
CR16C
256k Flash 32k RAM
10k Data Flash
12b/8ch ADC
Bluetooth BB
2xCAN & 4xUART
or CAN, USB & 4xUART
CP3
CP3CN17
CN17
CP3CN23
CP3
CP3UB17
UB17
CP3UB23
Bluetooth is a trademark of Bluetooth SIG, Inc. and is
used under license by National Semiconductor
2003 National Semiconductor Corporation
CP3000 Family
Connectivity Processors
High Performance Connectivity Processors with
wide complement of interfaces including
Bluetooth Baseband Processing
CP3BT10
Connectivity Processor with Bluetooth wireless technology
USB, [Link] and USART interfaces
CP3BT13
Connectivity Processor with Bluetooth technology
CAN, [Link] and USART interfaces
CP3UB17
USB-enabled Connectivity
Processor
Connectivity
Processor
Connectivity
Processor
+
Bluetooth
USB & UART
Interfaces
CP3UB17
CP3BT10
CAN & I2C
Interfaces
CP3CN17
CP3BT13
CP3CN17
CAN-enabled Connectivity
Processor
Bluetooth is a trademark of Bluetooth SIG, Inc. and is
used under license by National Semiconductor
2003 National Semiconductor Corporation
CAN Connectivity Processor
CP3CN17
CompactRISC core
Internal 256kB Program Flash
Internal 8kB Data Flash
Internal 10kB SRAM
8 MIWU, 2MFT, 1VTU, Watchdog
Embedded application development platform
48-pin CSP and 100-pin LQFP Packages
-40C +85C Temperature Range
CAN, UART, I2C, Wire interfaces available for
embedded applications
2003 National Semiconductor Corporation
CP3CN17 Application Example
Encoder
2
H
4
Encoder
6x6
4
Encoder
3
2
H
LIN Bus
CAN Bus
CAN Bus
Set
CP3CN17
Multi-bus 6-way Power Seat Controller with Memory
2003 National Semiconductor Corporation
USB Connectivity Processor
CP3U
B17
CP3UB17
CP3U
B17
CompactRISC core
Internal 256kB Program Flash
Internal 8kB Data Flash
Internal 10kB SRAM
Full-speed USB Node
Seven Endpoint-FIFOs Conforming to USB1.1
Specification
Programmable On-Chip PLL with Multiplier for USB
Dedicated Direct Memory Access Channel for USB
8 MIWU, 2MFT, 1VTU, Watchdog
Embedded application development platform
48-pin CSP and 100-pin LQFP Packages
-40C +85C Temperature Range
2003 National Semiconductor Corporation
CP3UB17 Application Example
M x N Keypad
m
n
CP3UB17
USB
2
Game/Keypad Controller
2003 National Semiconductor Corporation
CP3BT1x Features
All CMOS Design
Multiple Timers
Excellent power consumption
Very Highly Integrated
16-bit RISC Processor Core
Bluetooth DSP
256 kB Program Flash
8 kB Data Flash
10 kB RAM
On-Chip Phase Locked Loop
Dual Clock with Low-Power
Oscillator
Low-power, Idle and Halt Modes
Dual 16-bit Multifunction Timer Unit
Versatile Timer Unit
Watchdog Timer Unit
Power-on Reset Unit
Flexible I/O
BlueRF-Enhanced Interface
Multi-input Wakeup
Schmitt Trigger Inputs
USB Interface
USART Interface
CAN Interface
I2C Interface
Advanced Audio Interface
8/16-bit SPI, Microwire/Plus Interfaces
2003 National Semiconductor Corporation
CP3BT1x
Luna Family
256K Bytes Flash
Program Memory
Application
Bluetooth
Protocol Stack
CR16C
CPU Core
OS
8K Bytes
Flash Data
Memory
10K Bytes
Static
RAM
Bluetooth Lower
Link Controller
1K Byte
RF Interface
Sequencer RAM
Protocol
Core
4.5K Bytes
Data RAM
Timers
VTU
MFT
Watchdog
Multi-Input
Wake-Up
Internal Bus
External
Bus
Interface
USB1.1
Full-Speed
Advanced
Audio
Interface
Wire/SPI
USART
[Link]
(I2C)
Bluetooth is a trademark of Bluetooth SIG, Inc. and is
used under license by National Semiconductor
2003 National Semiconductor Corporation
CP3BT10 Application Example
LMX5251
22
CP3BT10
Codec
1/2
I2C Bus
Codec
2/2
Car Radio Interface with Integrated Wireless Handsfree
2003 National Semiconductor Corporation
CP3BT13 Application Example
Drv
Drv
LMX5251
Drv
Drv
12-17+
CP3BT13
CAN Bus
Instrument Cluster with Wireless Diagnostics
2003 National Semiconductor Corporation
CP3000 Applications
Hands-free
CAN-Wireless Access Points
GPS System
Automatic Tolling
Graphic Displays
Luna
CP3BT13/CP3CN17
Neptune
CP3BT2x/CP3CN23/CP3UB23
DSRC (Digital Short Range Communication)
Roadside Assistance
Driver Information Systems
Infotainment
Car Radio & MP3
Video Distribution System
Web / e-mail
2003 National Semiconductor Corporation
Games
CP3BT2x Features
All CMOS Design
Excellent power consumption
Very Highly Integrated
16-bit RISC Processor Core
Bluetooth DSP
256 kB Program Flash
8kB Data Flash
32kB RAM
12-bit/8-ch A/D Converter
Touchscreen Multiplexer
Random Number Generator
Peripheral
On-Chip Phase Locked Loop
Dual Clock with Low-Power
Oscillator
Low-power, Idle and Halt Modes
Multiple Timers
Dual 16-bit Multifunction Timer
Unit
Versatile Timer Unit
Watchdog Timer Unit
Power-on Reset Unit
Flexible I/O
BlueRF-Enhanced Interface
Multi-input Wakeup
Schmitt Trigger Inputs
USB Interface
USART Interface
Dual I2C Interfaces
8/16-bit SPI, Microwire/Plus
Interfaces
Bluetooth is a trademark of Bluetooth SIG, Inc. and is
used under license by National Semiconductor
2003 National Semiconductor Corporation
CP3BT2x
Neptune Family
256K Bytes Flash
Program Memory
Application
CR16C
CPU Core
Bluetooth
Protocol Stack
OS
8K Bytes
Flash Data
Memory
32K Bytes
Static
RAM
Bluetooth Lower
Link Controller
1K Byte
RF Interface
Sequencer RAM
Protocol
Core
4.5K Bytes
Data RAM
Internal Bus
External
Bus
Interface
USB1.1
Full-Speed
Advanced
Audio
Interface
Wire/SPI
Quad
USART
[Link]
(I2C)
Timers
VTU
MFT
Watchdog
Dual
Controller
Area Network
(CAN)
12-Bit
ADC
Multi-Input
Wake-Up
2003 National Semiconductor Corporation
CP3BT2x Companion Processor
SD/MMC
Flash Card
Smart
Battery
UART
GPIO
Bluetooth
CP3000
CP3000
Connectivity
Processor
USB Client
Touch
Screen
CAN
Keyboard
Brightness
& Backlight
Advantages:
! Allows processors to run more
efficiently
! Reduces Power & BOM
! Provides many flexible interfaces
! Includes Bluetooth Baseband
Processor
Bluetooth is a trademark of Bluetooth SIG, Inc. and
is used under license by National Semiconductor
2003 National Semiconductor Corporation
Handsfree + Networking
Audio and Data Gateway
Radio
WAN
PAN
CP3BT
Embedded Stack
TR
Sw
Radio Link
CAN / BT Bridge
User Interface
Balun
Interfaces to Bluetooth
enabled phone
DSP provides full-duplex
handsfree operation
CAN and UART interfaces
provides data interface to
entertainment &
navigation systems
Connectivity
Processor
Codec
Bluetooth is a trademark of Bluetooth SIG, Inc. and
is used under license by National Semiconductor
CAN
UART
!
"
"
DSP
2003 National Semiconductor Corporation
CP3BT2x Application Example
Flux
Sensor
Display
CP3BT2x
Codec
1/2
Codec
Ans
0/1
2/2
End
3
4
LMX5251
Rearview Mirror with Compass and
Handsfree Communication
2003 National Semiconductor Corporation
H/F & IVN with CP3BT2x
BT
Radio
BT
B/B
Program
Flash
Flash
DSRC
Radio
GPS
Radio
DSRC
G
P
I
O
GPS
B/B
Air Interface
USB
RAM
B/B
CR16C
AAI
CP3000
AFE
LIN
Phy
UART
CAN
ADC
Vehicle Interface
Codec
DSP
Touch
Human Interface Screen 2003 National Semiconductor Corporation
Off-board Navigation System
2003 National Semiconductor Corporation
CP3BT Tools
Industry Proven Elements
Complete Pre-tested Embedded Bluetooth Developers Kit
Application
Profiles
Bluetooth Stack
Drivers
Compiler
Assembler
Linker
Librarian
Project management
Multi-file source editing
Debugging
3rd party tools integration
Active Emulator
Fast Response
Rapid Debugging
Bluetooth
Development Board
Radio Add-on Board
Turnkey Kit Includes:
!Development Board
!Bluetooth API
!Software Tools
!C Compiler
!Debugger
!In-Circuit Emulator
!Detailed Documentation
2003 National Semiconductor Corporation
Embedded Bluetooth Profiles
J
SDP
SDP
CY2003
J
J
CY2004
J
J
Sync
Sync
BIP
BIP
BIP
BIP
SAP
SAP
SPP
SPP
FTP
FTP
Existing/
/Near
Existing
Existing/Near
Completion
Completion
LAP
LAP
PAP
PAP
OBEX
OBEX
HID
HID
Development
Development
DUN
DUN
OPP
OPP
HSP
HSP
Included Free
As Source
Code
In BDK v1.4!
PAN
PAN
BPP
BPP
Estimate
Estimate
HCRP
HCRP
AADP
AADP
GAVDP
GAVDP
HFP
HFP
Note: Timing and availability subject to change contact NSC for the latest schedule
2003 National Semiconductor Corporation
Bluetooth Development Kit
Calls and Messages
Tool Flow
Bluetooth Functions
HCI
API
2003 National Semiconductor Corporation
Simply Blue
Bluetooth Solution
Bluetooth is a trademark of Bluetooth SIG, Inc. and is
used under license by National Semiconductor
Typical Bluetooth Partition
Host Processor Intrusion:
Bluetooth upper Stack and Profiles
must be ported to Host O/S
Host Processor must manage
Bluetooth real-time requirements
MIPS and Memory Demands:
Bluetooth Host Stack steals Host
processor MIPS and memory
Complex Host Stack (not DIY):
Managing Bluetooth at the HCI level
requires extensive Bluetooth
knowledge (commands & timing)
Stack Partner is generally required
Bluetooth Host Stacks and Profiles
cost money!
Bluetooth is a trademark of Bluetooth SIG, Inc. and is
used under license by National Semiconductor
APPLICATION
PROFILES
ACCESS PROTOCOLS
SECM
HCM
Host
Stack
RFCOMM
SDP
L2CAP
HCI TL
HCI
Bluetooth
Module
HCI TL
LMP
ULC
Audio
LLC
Radio
Antenna
2003 National Semiconductor Corporation
Bluetooth Interface Types
Software
interface
Application
Application
Application
Profiles
Profiles
Profiles
Upper
Layers
Upper
Layers
Upper
Layers
Lower
Layers
Lower
Layers
Lower
Layers
HCI
LMX9814
Simply Blue
LMX9820
Embedded
CP3BT
Host
Bluetooth
Hardware
2003 National Semiconductor Corporation
LMX9820 Interface
Command Interface
Bluetooth hardware
includes basic profiles
Controlappl. / MMI
Host
Command Interface
On-chip Application
controls profiles and
command interface
Application
SDAP
SPP
GAP
Appl. specific
upper layers
Lower Layers
LMX9820
2003 National Semiconductor Corporation
Simply Blue Features
Simply Blue!
Small Footprint Module
Host
10.1 x 14mm
RF Shielded
Antenna-to-bits (excluding antenna and
Crystal only)
UART with H/W flow control (921.6Kbps)
USB2.0 Full-Speed (12MHz slave)
In-field Updateable Flash memory
Bluetooth Technology Pre-certifiable
Application
Cmd Intr
Profiles
Embedded Upper and Lower Layer Bluetooth
Stacks
Embedded Application Specific Profiles
Embedded Command Interpreter Firmware
Limited (even zero) Host intrusion
Near maximum theoretical datarate
(transparent mode)
Simultaneous Data Links with up to 4 Devices
Bluetooth is a trademark of Bluetooth SIG, Inc. and is
used under license by National Semiconductor
Upper
Layers
Lower
Layers
Radio
LMX982x
Module
2003 National Semiconductor Corporation
LMX9820 Serial Port Module
Embedded Profiles: GAP, SDAP, SPP
Command Interface also supports:
DUN, FAX, FTP, OPP
Features:
Transparent Mode (near max
datarates)
Automatic Slave / Transparent
Firmware upgrade (in-field/product)
Programmable Service Database
Programmable UART Speed
Multipoint
Force Master Command
LMX9820
LMX9820
Simply Blue
Bluetooth Module
2003 National Semiconductor Corporation
LMX9820 Block Diagram
LMX9820
JTAG
LNA
CR16C
Core
PA
TR
SW
Digital Smart
Radio
Flash
Firmware
Storage
UART
Bluetooth
LLC
Synthesizer
Interface
Select
Voltage
Regulators
NVS
Data/
Commands
SRAM
GPIO
ENV
2003 National Semiconductor Corporation
LMX9820 UART Settings
UART Speed set via ISEL pins
Both transport layers implemented in one firmware
Choice during boot-up through Interface Select
not connected pins set to 1 by internal weak pull-up
Parity, Stop bits and custom UART speed are stored within NVS
and can be changed with special commands.
ISEL1
ISEL2
Speed
Parity, Stop bit
921.6Kbps
Check NVS
115.2Kbps
Check NVS
9.6Kbps
No parity, 1 Stop bit
Check NVS
Check NVS
2003 National Semiconductor Corporation
LMX9820 Configuration
ENV (environment) pins:
Define the operating mode for general hardware operation
ISP code will enable flash update over UART
not connected pins set to 1 by internal weak pull-up
Operating Environment
ENV1
ENV0
ISP Mode
Run (Normal Mode)
In System programming (ISP):
Updating Firmware over Standard Command Interface
Enabled either with ENV pins or special command
Used for updating the on-chip firmware
2003 National Semiconductor Corporation
Cable Replacement Example
Master
Slave
Simply Blue
Commands
2003 National Semiconductor Corporation
LMX9820 Sample Applications
Data Connectivity:
Mobile Phones
Serial Cable
Replacement
Dongle
Embedded in Host
Access Points
Digital Cameras
Camcorders
Industrial
Medical
Test Equipment
2003 National Semiconductor Corporation
Processor Expert
Browser Based
Graphical
Integrated
Development
Environment
Runs on
Nationals Servers
Configures All
Peripherals based
on GUI settings
Creates Skeleton
Source Code
[Link]
2003 National Semiconductor Corporation
Simply Blue + Webench
Cmd Intr
Profiles
Upper
Layers
Lower
Layers
UART
COP8
COP8
LMX9820
LMX9820
8-Bit Microcontroller
Simply Blue
Bluetooth Module
2003 National Semiconductor Corporation
Simply Blue Details
Part Number LMX9820SB
100 Units
1,000 Units
10,000 Units
$24.60
$19.10
$15.20
Evaluation Kit
BT-TXA-KT1-0-01
Includes
$1000
Texas Motherboard
BTBT-TXATXA-KT1
KT1-0-01
Austin Daughter Card
Simply Blue Daughter Board
Interface Board
Gerber files (layout) for both cards
Simply Blue Commander Software ( Windows based)
Power Supply
Null Modem Cable
Provides customers with working RF board and
intuitive software for managing LMX9820 for a very
small cost allocated over volume and development cost
2003 National Semiconductor Corporation
Thank You!
This seminar will be available in our archive shortly.
If you have additional questions for our presenter, please send
them to our customer response center at
[Link]@[Link].
The online technical journal National Edge is available at
[Link]
Sign up for Nationals biweekly newsletter, News@National by
updating your online profile at
[Link]
2003 National Semiconductor Corporation