Part Number: WL1835MODCOM8B
Tool/software: Linux
I have the WL1835MODCOM8B plugged into an AM437x EVM board, and I am trying to get Bluetooth working. I went through the Getting Started Guide to get Bluetopia PM up and running, and now i am trying to get one of the sample applications running. Whenever I try to run the SetDevicePower command in order to power up the BT device, I get the following output:
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/ttyS3): 2
Changing HCI baud rate to 3000000
Status: Executing BTS Script /lib/firmware/TIInit_11.8.32.bts.
Status: BTS Script successfully executed.
DEVM_PowerOnDevice() Failure: -4, Unknown Error.
Function Error.
I think this error might be related to the fact that whenever I try to run bt-en.sh, I get the following output:
TI AM437x GP EVM
success
./bt-en.sh: line 19: echo: write error: Device or resource busy
Done enabling BT
mkdir: can't create directory '/home/root/tibt': File exists
The line causing the write error is "echo 16 > /sys/class/gpio/export" in bt-en.sh. Any ideas about why this is happening?