Giter VIP home page Giter VIP logo

Comments (7)

grgustaf avatar grgustaf commented on August 25, 2024

I've tried again and no it doesn't seem to work for me either. I only tried IO3/4 so far.

from zephyr.js.

grgustaf avatar grgustaf commented on August 25, 2024

Later I found that the Zephyr QMSI (and older DW) GPIO drivers never even use the GPIO_PUD_PULL_UP flag, while some other drivers like K64F do. So it can't possibly work currently - I'm not sure if that's because the hardware doesn't support it or just the driver. There is some reference to pullup for A101 within the pinmux driver though, so there might be an alternate way to enable it. (No reference to pulldown there though.)

from zephyr.js.

grgustaf avatar grgustaf commented on August 25, 2024

So basically, unless we get so serious about this particular issue that we attempt to go add the support to Zephyr ourselves (and figure out whether it's actually supported in the A101 hardware), it's just not going to work until they get around to it.

We're starting to run into this in other places: for example, it appears there is no I2C driver for K64F. So we're probably going to need to get used to missing Zephyr support and figure out what we're going to do about it. Unless we run out of work that's clearly "ours", I don't think writing Zephyr drivers is the answer. So we need to either clearly document where support is missing, or report it in the code with errors, or both.

I'm in the process of adding API documentation so I guess adding a section to each page on hardware support caveats would make sense.

from zephyr.js.

grgustaf avatar grgustaf commented on August 25, 2024

I guess another parallel path is that we open Zephyr bugs.

from zephyr.js.

grgustaf avatar grgustaf commented on August 25, 2024

Hmm I still haven't opened a Zephyr bug but talked to ktseng on IRC and that's what he told me to do. I should check first on a recent Zephyr commit.

from zephyr.js.

grgustaf avatar grgustaf commented on August 25, 2024

I found that zephyrproject-rtos/zephyr#2288 may shed some light on this issue; it appears that for A101 at least, it is pinmux driver where pullups are controlled.

from zephyr.js.

grgustaf avatar grgustaf commented on August 25, 2024

Lowering priority because this is A101-specific and pullup has been observed to work on other boards.

from zephyr.js.

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.