23
® www.xilinx.com Host Controller Interface Inside Bluetooth RF (radio and antenna) Audio (SCO) Control Audio (SCO) Control L2CAP Baseband Link Manager Transport Interface Application RFCOMM SDP Data (ACL) Data (ACL) Host Bluetooth Module Transport Bus Host Application API and Legacy Support Modules Bluetooth HCI Driver Physical I/F Physical I/F HCI Firmware Logical Link Control & Data Adaptation Physical Link Control Data Processing & Transmission Mgmt. Transmission/Reception

Application Audio (SCO) Control RFCOMM SDP API and Legacy …ebook.pldworld.com › _Semiconductors › Xilinx › eSP_Preview › ... · 2000-11-16 · Host Controller Interface

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Application Audio (SCO) Control RFCOMM SDP API and Legacy …ebook.pldworld.com › _Semiconductors › Xilinx › eSP_Preview › ... · 2000-11-16 · Host Controller Interface

®

www.xilinx.com

Host Controller Interface

Inside Bluetooth

RF (radio and antenna)

Audi

o (S

CO)

Cont

rol

Audi

o(S

CO)

Con

trol

L2CAP

BasebandLink Manager

Transport Interface

ApplicationRFCOMM SDP

Data (ACL)

Data (ACL)Host

Blue

toot

hM

odul

e

Transport Bus

Host Application

API and Legacy Support Modules

Bluetooth HCI Driver

Physical I/F

Physical I/F

HCI Firmware

Logical Link Control & Data Adaptation

Physical Link Control

Data Processing & Transmission Mgmt.

Transmission/Reception

Page 2: Application Audio (SCO) Control RFCOMM SDP API and Legacy …ebook.pldworld.com › _Semiconductors › Xilinx › eSP_Preview › ... · 2000-11-16 · Host Controller Interface

®

www.xilinx.com

L2CAP Logical Link Control and Adaptation Protocol

w Manages the creation and termination of virtualconnections with other Bluetooth devices— Negotiates and/or dictates parameters

– Including Security and Quality of Service (QoS)

w Manages ACL data flow between the host and LinkManager— Multiplixing of multiple concurrent host I/O operations— Segmentation And Reassembly (SAR) of various data

formats for baseband compatibility

Page 3: Application Audio (SCO) Control RFCOMM SDP API and Legacy …ebook.pldworld.com › _Semiconductors › Xilinx › eSP_Preview › ... · 2000-11-16 · Host Controller Interface

®

www.xilinx.com

Link Manager

w Physically manages creation, configuration, andtermination of device to device links

w Also manages ACL data flow between the L2CAPand Baseband through established links— Forwards data from the L2CAP to the Baseband with

its associated link specific transmission parameters— Forwards data from the Baseband back to the L2CAP

associated to its specific source link

Page 4: Application Audio (SCO) Control RFCOMM SDP API and Legacy …ebook.pldworld.com › _Semiconductors › Xilinx › eSP_Preview › ... · 2000-11-16 · Host Controller Interface

®

www.xilinx.com

Baseband

w Performs all digital data processing operations— Speech coding— Data whitening— Optional encryption/decryption— Packetization— Header and payload error detection and correction

w Calculates and controls transmission frequency— Supporting Bluetooth’s 80 channel Frequency

Hopping (FH) spread spectrum transmission method

Page 5: Application Audio (SCO) Control RFCOMM SDP API and Legacy …ebook.pldworld.com › _Semiconductors › Xilinx › eSP_Preview › ... · 2000-11-16 · Host Controller Interface

®

www.xilinx.com

How Does Bluetooth Work?

Master

Active Slave

Parked Slave*

Standby*

N

J

F

IC

D

M

OP

Q

Operational States

* Low power state

Page 6: Application Audio (SCO) Control RFCOMM SDP API and Legacy …ebook.pldworld.com › _Semiconductors › Xilinx › eSP_Preview › ... · 2000-11-16 · Host Controller Interface

®

www.xilinx.com

In the Beginningw Initially Bluetooth devices only know about themselves

— Everyone passively monitors in Standby mode— No devices are synchronized

D

A

E

B

C

F

KJ

H G

I

MN

L

PO

Q

Page 7: Application Audio (SCO) Control RFCOMM SDP API and Legacy …ebook.pldworld.com › _Semiconductors › Xilinx › eSP_Preview › ... · 2000-11-16 · Host Controller Interface

®

www.xilinx.com

InquiryDiscovering Who’s Out There

D

A

w Inquiry discovers what other devices within range

10 meters

H MN

L

PO

Q

B

C

F

KJ

G

I

E

H

Page 8: Application Audio (SCO) Control RFCOMM SDP API and Legacy …ebook.pldworld.com › _Semiconductors › Xilinx › eSP_Preview › ... · 2000-11-16 · Host Controller Interface

®

www.xilinx.com

D

E

F H G

I

KJ

