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.

CC2564C: How to set up A2DP SINK with CC2564C?

Part Number: CC2564C


Hello,

I want to set up A2DP SINK with BlueZ. I can test basic communication with CC2564C. I don't search any helpful information at google.  Have any guide about set up A2DP SINK? 

  • Hi,

    The open source stacks like BlueZ are better supported on Linux open source forums. We can help you bring up (i.e. initialize the CC2564C controller) using BlueZ. But upper level stack implementations like A2DP use-case for BlueZ are not specific to the TI controllers and are better supported through the open source community.

    example using Linux hciattach in CLI (for GPIO 3 connected to nSHUTD of CC2564C and ttyS1 of the host to the HCI UART)
    
    	root@am335x-evm:~# echo 3 > /sys/class/gpio/export
    	root@am335x-evm:~# echo out > /sys/class/gpio/gpio3/direction
    	root@am335x-evm:~# echo 0 > /sys/class/gpio/gpio3/value
    	root@am335x-evm:~# echo 1 > /sys/class/gpio/gpio3/value
    	root@am335x-evm:~# hciattach /dev/ttyS1 texas 3000000
    	Found a Texas Instruments' chip!
    	Firmware file : /lib/firmware/ti-connectivity/TIInit_6.12.26.bts
    	Loaded BTS script version 1
    	texas: changing baud rate to 3000000, flow control to 1
    	Device setup complete
    

    Alternatively, you can take a look into the TI dual-mode Bluetooth stack for Linux that includes examples of A2DP (both sink and source) implementations using the TI stack (not BlueZ).

    http://www.ti.com/tool/TI-BT-4-2-STACK-LINUX-ADDON

    Getting started guide for the TI dual-mode BT stack for Linux : http://processors.wiki.ti.com/index.php/TI_Bluetooth_Stack_for_WL18xx_-_Getting_Started_Guide

    Best regards,

    Vihang