Hot!Here is how to connect unused PIC32MZ USB pins...

Author
DougD
Junior Member
  • Total Posts : 75
  • Reward points : 0
  • Joined: 2012/12/24 10:12:06
  • Location: 0
  • Status: offline
2018/11/19 13:22:30 (permalink)
5 (1)

Here is how to connect unused PIC32MZ USB pins...

I'm designing a non-USB application with a PIC32MZ, and was unsure how to connect the unused USB pins.  A old PIC24F post (https://www.microchip.com/forums/m585222.aspx) concluded that the VUSB pin (VUSB3V3 for the PIC32MZ) should be tied high.  Figure 2-1 on page 32 of the "PIC32MZ Embedded Connectivity with Floating Point Unit (EF) Family" data sheet (DS60001320D) also shows VUSB3V3 tied to Vdd.  However, "Note 1" in this figure says: "If the USB module is not used, this pin must be connected to Vss."

To resolve this, I contacted Microchip Tech Support and here's what they had to say:
    "Specifically, in the PIC32MZ Embedded Connectivity with Floating Point Unit (EF) Family datasheet on page 40, figure 2-1 see note 1, Vusb3v3 pin should be grounded and all other USB pins should be left unconnected." (emphasis added)
    "Just a reminder, the PIC32MZ devices have a Peripheral Module Disable register.  See section 33.3 of the datasheet on page 584."
"The USB module can be disabled by setting the following bit:
    PMD5bits.USBMD = 1;"

"Setting the above bit will disable the USBPLL and stop the USB peripheral from receiving any clock."
So, for the PIC32MZ at least, one should evidently ground the VUSB3V3 pin, and leave the VBUS, D+, and D- pins open.

Doug D.
#1

3 Replies Related Threads

    Larry.Standage
    Super Member
    • Total Posts : 872
    • Reward points : 0
    • Joined: 2011/12/30 09:50:47
    • Location: 0
    • Status: offline
    Re: Here is how to connect unused PIC32MZ USB pins... 2018/11/19 13:41:19 (permalink)
    4 (1)
    Tying VUSB3V3 will disable the USB module, and give a bit lower power consumption than usual.
     
    BUT doing so will disable the RPF3/USBID/RF3 pin. Make sure you're not using that pin either.
    #2
    DougD
    Junior Member
    • Total Posts : 75
    • Reward points : 0
    • Joined: 2012/12/24 10:12:06
    • Location: 0
    • Status: offline
    Re: Here is how to connect unused PIC32MZ USB pins... 2018/11/19 14:09:33 (permalink)
    0
    Thanks Larry, I forgot about the USBID pin.
    #3
    Mohammed_Hassan
    New Member
    • Total Posts : 2
    • Reward points : 0
    • Joined: 2019/03/13 06:05:20
    • Location: 0
    • Status: offline
    Re: Here is how to connect unused PIC32MZ USB pins... 2019/03/20 02:59:16 (permalink)
    0
    Thanks I was searching exactly for this info (Y) 
    #4
    Jump to:
    © 2019 APG vNext Commercial Version 4.5