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.

WL1837MOD: WIFI and BT enable cause "sporadic" hciattach timeout

Part Number: WL1837MOD

Team,

is there a dependency between enabling the WIFI part and the BT part?

My customer gets a hciattach timeout each second time when trying to enable BT when WIFI is already enabled.
The issues does not occur when WIFI is deactivated.

Thanks

  • Franziskus,

    Please try the following steps when using hciattach to enable Bluetooth controller. (Note : # below represents the gpio number that is connected to the BT_EN pin and $ represents the tty port connected to HCI pins)

    echo # > /sys/class/gpio/export
    
    echo "out" > /sys/class/gpio/gpio#/direction
    
    echo 0 > /sys/class/gpio/gpio#/value
    
    echo 1 > /sys/class/gpio/gpio#/value
    
    echo 0 > /sys/class/gpio/gpio#/value
    
    echo 1 > /sys/class/gpio/gpio#/value
    
    hciattach /dev/tty$ texas 3000000

    This will result in two low to high transitions of BT_EN signal each time hciattach is called. Please see if this resolves the issue.

    Best regards,

    Vihang

  • Thank you Vihang, this answered the customer question!