cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

Anonymous
Not applicable

Hi.

   

we have an application that requires a single USB connection to enumerate as two devices, joystick and mouse. Is there an existing example of how this might be done using PSoC3?

   

John.

0 Likes
Reply
1 Reply
Anonymous
Not applicable
        
  • It is possible to achieve this with PSoC3 by configuring the USB device configuration in PSoC Creator approriately. PSoC3 needs to be configured as a USB HID device. Every HID device according to USB spec, is supposed to have what is called a HID report. This report is the format in which the device data(Mouse click and movement, keyboard data, Joystick data) is transferred from USB device(PSoC3) to Host. 
  •     
  • To have a mouse and a joystick, two such HID reports have to be created. One report for mouse and one for Joystick. Each report should have a unique report ID. 
  •     
  • To get started with HID device, the following App note should help you, http://www.cypress.com/?rID=39404
  •     
  • To create a HID Composite device(Mouse and Joystick), the following App note should help you, http://www.cypress.com/?rID=39404
  •    
0 Likes
Reply