Author Topic: Difficulty with Pro Micro & Full-Size Arduino Host Shield  (Read 2062 times)

0 Members and 1 Guest are viewing this topic.

Offline akhawais

  • Thread Starter
  • Posts: 1
Difficulty with Pro Micro & Full-Size Arduino Host Shield
« on: Fri, 08 February 2019, 13:48:31 »
Apologies if this board isn't for questions. Please let me know.

I have a Pro Micro 3.3v 8MHz along with an Arduino USB Host Shield. I tried following this guide: https://geekhack.org/index.php?topic=80421 as it was similar. After consulting https://playground.arduino.cc/Main/ShieldPinUsage to figure out what pins were what on the full-size Host Shield.

Here is my wiring diagram: https://i.imgur.com/mTwO8Tr.jpg

I connected everything up. Used the Makefile.8mhz and flashed to the Pro Micro successfully. However the device turns up in Device Manager as "Unknown USB Device (Device Descriptor Request Failed)".

I am certain there is some changes I need to do in order to configure TMK to use other pins. I read online that PB0 (which is the ATmega32u4 default SS pin) is not routed to a pin and instead used for an LED, and furthermore that only some of the pins are used for external interrupts for the INT on the Host Shield. Pin 3 maps INT0, 2 to INT1, 0 (RXI) is interrupt 2, 1 (TXO) to INT3, 7 to INT 4.

How would I go about configuring TMK? The "Changing Pins" wiki page on GitHub says to edit constants in config.h but I can't see any constants in the config.h for usb_usb. Or does TMK automatically figure this out and perhaps my wiring is wrong?

Many thanks

Offline yangdigi

  • Posts: 79
  • Location: China
Re: Difficulty with Pro Micro & Full-Size Arduino Host Shield
« Reply #1 on: Mon, 11 February 2019, 23:23:31 »
Check if your pro micro is really 8Mhz.
If you bought it from China, it maybe a 3.3v 16Mhz.
No matter how you wired them, That you can relflash new firmware tells the pro micro itself works well.
So when you reflash a 8MHz firmware to it, it should not show unknown device if it is really 8M.