Git Product home page Git Product logo

Comments (5)

mangobuge avatar mangobuge commented on July 19, 2024

if we use PA1 for OTG-ID, then :

&usb_otg {
dr_mode = "otg"; /* host peripheral otg*/
status = "okay";
};
&usbphy {
status = "okay";
usb0_id_det-gpios = <&pio 0 1 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PA1    0a1b2c3d4e5f6g7h */
};

I tested, it works.

from buildroot-tiny200.

peterbmckinley avatar peterbmckinley commented on July 19, 2024

Thanks Mangobuge. Can we make this the default and submit a pull request to https://github.com/ouki-wang/buildroot-f1c-pinpong

Peter

from buildroot-tiny200.

peterbmckinley avatar peterbmckinley commented on July 19, 2024

if we use PA1 for OTG-ID, then :

&usb_otg {
dr_mode = "otg"; /* host peripheral otg*/
status = "okay";
};
&usbphy {
status = "okay";
usb0_id_det-gpios = <&pio 0 1 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PA1    0a1b2c3d4e5f6g7h */
};

I tested, it works.

We copied your dts but it made no difference.

"# lsusb
#"

According to the Schematic, the ID pin is not connected

from buildroot-tiny200.

Patchy319 avatar Patchy319 commented on July 19, 2024

@peterbmckinley Greetings, I did some testing with my own F1C200s dev board and found setting it to this, gave me the desired result:

&usb_otg {
dr_mode = "host"; /* host peripheral otg*/
status = "okay";
};
&usbphy {
status = "okay";
};

I used this to get my USB Ethernet Adapter to work. This may be what you are looking for. Please let me know if this is helpful, it took me a lot of troubleshooting myself! :)

from buildroot-tiny200.

peterbmckinley avatar peterbmckinley commented on July 19, 2024

I haven't tested it, my project has moved on, but if it worked for you i'm happy to close the issue on that basis.

Thank for your help!

from buildroot-tiny200.

Related Issues (13)

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.