-1
\$\begingroup\$

I have a board built around a PIC32MZ that uses a FTDI 312D to communicate through tbe UART with an Android device.

What kind of software do I need on the PIC32 side so I can get rid of the FTDI and connect the PIC32 directly to the Android device? My board would be the host so the Android device can always charge from 5V my board supplies and I'd prefer not having to do a custom Android build or add up any drivers.

\$\endgroup\$
2
  • 1
    \$\begingroup\$ You appear to be answering your own question in the title of your question. The kind of software you need is a "USB host stack for PIC32"... What is your real question? \$\endgroup\$
    – brhans
    Commented Dec 17, 2020 at 14:47
  • \$\begingroup\$ I was hoping to get a link to a repo or page or a tutorial from someone more experienced. Something to help getting it done. But it's ok, thank you for your input. \$\endgroup\$
    – Nick M
    Commented Dec 17, 2020 at 15:50

1 Answer 1

2
\$\begingroup\$

So long as the PIC you selected has the hardware, Microchip's own code libraries should do this for you. I did succeed in getting a PIC32 writing to a USB flash drive a few years ago. It was a bit of a fight to get working, but it did the job. These days you can probably set it up with Microchip's Harmony code generation stuff, although I haven't used it myself.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.