<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[USB Host module - which pins?]]></title><description><![CDATA[<p dir="auto">Hi<br />
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 (<a href="https://github.com/felis/USB_Host_Shield_2.0/blob/master/avrpins.h" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/felis/USB_Host_Shield_2.0/blob/master/avrpins.h</a>) has this // Pinout for ESP32 dev module</p>
<p dir="auto">MAKE_PIN(P0, 0);<br />
MAKE_PIN(P1, 1); // TX0<br />
MAKE_PIN(P10, 10); // TX1<br />
MAKE_PIN(P3, 3); // RX0<br />
MAKE_PIN(P21, 21); // SDA<br />
MAKE_PIN(P22, 22); // SCL<br />
MAKE_PIN(P19, 19); // MISO<br />
MAKE_PIN(P23, 23); // MOSI<br />
MAKE_PIN(P18, 18); // SCK<br />
MAKE_PIN(P5, 5); // SS<br />
MAKE_PIN(P17, 17); // INT</p>
<p dir="auto">which shows 17 as INT.<br />
It seems not to matter, as with a different ESP32 board I have connected 17, 35 and nothing and it still seems to work,<br />
Is there a special library for the M5Stack USB Host that specifically uses P35?<br />
Thanks</p>
]]></description><link>https://community.m5stack.com/topic/3808/usb-host-module-which-pins</link><generator>RSS for Node</generator><lastBuildDate>Mon, 16 Mar 2026 05:23:49 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3808.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 07 Dec 2021 08:29:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to USB Host module - which pins? on Tue, 07 Dec 2021 17:31:00 GMT]]></title><description><![CDATA[<p dir="auto">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?<br />
The rar looks to have the same pin assignment as above in avrpins.h - pin 17 to INT.<br />
I am wondering if I've missed something here!</p>
]]></description><link>https://community.m5stack.com/post/15745</link><guid isPermaLink="true">https://community.m5stack.com/post/15745</guid><dc:creator><![CDATA[PaulHamshere]]></dc:creator><pubDate>Tue, 07 Dec 2021 17:31:00 GMT</pubDate></item><item><title><![CDATA[Reply to USB Host module - which pins? on Tue, 07 Dec 2021 10:19:20 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/14728">@PaulHamshere</a> ,<br />
Did you try this code?</p>
<p dir="auto"><a href="https://docs.m5stack.com/en/module/usb?id=example" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.m5stack.com/en/module/usb?id=example</a></p>
<p dir="auto">It seem we provide a library for this module:<br />
<a href="https://github.com/m5stack/M5Stack/blob/22e1d65b1062b185d1692fa19af3cbd238633859/examples/Modules/USB_MAX3421E/USB_Host_Shield_Library_2.0.rar" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5Stack/blob/22e1d65b1062b185d1692fa19af3cbd238633859/examples/Modules/USB_MAX3421E/USB_Host_Shield_Library_2.0.rar</a></p>
]]></description><link>https://community.m5stack.com/post/15739</link><guid isPermaLink="true">https://community.m5stack.com/post/15739</guid><dc:creator><![CDATA[IAMLIUBO]]></dc:creator><pubDate>Tue, 07 Dec 2021 10:19:20 GMT</pubDate></item></channel></rss>