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.

Linux/CC2564MODA: LINUX/CC2564 driver integration

Part Number: CC2564MODA
Other Parts Discussed in Thread: CC2564, TI-BT-STACK-LINUX-ADDON

Tool/software: Linux

Dear Ti experts,

I am evaluating CC2564 by connecting BOOST-CC2564MODA to an embedded ARM plaftorm based on I.MX6ULL which runs Yocto embeddedLinux.

I followed the http://www.ti.com/tool/TI-BT-STACK-LINUX-ADDON, http://processors.wiki.ti.com/index.php/TI_Bluetooth_Stack_for_WL18xx_-_Getting_Started_Guide#Software  , and attempted to run the binary provided by the TI-BT-STACK-LINUX-ADDON and I have already copyed the .bts file under /lib/firmware.We followed instructions given in http://processors.wiki.ti.com/index.php/TI_Bluetooth_Stack_for_WL18xx_-_Getting_Started_Guide#Software

But after going through below stages to hook up CC2564 to my hardware platform, I got below error messages. Could you please help? Peter  

./SS1BTPM &

Then I use

./LinuxSPPM

Then I got this error

SPPM>Initialize 1

BTPM_Initialize() Success: 0.

DEVM_RegisterEventCallback() Success: 5.

SPPM>SetDevicePower 1

 

echo 16 > /sys/class/gpio/export

echo out > /sys/class/gpio/gpio16/direction

echo 0 > /sys/class/gpio/gpio16/value

echo 1 > /sys/class/gpio/gpio16/value

echo 0 > /sys/class/gpio/gpio16/value

echo 1 > /sys/class/gpio/gpio16/value

BT COMM PORT (/dev/ttymxc1): 1

DEVM_PowerOnDevice() Failure: -4, Unknown Error.

Function Error.

SPPM>

  • This error typically means, some issue with the UART configuration/communication with the device.. Please check -
    a) UART pin muxes are correctly configured in the Linux DTS files.
    b) Make sure, linux UART driver supports baudrate changes upto 3M. Blutopia attempts to change the UART baudrate, after the BTS file is downloaded to the device at 115200..

    Thanks