Giter VIP home page Giter VIP logo

bbbiolib's People

Contributors

dsiroky avatar ml-cai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bbbiolib's Issues

PWM

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!

still development ?

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

4x4 keypad demo not working

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

Licencing terms are missing

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

3.14.33 kernel

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.

Does PWM work?

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.

Transmit-Only SPI Problem

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

SPI

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?

similiar functions different output

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/

Great job!

But I really hate segment faults...:(

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.