Go Down

Topic: MKRzero as usbhost, device not respond (Read 1 time) previous topic - next topic

Virtualwan

Hello,




Previously, we managed to communicate with a device using arduino DUE (SAM) without any trouble.

Then, with the same device, We are trying to use the mkrzero (SAMD) as usb host. the setup is composed of a power bank to have 5V in the usb and a OTG cable.

The probleme is related the SETUP packet to indicate that the device has to send its description. the device send  NAK signal, and the USB_RETRY_LIMIT is reached.

I don't understand why communication between the device and the mkrzero can't be initialized whereas there is no problem with the DUE.

We performed some expriments with a mouse and MKRZero no issue...

If someone has any clue or explanation, it would be appreciated

ballscrewbob

Schematic and code would be a good addition to your post.
There are differences in both those MCU architechtures.

It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

Go Up