Using DuinoFun Mini USB Shield with Elegoo Atmega 2560 R3

Hi,
As a newbie I'm sure this is basic, but I've been at this a couple of days without success.
I have connected a DuinoFun Mini USB host shield to my Elegoo ATmega 2560, running some basic example code from Oleg's USB Host 2.0 library. The message coming back from the serial port is 'OSC not started'.
I then (just for interest) tried the CircuitsAtHome qc sketch and got the following message:

Reading REVISION register... Die revision invalid. Value returned: 00
Unrecoverable error - test halted!!

Having read many posts I am currently no further (the hair pulling stage!)
I have currently connected the boards using:

Atmega pin 50 (miso), pin 51 (mosi), pin 52 (sclk), and pin 53 (SS), and the power pin of course.
I have tried various recommendations for the interrupt pin, reset pin etc

I also tried the Hid examples with the same result so concluded that I'm doing something basically wrong here.

has anyone has managed to make this combination work? If so I'd love some guidance

thanks in advance!

None of the links in your post worked.

Hi Paul,

many thanks for the response. Here's some more information on the setup, and the issue at hand.

The library I used (USB Host Library 2.0) is located at GitHub - felis/USB_Host_Shield_2.0: Revision 2.0 of USB Host Library for Arduino..

The sketch I used is under examples/USB host Library and is called "board_qc", which I am running out of the box.

The mini USB host shield (ILS - Mini USB Host Shield 2.0 For Arduino ADK SLR Development Tool ) is from amazon:
https://www.amazon.co.uk/gp/product/B0768GXQCL/ref=oh_aui_detailpage_o06_s01?ie=UTF8&psc=1

I have found 2 pinout diagrams for the board, which I have attached. Pinout diagram one matches exactly the board I have, and pinout 2 I think is for the 'original'. I have used pinout 1 which matches the board I have.

I have used the 3.3V / GND to power the board (markings would indicate it runs on 3.3V, however I understand that the MAX3421 chip works on both 3.3 and 5V. I need the board to eventually host a USB scanner which takes a fair amount of current.

I have attached the Interrupt pin on the host shield to the Mega pin D9, and have done the test both with the reset pin attached to the Mega reset pin, and to Vcc, with similar results.

I noticed that the host shield is designed for the Mega 2560 ADK variant, and I am running the mega 2560 R3 board - could the board differences account for the issue (i'm thinking not, but am open to suggestions)

Let me know if you need more info - I Hope this gives a bit more to go on!

Many thanks

Richard

Hi All,
I used a logic analyser to trace the SPI signals, and verified that the pinout in diagram 2 for the duinofun USB shield is correct. Used 3V3 Vcc, traced one loose connector and all is well. I have connected a USB scanner which works reliably from the USB shield.