PagingCreating a Piconet

w Paging creates a Master/Slave link called a Piconet

C

MN

L

PO

Q

BBAA

10 meters

Page 9: Application Audio (SCO) Control RFCOMM SDP API and Legacy …ebook.pldworld.com › _Semiconductors › Xilinx › eSP_Preview › ... · 2000-11-16 · Host Controller Interface

®

www.xilinx.com

D

Expanding a Piconet (1)w Successive Pages can attach up to 7 Active Slaves to a

Piconet at one time

H

B

C

MN

L

PO

Q

E

FG

IJ

F

JI

E

G

KK

A

10 meters

Page 10: Application Audio (SCO) Control RFCOMM SDP API and Legacy …ebook.pldworld.com › _Semiconductors › Xilinx › eSP_Preview › ... · 2000-11-16 · Host Controller Interface

®

www.xilinx.com

BB

JJ

DH

K

F

I

E

G

Parkingw To save power and/or to connect to even more devices

Active Slaves can be Parked (up to 256 total!)

C

MN

L

PO

Q

A

10 meters

Page 11: Application Audio (SCO) Control RFCOMM SDP API and Legacy …ebook.pldworld.com › _Semiconductors › Xilinx › eSP_Preview › ... · 2000-11-16 · Host Controller Interface

®

www.xilinx.com

D

K

F

I

E

G

Expanding a Piconet (2)w Masters can then attach additional Active Slaves using

Active Member Addresses freed up through Parking

B

J

MN

L

PO

Q

H

C

H

C

A

10 meters

Page 12: Application Audio (SCO) Control RFCOMM SDP API and Legacy …ebook.pldworld.com › _Semiconductors › Xilinx › eSP_Preview › ... · 2000-11-16 · Host Controller Interface

®

www.xilinx.com

J

F

I

E

A

G

Scatternets

D

M

O

w Bluetooth devices can participate in multiple Piconetssimultaneously creating a topologies called Scatternets

B

L

H

K

C

N

P

Q

Page 13: Application Audio (SCO) Control RFCOMM SDP API and Legacy …ebook.pldworld.com › _Semiconductors › Xilinx › eSP_Preview › ... · 2000-11-16 · Host Controller Interface

®

www.xilinx.com

NH

K

F

I

E

A

G

J

C

Advanced Scatternets

D

M

O

w Scatternets can evolve into extremely complex structurescreating a rich fabric of many, many, devices

P

Q

B

L

Page 14: Application Audio (SCO) Control RFCOMM SDP API and Legacy …ebook.pldworld.com › _Semiconductors › Xilinx › eSP_Preview › ... · 2000-11-16 · Host Controller Interface

®

www.xilinx.com

Bluetooth Radio Basics

w Normal range: 10 meters

w Normal xmit power: 1 milliWatt

w Receiver sensitivity: -70 dB

w Frequency band: 2.4 GHz(ISM)

w Max data rate: 721Kbps + 56Kbps X 3 (voice)

Page 15: Application Audio (SCO) Control RFCOMM SDP API and Legacy …ebook.pldworld.com › _Semiconductors › Xilinx › eSP_Preview › ... · 2000-11-16 · Host Controller Interface

®

www.xilinx.com

Bluetooth Radio Frequency Band

w ISM (Industrial, Scientific, Medical) band— 2.402GHz - 2.480GHz (79MHz total bandwidth)

w Advantages— Free— Open to everyone worldwide

w Disadvantages— Noise sources from everywhere

– Cordless phones, microwave ovens, garage door openers,other wireless LAN technologies, baby monitors,...

Page 16: Application Audio (SCO) Control RFCOMM SDP API and Legacy …ebook.pldworld.com › _Semiconductors › Xilinx › eSP_Preview › ... · 2000-11-16 · Host Controller Interface

®

www.xilinx.com

Bluetooth’s Noise Solutions

w Frequency Hopping (FH) Spread Spectrumtechnology— Divides the band into 79 separate 1MHz channels

w Uses short packets and makes 1600 hops/second— Minimizes exposure to noisy channels— Enables bad voice packets to be discarded

w Forward Error Correction (FEC) of data packets— Data often recoverable even on a noisy channel

without retransmission

Page 17: Application Audio (SCO) Control RFCOMM SDP API and Legacy …ebook.pldworld.com › _Semiconductors › Xilinx › eSP_Preview › ... · 2000-11-16 · Host Controller Interface

®

www.xilinx.com

Bluetooth Transmission ProtocolFrequency Hopping & Time Division Duplexing

fk+2

625 µsSlot 3

fk+3

Frame 2

Slot4

t

w Frequency hops from Slot to Slot to Slotw Frames define matched Master / Slave Slot transmissions

fk+1

Frame 1

Slot2

w Complete packet transmission occurs during a Slot

Master

Slave1

fk

625 µsSlot 1

