interface DSP with bluetooth
interface DSP with bluetooth
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
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
I have attached the datasheet of BC417143B Bluetooth module which is popularly used in many Bluetooth modules available today. Good luck!
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
I have attached the datasheet of BC417143B Bluetooth module which is popularly used in many Bluetooth modules available today. Good luck!
Re: interface DSP with bluetooth
thanks SevenZero,
where can I buy this module ?
where can I buy this module ?
Re: interface DSP with bluetooth
We can supply this module to you. Please contact TRONIC.LK through [email protected].
Re: interface DSP with bluetooth
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
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
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
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
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.
![Wink ;)](./images/smilies/icon_e_wink.gif)
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.