This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Bluetooth module to record I2S input on a phone via HFP

Other Parts Discussed in Thread: CC2650, CC2564

Hi,

I'm looking for a bluetooth module to record a I2S input coming from c5545booster pack I2S output pins, on a phone via HFP profile. I'm assuming HFP is the only way to record data on phone transmitted by bluetooth module, without having to program stack. I don't want to do any stack programming. Can you recommend any Bluetooth module in TI family that suits my requirement.

  • Hi V Pot,

    Can you elaborate more on what your end application is so we can help make good recommendations? E.g. are you trying to sending voice, or music, or some other type of audio to the phone? And the data needs to be streamed I'm assuming since you mentioned HFP, not saved as a data file on the MCU and then sent to the phone? Additionally, will you be writing your own phone app or are you trying to work with some existing phone app meaning you can't just do something custom for the data transfer?

    Finally, when you mention stack programming - we release our stacks as libraries, but you do still have to write the application layer code on top that defines the profile that you use etc - but we provide many examples you can base your project off of. Is that along the lines that you are thinking?

    Regards,
    Katie
  • Katie,

    Thanks for replying back.

    The end product is digital stethoscope and i need to record the heartsounds on a phone. We have an app to record, but at this testing stage all we require is just to record using normal voice recorder app on phone. I assume hfp is the way to go because in hfp profile when connected to phone it accepts the device transmitting the data as default mic.

    1) I’m more incined to having a Bluetooth module that works in hfp mode, already existing so that I don’t have to write the stack programming.

    2) I’m open to implement the stack programming, ive good experience in programming but i have no knowledge of stack programming. If you can guide me on that it would be great.

    Note:- I’m using c5545 booster pack for my application and after signal is filtered in the dsp i want it to be transmitted to phone for recording the heartbeat audio signal. If ble is what you recommend, there is cc2650 ble mcu on board. So you need to help me with that

  • Hi V Pot,

    If you truly need HFP, you'll need to use the CC256x family (Bluetooth Classic), as the CC26xx (Bluetooth LE) parts do not support that. If you just need audio over Bluetooth LE, we do have some audio examples that can be used with Android (iOS does not allow low enough connection intervals on BLE for this to be doable).

    Regards,
    Katie
  • hi katie,

    I appreciate your reply.

    1) so can i use hfp with cc256x without any need to program stack or anything?. is there any dev module version of these cc256x family?

    2)you mean ble doesn't work with iOS?

    3)can you provide the examples to the audio recording over bluetooth for android?

    thanks in advance

  • Hi V Pot,

    For #2, you can use BLE with iOS in general, but what I meant was that BLE with audio doesn't really work with iOS due to the connection intervals that they allow doesn't work for the throughput you need for audio.

    For your other questions, I'll try to loop someone in from the team that supports the CC256x (I support CC265x).

    Regards,
    Katie
  • Please, let us know if there are any other questions..

    In general, please refer to the below Wiki page for CC256x..

    processors.wiki.ti.com/.../CC256x

    Thanks
  • Hari,

    thanks for getting back...

    I'm using c5545 bossterpack for prototyping, meaning i would go with c5545 dsp and aic3206 audio codec...so following are my design constraints

    1)12mhz oscillator is being used to generate mclk and aic3206 is using mclk to generate bclk for connecting to c5545dsp. 

    2) c5545 dsp has i2s output which is slave but i guess it can provide clock generated by 12mhz oscillator.

    so is there a bluetooth module in your cc256x to suit my requirement, meaning able to take dsp output as input and transmit the audio to phone as hfp or some other way for recording. it would be great if we could avoid stack programming by any means, like usually modules with loaded firmware which provides hfp profile (because advantage of using hfp is that we don't require to do anything on app side on phone as any OS recognizes hfp as default mic for recording 

    3) also can you please provide a recommendation module in this family that has a dev kit version to try n testout

  • hari,

    can you please look into my above concerns, thanks.
  • Hi,

    You can use CC2564 in assisted HFP mode to take the PCM from DSP and and sent to the mobile phone. Please check figure 6-15 in the data sheet:

    www.ti.com/.../cc2564.pdf

    Thanks
  • hi hari,

    I just bought the dev module of c2564, as per your recommendation.

    1) can this be connected to the c5545 booster pack i2s audio output pins and transmitt the dsp data to phone?

    2) if so can you provide instructions on how to do this end-end

    Thanks in advance.