Other Parts Discussed in Thread: WL1831
Tool/software: Linux
Hi,
We our custom board based on AM335x and WL1831 is interfaced for WiFi and Bluetooth and it is working on Linux 3.2.0.
Wifi is working fine, but we are getting following error while running Bluetopia sample applications.
BTPM_Initialize() Success: 0.
DEVM_RegisterEventCallback() Success: 5.
echo 17 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio17/direction
echo 0 > /sys/class/gpio/gpio17/value
echo 1 > /sys/class/gpio/gpio17/value
echo 0 > /sys/class/gpio/gpio17/value
echo 1 > /sys/class/gpio/gpio17/value
BT COMM PORT (/dev/ttyO2): -2
DEVM_PowerOnDevice() Failure: -4, Unknown Error.
BT is connected with UART2 and BT enable gpio is gp0_17.
Also, we have following con-figs selected in kernel.
CONFIG_BT=y
CONFIG_BT_HCIUART=y
CONFIG_BT_HCIUART_LL=y
CONFIG_BT_TI_WILINK=y
CONFIG_TI_ST=y
Please help what we are doing wrong.
Best Regards
Rohit Khatri