Use TARGET USB connector on the board to connect the USB Device to the USB Host PC.The device sends Remote wakeup to PC host and then goes back to Standby sleep mode to let the PC host drive the resume. When the device is in Standby sleep, SW0 acts as wakeup source and brings the device to active mode.Press the switch SW0 to trigger communication from the USB Device to the USB Host.LED0 indicates USB Device Configuration Set Complete event (the USB device functionality has been activated by the USB Host).Connect the USB device to the micro-B connector (J102) using a USB Type-A Female to micro-B male cable (This cable is not included in the kit).Open the project using the respective IDE and build it.Ĭonfiguring the Hardware PIC32CZ CA80 Curiosity Development Board Path of the application within the repository is usb_apps_device/apps/hid_basic_remote_wakeup.įollowing table gives the details of project configurations, target device used, hardware and its IDE. This content can also be downloaded using the MPLAB® Harmony Content Manager by following these instructions. To clone or download this application from Github, go to the main page of this repository and then click Clone button to clone this repository or download as zip file. The Push-button is used as wakeup source when the device goes to Standby sleep mode. The application will put the device to Standby sleep mode when it receives a suspend from PC host. This example demonstrates suspend/resume initiated by PC host and Remote Wakeup initiated by HID Device using a PC-based utility. The device allows the USB Host utility to control the LEDs on the board and query the status of a switch. This application creates a USB HID Device that enumerates as a custom USB HID device on the USB host PC. This application demonstrates the ability of the MPLAB® Harmony USB Device Stack to support the Remote Wakeup feature using a custom HID device class example. HID Basic Remote Wakeup Example (hid_basic_remote_wakeup)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |