Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NuMaker-M471R1 in USB Host mode #2

Open
jeromeDms opened this issue Oct 26, 2023 · 1 comment
Open

NuMaker-M471R1 in USB Host mode #2

jeromeDms opened this issue Oct 26, 2023 · 1 comment

Comments

@jeromeDms
Copy link

Hi
I'm trying to run your example code For USB Host, using the NuMaker-M471R1 evaluation board.
But nothing works, no device detected.
What are the required changes to do on the NuMaker-M471R1 board to be able to use the MCU in USB Host mode ?
I soldered 0R resistors on R23 and R24 to enable the pull down resistors on D+/D- lines.
Any other thing to change ? Crystal frequency for instance ?
Is there any documentation somewhere relating to USB Host mode for the M471 series ?
Thanks

@FTHGL
Copy link

FTHGL commented Aug 14, 2024

Hi,

I'm experiencing a similar issue while working with the M480 series. I successfully compiled the example code without any errors, but when it comes to establishing a USB connection, the device is not detected by the chip. I suspect that the problem might be related to the USB descriptors not being correctly defined or configured.

I've tried rewriting the descriptor file, including the vendor ID and product ID, and configuring the USB memory properties for projects that involve USB storage. However, the result is still the same. Additionally, I am not receiving any interrupts from the USBD20_IRQHandler, which further complicates the issue.

Should the properties defined in the descriptor relate to the USB connection or the features of the chip itself? Or are there standard descriptors that should be used according to the specific features we're implementing, like a DFU, for example?

Have you managed to resolve your issue, or do you have any insights or recommendations on this matter?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants