ml-cai / bbbiolib Goto Github PK
View Code? Open in Web Editor NEWsimple I/O library for Beaglebone Black , include some demo
License: BSD 3-Clause "New" or "Revised" License
simple I/O library for Beaglebone Black , include some demo
License: BSD 3-Clause "New" or "Revised" License
Hi,
First of all: Nice Work!
Question: Is there anything to consider/prepare when using the PWM?. Demo_PWM does compile and starts but there is no signal (anymore). Only a single time there was output but after rebooting (pwr off/on) the BBB I don't get it running anymore. Using Python with Adfruit_BBIO PWM it works.
Thanks for any advice!
hi Cai, I hope you're well.
I been using your library for 6 years now and IT'S GREAT
are there any plans to update the code? - not that there are any issues, but just wondering if this project is still active
many thanks for your work
I trying to wire and using 4x4 keypad demo, but I cannot recieved any signal when press button on keypad It always 0 value. I had change the demo code using using pulling low configuration.
Here is my Beaglebone black configuration:
P8_39 : SLEWCTRL 0 (Fast) ,RXACTIVE 0 (Disable) ,PULLTYPESEL 0 (Pulldown) ,PULLDEN 1 (Disable) ,MUXMODE : 0 | P8_39
P8_40 : SLEWCTRL 0 (Fast) ,RXACTIVE 0 (Disable) ,PULLTYPESEL 0 (Pulldown) ,PULLDEN 1 (Disable) ,MUXMODE : 0 | P8_40
P8_41 : SLEWCTRL 0 (Fast) ,RXACTIVE 0 (Disable) ,PULLTYPESEL 0 (Pulldown) ,PULLDEN 1 (Disable) ,MUXMODE : 0 | P8_41
P8_42 : SLEWCTRL 0 (Fast) ,RXACTIVE 0 (Disable) ,PULLTYPESEL 0 (Pulldown) ,PULLDEN 1 (Disable) ,MUXMODE : 0 | P8_42
P8_43 : SLEWCTRL 0 (Fast) ,RXACTIVE 0 (Disable) ,PULLTYPESEL 0 (Pulldown) ,PULLDEN 1 (Disable) ,MUXMODE : 0 | P8_43
P8_44 : SLEWCTRL 0 (Fast) ,RXACTIVE 0 (Disable) ,PULLTYPESEL 0 (Pulldown) ,PULLDEN 1 (Disable) ,MUXMODE : 0 | P8_44
P8_45 : SLEWCTRL 0 (Fast) ,RXACTIVE 0 (Disable) ,PULLTYPESEL 0 (Pulldown) ,PULLDEN 1 (Disable) ,MUXMODE : 0 | P8_45
P8_46 : SLEWCTRL 0 (Fast) ,RXACTIVE 0 (Disable) ,PULLTYPESEL 0 (Pulldown) ,PULLDEN 1 (Disable) ,MUXMODE : 0 | P8_46
I could not find any information about licence neither in the code nor in this web page. The company where I work intends to use this library in a comercial project, but we need to know the licencing terms before doing that.
Thank you
Do you plan on updating your library to be compatible with the latest kernel. that will include making changes to be compatible with the new way of handling device tree overlays.
I have been trying to get the basic servo_motor demo working and am completely unable to make it work. If try to use the servo from the cli i am able to control it by setting period duty etc from the command line through sysfs but using your library i have been unable to get pwm to work. Is there something I am doing wrong? The issue is definitely not wiring or power.
I have had good experiences with the GPIO portion of the library, but recently found a bug
in the SPI library.
I was using the SPI in a transmit only application, and the library would not run.
It looks like there are two SPI receiver calls in BBBIO_McSPI_work() involving
MCSPI_GET_CHSTAT_RXS() and "copy receive data" that are still active,
even though it is transmit only. This causes BBBIO_McSPI_work() to hang
forever, since receiver is disabled.
I made my application run by commenting out that part of the code, but
a general solution would be to make it conditional upon having a receiver
enabled.
Thanks for all your work and contributions.
--- Graham
Hi i'm trying to SPI interface through BBBIO.
after iolib_init(),
i set
BBBIO_McSPI_channel_ctrl
and used function Enable - McSPI_work - Disable.
But it errored
BBBIO_McSPI_CLK_set: No effect pin mux Detected of SPI-0 ,Please use EP_STATUS toolkit to check Pin mux mode
BBBIO_McSPI_work: McSPI 0 CM_PER Clock Gating!
BBBIO_McSPI_CLK_set: No effect pin mux Detected of SPI-0 ,Please use EP_STATUS toolkit to check Pin mux mode
so i use EP_STATUS toolkit and pin mux mode is not correct for use SPI interface
any idea or function in BBBIO to change pin mux mode? or i misused that?
I have some code written that works well with controlling the speed of a motor using the beaglebone blacks motocape. I have also written a more complex program that doesnt seem to work when passing the values to BBBIO_PWMSS_Setting(BBBIO_PWMSS1, 25.0f, speed, angle); function. I am not sure what I am doing wrong and any help is appreciated.
here is my original working code: http://paste.ubuntu.com/10870922/
here is the new not working code: http://paste.ubuntu.com/10870923/
But I really hate segment faults...:(
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.