Hi Gokulnath
With the CC256x, HFP/SCO data can be router over HCI/UART, which means that your main task will be to implement the BTstack audio interface for the CC3200 Audio Booster pack. (We don't have one).
I recommend the following steps:
- mod_player or sine_player: this example plays a sine or a mod song over the btstack audio interface, without the need for a Bluetooth connection. You need to implement the btstack_audio_sink_t interface
- duplex_audio: this example echos the audio from the audio source to the audio sink. You need to implement the btstack_audio_source_t interface.
- a2dp_sink_demo: just connect from your smartphone and check that audio playback works
- hfp_hf_demo: your original goal of having a HFP audio connection.
The STM32 F4 Port in port/stm32-f4discocvery-cc2564 has a fully implemented audio interface. There, the microphone didn't use I2S. Instead a proprietary decoder for the PDM microphone data has been used (based on STM's examples)
BTstack has a generic audio sink/source implementation for microcontrollers in platform/btstack_audio_embedded.c. You probably can use that and then only have to implement the functions defined in hal_audio.h.
There is more detail here:
https://bluekitchen-gmbh.com/a2dp-sink-and-source-on-stm32-f4-discovery-board/
Best
Matthias
> --
> You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
btstack-dev...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/btstack-dev/ecd07dfb-5ead-4869-8b24-1779b42e1bf1n%40googlegroups.com.