interface DSP with bluetooth

DSP Topics

interface DSP with bluetooth

Postby Dushan » Sun Feb 19, 2012 7:00 am

I need to send digital data from a DSP to a bluetooth module. Most Bluetooth modules have UART interface to read data which is not enogh because of the baud rate. to utilize 2.1 Mbps of v2.1 +EDR i need to use a module with SPI or USB to read data. What is better in terms of cost and complexity ?
User avatar
Dushan
 
Posts: 5
Joined: Sun Feb 19, 2012 6:49 am
Cash on hand: 345.40

Invitations sent: 0
Registered friends: 0
Reputation point: 0
Lance Corporal

Re: interface DSP with bluetooth

Postby SevenZero » Sun Feb 19, 2012 10:37 am

Dushan, Welcome to ExpertCore!
Please add an introduction about you at Member Area -> Introductions.

Most Bluetooth modules have either SPI interface. That is interfaced to a RS232 module for easy communication. So take the datasheet and study where you can access the chip directly through SPI and interface that to the DSP.

Have a look at page 9 of the following datasheet for the bluetooth module made by Sure electronics.
http://www.sure-electronics.net/rf,audio/GP-GC021_Ver1.0_EN.pdf

BC417143B.jpg
BC417143B.jpg (60.77 KiB) Viewed 4629 times


I have attached the datasheet of BC417143B Bluetooth module which is popularly used in many Bluetooth modules available today.
BC417143B-IQN-E4TR-datasheetz.pdf
(4.1 MiB) Downloaded 368 times


Good luck!
User avatar
SevenZero
Support Team
Support Team
 
Posts: 286
Joined: Sun Nov 01, 2009 3:07 pm
Cash on hand: 201,474.40

Invitations sent: 0
Registered friends: 0
Reputation point: 10
Corporal

Re: interface DSP with bluetooth

Postby Dushan » Mon Feb 20, 2012 2:17 am

thanks SevenZero,

where can I buy this module ?
User avatar
Dushan
 
Posts: 5
Joined: Sun Feb 19, 2012 6:49 am
Cash on hand: 345.40

Invitations sent: 0
Registered friends: 0
Reputation point: 0
Lance Corporal

Re: interface DSP with bluetooth

Postby Aptinex » Mon Feb 20, 2012 10:50 am

We can supply this module to you. Please call 2545470 and get information on that. Website is Aptinex. This is a Sri Lankan company which does embedded R&D work.
User avatar
Aptinex
 
Posts: 84
Joined: Mon Feb 20, 2012 10:46 am
Cash on hand: 3,756.10
Location: Boralesgamuwa

Invitations sent: 2
Registered friends: 0
Reputation point: 0
Lance Corporal

Re: interface DSP with bluetooth

Postby Dushan » Tue Feb 21, 2012 12:34 pm

The bluetooth module datasheet says it supports UART baud rates of 2764800 bps (2.7 Mbps). Is there any dsPIC which has a UART with this baud rate (2764800 bps)?
User avatar
Dushan
 
Posts: 5
Joined: Sun Feb 19, 2012 6:49 am
Cash on hand: 345.40

Invitations sent: 0
Registered friends: 0
Reputation point: 0
Lance Corporal

Re: interface DSP with bluetooth

Postby Aptinex » Tue Feb 21, 2012 12:53 pm

On micros, baud rate is simply set based on the crystal. You can go up to 1.875Mbps on a dsPIC30F4011 (Refer page 115 of datasheet).
User avatar
Aptinex
 
Posts: 84
Joined: Mon Feb 20, 2012 10:46 am
Cash on hand: 3,756.10
Location: Boralesgamuwa

Invitations sent: 2
Registered friends: 0
Reputation point: 0
Lance Corporal

Re: interface DSP with bluetooth

Postby Dushan » Thu Mar 29, 2012 12:33 pm

In most modules including BC417143B Bluetooth module with the standard firmware on board (RFCOMM Serial Port Profile), it is able to achieve a throughput of 300kbps max on the UART interface. the USB interface in this mode is not available.

To achieve 2Mbps throughput, its needed to use the module in HCI mode (Host Controller interface). In this mode, the bluetooth stack is disabled on the module and is running on the host micro controller. So it says the stack has to  be implemented (not provided) In HCI mode, the UART and the USB interface are available

To send 10-bit data from the Analog to digital converter(ADC) from a dsPIC at 2Mbps through UART or USB interface, to
the bluetooth module. And the bluetooth module should read this data through its UART or USB interface and transmit this data via bluetooth which will be finally received by an Android device (phone).

Is it possible to do this without RFCOMM stack using HCI stack in bluetooth module. Then is it onlyto write bit stream to UART.if so what is the function of the module.

Else any modules available which best fit this use.

Thanks in advance
please explain
User avatar
Dushan
 
Posts: 5
Joined: Sun Feb 19, 2012 6:49 am
Cash on hand: 345.40

Invitations sent: 0
Registered friends: 0
Reputation point: 0
Lance Corporal

Re: interface DSP with bluetooth

Postby Aptinex » Thu Mar 29, 2012 10:45 pm

We have just replied you for your inquiry. We understand yours is a special requirement. So you will have to do some R&D with the module and I don't think you it is impossible to get what you want. We need to accept that level of difficulty and that's the fun we get out of embedded programming  ;)

If you can buy two of these modules, it would be good to experiment by your own. We will provide you some schematics and docs with your order.

If you want dsPIC30F4011, we can provide that too. You can save on postage when order them together.
User avatar
Aptinex
 
Posts: 84
Joined: Mon Feb 20, 2012 10:46 am
Cash on hand: 3,756.10
Location: Boralesgamuwa

Invitations sent: 2
Registered friends: 0
Reputation point: 0
Lance Corporal


Return to Digital Signal Processors

Who is online

Users browsing this forum: No registered users and 2 guests

cron