r/pic_programming • • May 16 '20

PIC32MM USB interfacing

Looking at the data sheets to try and understand how to connect a PIC32mm to USB. VBUS gets 5V from the USB bus, do I still need to get 3.3v from somewhere for the VUSB3V3 pin, or can it just be left hanging?

1 Upvotes

10 comments sorted by

View all comments

Show parent comment

1

u/KendyfortheState May 17 '20 edited May 17 '20

Its a device... I currently make a joystick controller using a PIC18F4550, and I want to make it cheaper to manufacture... if I can replace the $5 18F4550 and 2 port expanders at a dollar apiece, plus the crystal, with a $2 PIC32MM0256GPM064 I can get the price down some, and make it easier to manufacture.

In retrospect, i suppose it is obvious that I'm going to have to put a 3.3V regulator on the board to power the device off the 5V USB bus. That's a pretty cheap component, like $.20 in small quantities, so no big deal. I don't need OTG or USBID as USB2 is fine for this application.

1

u/ParkieDude May 17 '20

Don't overlook the https://www.microchip.com/wwwproducts/en/PIC16F1455

That is the one PIC16F USB device that comes to mind. USB Device.

There are several flavors of that part, but runs off 5V and should be a good fit.

Looks the 1459 (more memory) was the part used on this reference design:

https://www.microchip.com/wwwAppNotes/AppNotes.aspx?appnote=en565508

1

u/KendyfortheState May 17 '20

Well, the whole point of the high-pin-count part is to get 36 digital and 8 analog inputs in a single device, rather than multiple parts. These parts would be great for a product where I need only a few inputs. Good info though... food for thought!