Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. PaulHamshere
    P
    • Continue chat with PaulHamshere
    • Start new chat with PaulHamshere
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    PaulHamshere

    @PaulHamshere

    0
    Reputation
    2
    Posts
    163
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    PaulHamshere Follow

    Posts made by PaulHamshere

    • RE: USB Host module - which pins?

      Hi - I did try the example and it works. But it works whether any pin is connected to INT - pin 17, pin 35 or no pin at all. INT drives interrupt responses and perhaps this really doesn't use any interrupts - but then why connect P35 at all?
      The rar looks to have the same pin assignment as above in avrpins.h - pin 17 to INT.
      I am wondering if I've missed something here!

      posted in Modules
      P
      PaulHamshere
    • USB Host module - which pins?

      Hi
      I have the USB Host module but I'm confused over the circuit and code. It says it connects P35 to the INT line on the MAX3421 but the code in the library (https://github.com/felis/USB_Host_Shield_2.0/blob/master/avrpins.h) has this // Pinout for ESP32 dev module

      MAKE_PIN(P0, 0);
      MAKE_PIN(P1, 1); // TX0
      MAKE_PIN(P10, 10); // TX1
      MAKE_PIN(P3, 3); // RX0
      MAKE_PIN(P21, 21); // SDA
      MAKE_PIN(P22, 22); // SCL
      MAKE_PIN(P19, 19); // MISO
      MAKE_PIN(P23, 23); // MOSI
      MAKE_PIN(P18, 18); // SCK
      MAKE_PIN(P5, 5); // SS
      MAKE_PIN(P17, 17); // INT

      which shows 17 as INT.
      It seems not to matter, as with a different ESP32 board I have connected 17, 35 and nothing and it still seems to work,
      Is there a special library for the M5Stack USB Host that specifically uses P35?
      Thanks

      posted in Modules
      P
      PaulHamshere