-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support Beaglebone Black board use esp-hosted over SPI #130
base: master
Are you sure you want to change the base?
Conversation
Hi, I was just browsing this PR to see how difficult it would be to port to another platform. It doesn't seem to bad. This doesn't matter technically, because all the SPI0 pins are mode 0, but I think you have the comments for mosi and cs0 switched. I suppose this might matter if someone is looking at this in the future.
Also, if I'm wrong, just disregard, I'm fairly new to embedded linux. |
Hi @MRobertEvers |
@MRobertEvers in exported device tree:
default gpio mode for P9_18 is ptrctrl-0 0x1a9
however I expect it is 0x10 instead of 0x37 |
I am not too sure, if SPI mode of 0 is being discussed. This is ESP32 specific link and doesn't apply to other chipsets like ESP32-C3: |
@vuhailongkl97 and @MRobertEvers Thank you for the PR and all your efoorts & inputs. We will review this PR and let you know further comments or once it is merged to master. As I understand, the throughput is much less that what we expect.
|
@mantriyogesh . Thanks for the comments. |
@mantriyogesh
|
Using ESP32-C3-DevKitC-02v1.1 and BeagleBoard Black Using long (20cm! wires) and SPI mode 2. Compiled from source using
The measurements were pretty inconsistent, but that is a pretty good rate for the setup. Very nice. |
@MRobertEvers great. |
|
Hello guys, => fatload mmc 0:1 0x89000000 BBB_spidev_disabler.dtbo also at the time of compiling the "BBB_spidev_disabler.dts" i get this warning message: dtc -O dtb -o BBB_spidev_disabler.dtbo -b 0 -@ BBB_spidev_disabler.dts any idea about how to fix this problem? |
@HumbertoOntiveros as I remember , you don't need to load by yourself. just follow the readme.md docs/Linux_based_host/SPI_setup_for_BBB.md . it will move the bbb.dtbo to /lib/firmware and uboot load it for you. |
yeah, you're right @vuhailongkl97 but as i mentioned before i'm working in my own custom linux from scratch, i'm not using the one broadcasted by the provider, for that reason i'm doing it in this way. |
Hello,
I have ported this project to my BBB board.
I tested WiFi APIs with python and it worked, with Bluetooth some function still not work as my expectation, I'm working on it. Please consider to merge this for everyone who interested in this project for BBB.
Thanks
Note:
Currently throughput speed is not good ( Download/Upload < 3Mbps)