This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

What should I do to make nRF52840 to be a USB host?

I am doing a Nordic project, that need to be a USB host. May I know how to make nRF52840 to be a USB host ? 

Parents Reply
  • Hi Akarsh,

    I've been out of the project for over a year now, so don't have the specifics available anymore.

    You indeed have to use the Nordic SPI to configure the MAX3421E. First set the SPI communication bits on the MAX. Then make sure you can read the revision number of you MAX to confirm SPI communication. After that you can set the HOST bit on the MAX. Specifics on how to program the chip can be found in the MAX3421E programming manual on the website of Maxim Integrated.

    Back then I wrote my own code to use the MAX3421E, but after I was finished I found some open source code on github to do exactly that. You might be able to find it.

    Good luck

Children
Related