6.2 USB Peripheral
The USB library, which is downloaded as part of Install Harmony 3 Dependencies, configures and generates code for the Ethernet peripheral. For more details, see Install Harmony 3 Dependencies from Related Links.
Fore more comprehensive documentation about the Release Information, refer to the MPLAB® Harmony 3 USB Library in Reference Documentation from Related Links.
To enable USB Host mode, the user must make the following board modifications:
- Short jumper (J102) between 5V and VBUS.
- Connect jumper (J104) between VBUSON and EN (positions 2 and 3).
Additionally, the user can find precompiled application examples at usb_apps_host and usb_apps_device. For more details on the usb_apps_host and usb_apps_device, see Microchip-MPLAB-Harmony /usb_apps_host and Microchip-MPLAB-Harmony/usb_apps_device in Reference Documenation from Related Links.
The following table provides the list of precompiled application demos are included in the USB application repository.
Host Applications | Device Applications |
---|---|
usb_apps_host | cdc_basic |
hid_basic_keyboard | |
hid_basic_mouse_usart | |
hub_msd | |
msd_basic | |
hub_cdc_hid | |
usb_apps_device | cdc_com_port_dual |
cdc_com_port_single
| |
cdc_msd_basic
| |
hid_basic | |
msd_basic | |
vendor
|
The user can also find the Bluetooth Low energy transparent UART with USB peripheral
application example in
wireless_apps_pic32_bz6/apps/ble/peripheral_applications/usb_cdc_peripheral_trp_uart
.
For more details, see USB CDC Peripheral Transparent UART from Related Links.