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.

HFP with Assisted mode, Still sending data to Codec on I2S even after HFP call end.

Hello,

I am using Ineda I3 SoC MCU, TI CC 2564B and Maxim Codec 98090.

My use case is : I play A2DP in Non- assisted mode and HFP in assisted mode.

Codec is Master on I2S.  I2S lines are wired anded from I3 and BT to Codec.

For A2DP codec is configured to 44.1KHz and for HFP PCM 8KHz.

Test scenario:

1. Take Android phone and pair with CC2564B.

2. Start A2DP on phone.  I3 Gets A2DP data on I3 UART and it gets SBC decoded and send to codec over I3 I2S. ==> here i here the Audio play on codec.

3. During A2DP, The mobile phone gets an incoming  call. so the mobile unit sends A2DP_SUSPEND_IND  and play is paused. Then accept it. You speak and listen on codec

4. Now end the call. Then Phone will send the A2DP_START_IND to resume the play, After this i configure the Codec to 44.1KHz and it is all done.

5. But i do not listen the play.

Issue is: After HFP BT module is still sending the PCM @ 8KHz.

How do i stop the BT CC2564B to send the data on I2S line.

Thanks,

Praveen Kumar Bairi.

  • How are you AND'ing the PCM/I2S lines? Are, you tri-stating the PCM pins on MCU, when in HFP assisted mode? And, assuming the controller tristates the PCM pins, when you close HFP and revert back to a2dp mode?

    Thanks
  • Hi Hari Nagalla,

    Its a Wired AND logic of respective pins of  Bit clock, Word clock and Data Out.

    No the pins are not in hi-z state.i see the voltage levels are fine as per VDD_IO (1.8v).

    Assumption is that, CC2564B, should not send any data on DOUT pin. Because the same DOUT pins is used by MCU to send A2DP data.

    Please let me know if you need further info.

    Thanks,

    Praveen Kumar Bairi.