Git Product home page Git Product logo

Comments (11)

warthog618 avatar warthog618 commented on July 24, 2024

Have you tied J8p15 and J8p16 as per the documentation?

from gpio.

gallex avatar gallex commented on July 24, 2024

Yes, I tied J8p15 and J8p16 with a jumper

from gpio.

warthog618 avatar warthog618 commented on July 24, 2024

Any other clues? Platform?

from gpio.

gallex avatar gallex commented on July 24, 2024

3B+ sometimes OK, sometimes may FAIL

4B always FAIL

from gpio.

warthog618 avatar warthog618 commented on July 24, 2024

Haven't tested on a 3B - don't have one.
Just received a 4B today as it happens, and will try it out presently.

from gpio.

warthog618 avatar warthog618 commented on July 24, 2024

4B mostly works for me. I get a PullDown failure, which is probably due to the faster CPU - so the line isn't given time to reach its new equilibrium level before the test checks it. You are probably getting something similar with ringing on the the interrupt line.

I'll have a look and see if I can make the tests more robust on the faster hardware.

In the meantime, if you aren't toggling lines at full speed like the tests do, you should be fine.

from gpio.

gallex avatar gallex commented on July 24, 2024

I'll try , thank you.

from gpio.

gallex avatar gallex commented on July 24, 2024

I get a PullDown failure, which is probably due to the faster CPU


I add a time.Sleep(n*time.Millisecond) , even n =100, get a PullDown failure also.

from gpio.

warthog618 avatar warthog618 commented on July 24, 2024

How pullups are programmed has changed in the Pi4, so that is currently broken. The line that the tests use happens to be pulled up by default, so pull up appears to work, while pull down fails. Will have to look into what needs to be changed, but this is not a high priority for me at the moment.

Other than the pull downs the tests are totally solid for me on all the the platforms I have available so not sure what I can change, or in fact if the problems don't lie in your boards.

from gpio.

warthog618 avatar warthog618 commented on July 24, 2024

I've committed a change to handle the Raspberry Pi 4.
I've also fixed some race conditions in the watcher.Close and TestCloseInterrupts that were showing up on the faster platforms.
All tests are now consistently passing for me on all platforms.
I've also added a new command line utility, which unfortunately for you will pull in even more dependencies.
I've got a few more minor changes to add, and then I'll tag a new release in the next few days.

from gpio.

gallex avatar gallex commented on July 24, 2024

wonderful

from gpio.

Related Issues (8)

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.