MCUXpresso SDK Documentation

dev_hid_mouse#

Overview#

The USB HID mouse application is a simple demonstration program based on the MCUXpresso SDK. It is enumerated as a mouse. Users can see the mouse arrow moving on the PC screen according in a rectangular fashion.

System Requirements#

Hardware requirements#

  • Mini/micro USB cable

  • USB A to micro AB cable

  • Hardware (Tower module/base board, and so on) for a specific device

  • Personal Computer (PC)

Software requirements#

  • The project files are in:
    <MCUXpresso_SDK_Install>/boards//usb_examples/usb_device_hid_mouse//.
    For lite version, the project files are in:
    <MCUXpresso_SDK_Install>/boards//usb_examples/usb_device_hid_mouse_lite//.

The is Bare Metal or FreeRTOS OS.

Getting Started#

Hardware Settings#

Set the hardware jumpers (Tower system/base module) to default settings.

Prepare the example#

  1. Download the program to the target board.

  2. Connect the target board to the external power source (the example is self-powered).

  3. Power off the target board. Then power on again.

  4. Connect a USB cable between the PC and the USB device port of the board.

For detailed instructions, see the appropriate board User’s Guide.

Run the example#

  1. Plug-in the device, which is running HID mouse example, into the PC. A HID-compliant mouse is enumerated in the Device Manager.

  2. The mouse arrow is moving on PC screen in the rectangular rotation.

*/

Supported Boards#

LPCXpresso55S16
Getting Started
Hardware Settings
  • The Jumper settings:\n JP20 1-2, JP21 1-2 and JP22 1-2 for chip power.

MCX-N5XX-EVK
Getting Started
Hardware Settings
  • DCD feature is only enabled on EHCI.

MCX-N9XX-EVK
Getting Started
Hardware Settings
  • DCD feature is only enabled on EHCI.

FRDM-MCXN947
Getting Started
Hardware Settings
  • DCD feature is only enabled on EHCI.

FRDM-MCXN947T
Getting Started
Hardware Settings
  • DCD feature is only enabled on EHCI.

FRDM-K32L2A4S
Getting Started
Hardware Settings
  • The Jumper settings:\n J9 1-2, J16 1-2.