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.

CC2564MODAEM: CC2564 HFP Audio Gateway, MSP430 and Bluetopia SDK

Part Number: CC2564MODAEM
Other Parts Discussed in Thread: MSP430F5438A, CC2564, TLV320AIC3262, MSP-FET, CC256XMS432BTBLESW

Hello! Thank you for offered support. We are making begin stage of our project and we’re making trying of maquette’s realize with some problems.

In begin I’ll provide description of project. We need design of Bluetooth-device that works in HFP Audio Gateway role. Device must connect to BT-headset that configured in HFP HF role. Also that device must transmit sounds-signal from microphone to PC and sound-signal from PC to speakers of headset through stereo-Jack.

For this purpose we’ve chosen that elements base:

  1. MCU: MSP430F5438A;
  2. BT-module: CC2564;
  3. Audio codec: TLV320AIC3262.

To debugging maquette we use Evalution Kits that have bought from Texas Instruments:

  1. MSP-EXP430F5438. PCB REV. 0-03 – AD/MS
  2. TLV320AIC3262YZF EVM
  3. CC2564MADAEM REV 1.0
  4. MSP-FET Flash emulation tool 

Also we use this software:

  1. IAR IDE 7.12.1
  2. CC256x MSP430 Bluetopia SDK. v1.5 R2
  3. PurePath Console 3

 

I add structure diagram of project:

 

At the moment, thanks to the examples provided with the Bluetopia SDK, it was possible to successfully launch CC2564 in the HFP HF role. When starting the HFPDemo example, there was a problem with the initialization of the stack, which was resolved by writing to the BTPSVEND.c line #define __SUPPORT_CC256XB_PATCH__.

But there is a problem with the configuration of CC2564 in the HFP AG role. Now there are attempts to configure the CC2564 in the HFP AG role and connect to the BT headset. For this, an example of HFPDemo_AG for MCU MSP432 is considered. Based on the example, the code is written, but when the HFRE_Open_Remote_HandsFree_Port () function is executed, an error occurs:

HFRE_Open_Remote_HandsFree_Port () Failure: -103.

This error stands for BTPS Error Feature Not Available. Regarding this error on e2e.ti.com, developers say that this feature is not supported by Bluetopia SDK libraries for MSP430.

1. Can I implement HFP AG on the CC2564 with the MSP430 microcontroller using the Bluetopia SDK?

2. Are there alternative BT chips that solve this problem?

  • Hi Aleksei,

    Aleksei Makalov said:

    This error stands for BTPS Error Feature Not Available. Regarding this error on e2e.ti.com, developers say that this feature is not supported by Bluetopia SDK libraries for MSP430.

    1. Can I implement HFP AG on the CC2564 with the MSP430 microcontroller using the Bluetopia SDK?

    That is correct. The TI dual-mode Bluetooth stack for MSP430 release does not have the HFP_AG functionality. If your system requirements allow, I'd recommend using MSP432 as host and the much newer CC256XMS432BTBLESW as the host stack.

    If you cannot change the host processor in your system and have to use the MSP430F5438A, you can contact our 3rd party partner Cloud2GND to add this feature as a custom release that is not included in the standard SDK release.

    Aleksei Makalov said:

    2. Are there alternative BT chips that solve this problem?

    This is the limitation of the host stack on MSP430 rather than the BT chip itself. For example, the TI dual-mode Bluetooth stack for MSP432 does not have this limitation and you can use either the HFP_AG and HFP_HF roles depending on your use-case.

    Best regards,

    Vihang