Page 1 of 1

interface DSP with bluetooth

Posted: Sun Feb 19, 2012 12:30 pm
by Dushan
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 ?

Re: interface DSP with bluetooth

Posted: Sun Feb 19, 2012 4:07 pm
by SevenZero
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.,audi ... 1.0_EN.pdf
BC417143B.jpg (60.77 KiB) Viewed 12141 times
I have attached the datasheet of BC417143B Bluetooth module which is popularly used in many Bluetooth modules available today.
(4.1 MiB) Downloaded 668 times
Good luck!

Re: interface DSP with bluetooth

Posted: Mon Feb 20, 2012 7:47 am
by Dushan
thanks SevenZero,

where can I buy this module ?

Re: interface DSP with bluetooth

Posted: Mon Feb 20, 2012 4:20 pm
We can supply this module to you. Please contact TRONIC.LK through

Re: interface DSP with bluetooth

Posted: Tue Feb 21, 2012 6:04 pm
by Dushan
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)?

Re: interface DSP with bluetooth

Posted: 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).

Re: interface DSP with bluetooth

Posted: Thu Mar 29, 2012 6:03 pm
by Dushan
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

Re: interface DSP with bluetooth

Posted: 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.