Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final...

25
Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final presentation

Transcript of Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final...

Page 1: Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final presentation.

Walkie-Talkie via Bluetooth

Walkie-Talkie via Bluetooth

By : Kopitman Reem

Stolberg DmitriInstructor:

Chen Koren

The final presentation

Page 2: Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final presentation.

Project GoalsProject Goals

Implementation of wireless communication via Bluetooth

Voice wireless transmission

Page 3: Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final presentation.

GeneralGeneral

Walkie A Walkie B

Page 4: Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final presentation.

AbstractAbstract

System contains two identical and independent units

Each unit : provides duplex wireless connection can function as both master and slave creates and manages digital data implements USB and BT protocols

Page 5: Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final presentation.

Unit structureUnit structure

AsgardTeledim

Page 6: Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final presentation.

Project milestonesProject milestonesHardware: Asgard (BT stack) architecture Voice using codec (TD) External memory (TD)

Software: Bluetooth features and protocol (Asgard) Operating System (Asgard assembly) USB protocol (Asgard) System assurance and validation

Page 7: Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final presentation.

Hardware aspects - logicalHardware aspects - logical

Data propagation

– Audio

– A/D and PCM

– Shift register

– BT controller

– USB host

– Bluetooth Application Kit

Page 8: Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final presentation.

Hardware aspects - logicalHardware aspects - logical

Timing control

– Clock generator

– Divider

– Synchronizer

Page 9: Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final presentation.

Hardware aspects - teledimHardware aspects - teledim

Handset

Analog_inout[3..0]

Vcc_3_3v

J1

CON50

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950

Code_Memory

EEPROM

EEPROM_Cont[3..0]

Address[14..0]

Data[7..0]

GND_3_3v

Clock

2048kHz

8kHz_Pulse

8kHz

GND_5v

Vcc_5v

Codec

PCM_in

PCM_out

8kHz_Pulse

2048kHz

Analog_inout[3..0]

Page 10: Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final presentation.

Teledim - CodecTeledim - Codec

R3

10k

R2

10k

R4 10k

Mic_plus

C1

0.1u

PCM_out

C40.01u

Speaker_minus

C31u

R6

10k

2048MHz

PCM_in

8kHz_pulse

RV120k

5v

U1

MC145483

45

20

12

8

18

19

716

91211

3

10

13

14

17

PO-PO+

VAG

RO+RO-

DR

TI-

TI+

FSRMU/A

BCLKRBCLKTMCLK

PI

PDI

DT

FST

TG

R1

10k

R5

10k

Speaker_plus

C2

0.1u

Mic_minus

Page 11: Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final presentation.

Teledim - ClockTeledim - Clock

Page 12: Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final presentation.

Teledim - MemoryTeledim - Memory

Address9

Data[7..0]

Address12

Address4

OE

Address8Address7

Address[14..0]

Address11

Address3

Address1Address0

CE

Address2

Address5Address6

Address14

Address10

WEAddress13

U5

AT28HC256_J

1314151819202122

1110

987654

29282427

330

2 23

25

31

I/O0I/O1I/O2I/O3I/O4I/O5I/O6I/O7

A0A1A2A3A4A5A6A7A8A9A10A11A12A13A14 CE

OE

WE

Page 13: Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final presentation.

Asgard - SynchronizerAsgard - Synchronizer

Page 14: Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final presentation.

Asgard – Shift registerAsgard – Shift register

Page 15: Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final presentation.

Asgard – BT controller interfaceAsgard – BT controller interface

AsgardUser Interface

40 pin Bufdata[39..0]

Page 16: Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final presentation.

Asgard – BT controller interfaceAsgard – BT controller interface

16 pin- Address Address[15..0]

16 pin- I/O Bufdata[15..0]

8 pin- Data Data[7..0]

Data from internal c_mem

Data to external eeprom

Address from Registers

Data from external eeprom

Address from CPU

Page 17: Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final presentation.

Software – GeneralSoftware – General

BT features

USB Interface

Asgard OS

Debugging software

Page 18: Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final presentation.

Software – BluetoothSoftware – Bluetooth

Various topologies of connection

Software control

Page 19: Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final presentation.

Software – Bluetooth Software – Bluetooth

Bluetooth layers OS organization

Page 20: Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final presentation.

Software – OS algorithm Software – OS algorithm

Start

USB Initialization

Bluetooth Initialization

Master/ Slave?

Create ACL Connection

MasterSlave

Send and Receive Data Packets

Disconnect comm./request

Disconnect

Yes

No

Is there connection request?

No Yes

Page 21: Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final presentation.

Software – DebuggingSoftware – Debugging

USB analyzer

VBT receive ( RS232 )

Bluepearl (BT Stack simulation)

PC_BT ( BT Stack )

Page 22: Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final presentation.

Software – DebuggingSoftware – Debugging

Asgard

Usb

cable

Usb cable

דגימות מפורט

ASGARDטורי של

Page 23: Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final presentation.

Alternative system configurationAlternative system configuration

ACLSCO

AsgardTelerem

No Real time ACL based connection

Page 24: Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final presentation.

The endThe end

Page 25: Walkie-Talkie via Bluetooth By : Kopitman Reem Stolberg Dmitri Instructor: Chen Koren The final presentation.

Asgard

Teledim

FPGA

Codec

Driver

PAR2SERPAR2SERPCM ConverterPCM Converter

AudioAudio

AmplifierAmplifier

A/DA/D

Sync. System Shift RegisterShift Register

DividerCLK

USB HostUSB Host

Code Memory

BlueTooth Application Kit

BlueTooth Application Kit

ProcessorProcessor

Inte

rfac

eIn

terf

ace