Hello all,
I have been struggling for some days with the USB drivers on both a
custom board based on SAML21, and on a SAMR34-Xplained board (for the
latter, I'm using pr/samr34_support from
https://github.com/dylad/RIOT.git).

Enabling USB was trivial: according to the datasheets, the hardware
configuration is the very same used by board samr21-xpro.

My problem is that the host-provided USB address is not accepted at
all, and thus even examples/usbus_minimal is failing.

I've tried to add extensive debug points, but the code assigning the
address is never triggered (only on RESET, with address 0).

Debugging conversation with Wireshark shows me that a SET_ADDRESS
command is indeed send by host, but the immediate answer is a "broken
pipe" error - possibly directly generated by the L21 CPU (I have no
clue).

Does anyone have an advice about how to pinpoint the problem, and
solve it? Any help will be greatly appreciated, I've been working on
this for a few days already but got nowhere.

Thanks a lot,

Antonio
_______________________________________________
users mailing list
[email protected]
https://lists.riot-os.org/mailman/listinfo/users

Reply via email to