Giter Site home page Giter Site logo

Comments (4)

focalplane avatar focalplane commented on September 2, 2024

Hi, We will look into this. Possibly the easiest thing in the short term might be to use a USB bluetooth adapter.

from ultra96-pynq.

AnantaBalaji avatar AnantaBalaji commented on September 2, 2024

Hi. USB Bluetooth adapter does work. But I would like to use Internal bluetooth already present in ultra96 v2 board. Please do let me know soon. I have been trying to bring it up for the past week.

from ultra96-pynq.

focalplane avatar focalplane commented on September 2, 2024

Hi, I don't really know much about all the modes and settings for bluetooth and what exactly this part supports but the shell commands below do get the driver up and running!

If you get the rest of it working please do share, I'm sure other people would like to know more as well. So would I but right now I don't have time to dig in further. Good luck!

Note: I removed a few unneeded commands since 1st post of this!

# Do this only once:
echo BT_POWER_UP > /dev/wilc_bt
echo BT_DOWNLOAD_FW > /dev/wilc_bt

stty -F /dev/ttyPS1 115200
# Initialize the device:
hciattach /dev/ttyPS1 -t 10 any 115200 noflow nosleep
sleep 1s
hciconfig hci0 up
hciconfig hci0

Final command output:

hci0:   Type: Primary  Bus: UART
        BD Address: F3:e0:33:C4:22:2F  ACL MTU: 27:30  SCO MTU: 0:0
        UP RUNNING 
        RX bytes:240 acl:0 sco:0 events:16 errors:0
        TX bytes:84 acl:0 sco:0 commands:17 errors:0

Related dmesg output:

[   78.375059] at_pwr_dev: open()
[   78.378216] AT PWR: bt_power_up
[   78.378232] wilc_sdio mmc1:0001:1: SDIO speed: 50000000
[   78.378510] wilc_sdio mmc1:0001:1: chipid 003000d0
[   78.378514] WILC POWER UP
[   78.381171] at_pwr_dev: close()
[   78.382436] at_pwr_dev: open()
[   78.385548] AT PWR: bt_download_fw
[   78.385552] Bluetooth firmware: mchp/wilc3000_ble_firmware.bin
[   78.402123] Downloading BT firmware size = 58184 ...
[   78.557697] Starting BT firmware
[   78.663974] BT Start Succeeded
[   78.664212] at_pwr_dev: close()

from ultra96-pynq.

AnantaBalaji avatar AnantaBalaji commented on September 2, 2024

Thanks a lot. It does work now. I did not mention the initialization timeout in my hciatatch commands.

from ultra96-pynq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.