MAX3421E as usb host

Status
Not open for further replies.

spe.CIA.l

Newbie level 1
Joined
Feb 6, 2014
Messages
0
Helped
0
Reputation
0
Reaction score
0
Trophy points
0
Activity points
11
Hi everyone,

Actually my issue is similar with the one posted before:
https://www.edaboard.com/threads/154217/
but it was posted 4 years ago and there was no solution to that problem so i don't know how the poster fixed that issue in the end.

I am trying to connect max3421e eval kit to arduino mega 2560 while max3421e functions as a usb host. Right now the SPI interface is working perfectly. However, if i try to connect a usb keyboard to max3421e eval kit and run a usb host library, I get 0x05(hrSTALL) from HRSL when sending getDevDescr. An interesting thing is that if i connect a usb stick to the eval kit instead, i am able to get into the next stage which is "setAddr", but in turn hrSL returns 0x08(byte count error).

GPOUT7 is set to 1. DPULLDN, DMPULLDN, SOFKAENAB, LOWSPEED, HOST are written into MODE register. Vbus Low Speed is connected to 5V.

Sorry i have stuck on this for a long time. i will be much appreciated it if someone can save my life. Thanks in advance.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…