Page 18: Application Audio (SCO) Control RFCOMM SDP API and Legacy …ebook.pldworld.com › _Semiconductors › Xilinx › eSP_Preview › ... · 2000-11-16 · Host Controller Interface

®

www.xilinx.com

0

10

20

30

40

50

60

70

80

0 10 20 30 40 50 60 70 80 90 1000

10

20

30

40

50

60

70

80

Piconet A Contention

Total Transmission Slots: 100 Transmission Slots Hit: 0 Transmission Efficiency: ~100%Active Piconets: 1

Frequency HoppingGraphically Illustrated

Transmission Channel (1 - 79)

Transmission Slot (time)

Each channel can carry a separateBluetooth transmission without contention

Page 19: Application Audio (SCO) Control RFCOMM SDP API and Legacy …ebook.pldworld.com › _Semiconductors › Xilinx › eSP_Preview › ... · 2000-11-16 · Host Controller Interface

®

www.xilinx.com

0

10

20

30

40

50

60

70

80

0 10 20 30 40 50 60 70 80 90 1000

10

20

30

40

50

60

70

80

Piconet A Contention

Total Transmission Slots: 100 Transmission Slots Hit: 0 Transmission Efficiency: ~100%Active Piconets: 1

Each Bluetooth Piconet RandomlyChanges Frequency Slot by Slot by Slot

0

10

20

30

40

50

60

70

80

0 10 20 30 40 50 60 70 80 90 1000

10

20

30

40

50

60

70

80

Piconet A Contention

Total Transmission Slots: 100 Transmission Slots Hit: 0 Transmission Efficiency: ~100%Active Piconets: 1

Page 20: Application Audio (SCO) Control RFCOMM SDP API and Legacy …ebook.pldworld.com › _Semiconductors › Xilinx › eSP_Preview › ... · 2000-11-16 · Host Controller Interface

®

www.xilinx.com

0

10

20

30

40

50

60

70

80

0 10 20 30 40 50 60 70 80 90 1000

10

20

30

40

50

60

70

80

Piconet A Contention

Total Transmission Slots: 100 Transmission Slots Hit: 0 Transmission Efficiency: ~100%Active Piconets: 1

Frequency Hopping Minimizes Exposureto Data Loss Due to Noise

7 ~93%

5MHz noise source

0

10

20

30

40

50

60

70

80

0 10 20 30 40 50 60 70 80 90 1000

10

20

30

40

50

60

70

80

Piconet A Contention

Total Transmission Slots: 100 Transmission Slots Hit: 0 Transmission Efficiency: ~100%Active Piconets: 1 7 ~93%

5MHz noise source

Page 21: Application Audio (SCO) Control RFCOMM SDP API and Legacy …ebook.pldworld.com › _Semiconductors › Xilinx › eSP_Preview › ... · 2000-11-16 · Host Controller Interface

®

www.xilinx.com

Frequency Hopping WithMultiple Piconets

0

10

20

30

40

50

60

70

80

0 10 20 30 40 50 60 70 80 90 1000

10

20

30

40

50

60

70

80

Piconet A Piconet B Piconet C Piconet D Contention Contention Contention Contention

Total Transmission Slots: 400 Transmission Slots Hit: 20 Transmission Efficiency: ~95%Active Piconets: 4

Page 22: Application Audio (SCO) Control RFCOMM SDP API and Legacy …ebook.pldworld.com › _Semiconductors › Xilinx › eSP_Preview › ... · 2000-11-16 · Host Controller Interface

®

www.xilinx.com

Bluetooth Piconets DegradeGracefully with Density...

0

10

20

30

40

50

60

70

80

0 10 20 30 40 50 60 70 80 90 1000

10

20

30

40

50

60

70

80

Piconet A Piconet B Piconet C Piconet D Piconet E Piconet F Piconet G Piconet H Piconet I Piconet JContention Contention Contention Contention Contention Contention Contention Contention Contention Contention

Total Transmission Slots: 1000 Transmission Slots Hit: 112 Transmission Efficiency: ~89%Active Piconets: 10

Page 23: Application Audio (SCO) Control RFCOMM SDP API and Legacy …ebook.pldworld.com › _Semiconductors › Xilinx › eSP_Preview › ... · 2000-11-16 · Host Controller Interface

®

www.xilinx.com

...And Maintain ReasonablePerformance Even In High Densities

0

10

20

30

40

50

60

70

80

0 10 20 30 40 50 60 70 80 90 1000

10

20

30

40

50

60

70

80

Piconet A Piconet B Piconet C Piconet D Piconet E Piconet F Piconet G Piconet H Piconet I Piconet JPiconet K Piconet L Piconet M Piconet N Piconet O Piconet P Piconet Q Piconet R Piconet S Piconet TContention Contention Contention Contention Contention Contention Contention Contention Contention Contention

Total Transmission Slots: 2000 Transmission Slots Hit: 420 Transmission Efficiency: ~79%Active Piconets: 20