interface DSP with bluetooth

DSP Topics
Post Reply
Dushan
Corporal
Corporal
Posts: 5
Joined: Sun Feb 19, 2012 12:19 pm

interface DSP with bluetooth

Post by Dushan » Sun Feb 19, 2012 12:30 pm

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
SevenZero
Major
Major
Posts: 263
Joined: Sun Nov 01, 2009 8:37 pm

Re: interface DSP with bluetooth

Post by SevenZero » Sun Feb 19, 2012 4:07 pm

Dushan, Welcome to ROBOT.LK!
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,audi ... 1.0_EN.pdf
BC417143B.jpg
BC417143B.jpg (60.77 KiB) Viewed 19408 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 977 times
Good luck!
Dushan
Corporal
Corporal
Posts: 5
Joined: Sun Feb 19, 2012 12:19 pm

Re: interface DSP with bluetooth

Post by Dushan » Mon Feb 20, 2012 7:47 am

thanks SevenZero,

where can I buy this module ?
User avatar
TRONICLK
Captain
Captain
Posts: 140
Joined: Fri Oct 12, 2018 2:04 am
Contact:

Re: interface DSP with bluetooth

Post by TRONICLK » Mon Feb 20, 2012 4:20 pm

We can supply this module to you. Please contact TRONIC.LK through [email protected].
Dushan
Corporal
Corporal
Posts: 5
Joined: Sun Feb 19, 2012 12:19 pm

Re: interface DSP with bluetooth

Post by Dushan » Tue Feb 21, 2012 6:04 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
TRONICLK
Captain
Captain
Posts: 140
Joined: Fri Oct 12, 2018 2:04 am
Contact:

Re: interface DSP with bluetooth

Post by TRONICLK » Tue Feb 21, 2012 6:23 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).
Dushan
Corporal
Corporal
Posts: 5
Joined: Sun Feb 19, 2012 12:19 pm

Re: interface DSP with bluetooth

Post by Dushan » Thu Mar 29, 2012 6:03 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
TRONICLK
Captain
Captain
Posts: 140
Joined: Fri Oct 12, 2018 2:04 am
Contact:

Re: interface DSP with bluetooth

Post by TRONICLK » Fri Mar 30, 2012 4:15 am

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.
Post Reply

Return to “Digital Signal Processors”