• AVR Freaks

Hot!DSPIC33EP512MU810, Help adding HID USB Functionality

Author
hurst280
New Member
  • Total Posts : 5
  • Reward points : 0
  • Joined: 2014/05/21 06:01:40
  • Location: 0
  • Status: offline
2020/11/16 09:11:48 (permalink)
4 (1)

DSPIC33EP512MU810, Help adding HID USB Functionality

I am using DSPIC33EP512MU810 for the first time and am having trouble setting it for Device USB HID Operation.  The mcc only supports CDC and Vendor for this device.  Microchip's HID documentation is from 2008, and 2015, and does not describe how to setup HID in latest MLA (which has HID files from 2015 and 2018).
 
If someone has an example project using HID or can tell me where to find instructions to implement HID on DSPIC33EP512MU810, I would appreciate it.
 
Currently, I have the USB MLA libraries included in my project, and the project complies.  I had to add my own declarations for USB handles and input/output arrays, which should have already been part of the MLA code.  I don't have USB interrupt function or working code to enable HID interrupts.
 
Thanks for your help!
#1

1 Reply Related Threads

    hurst280
    New Member
    • Total Posts : 5
    • Reward points : 0
    • Joined: 2014/05/21 06:01:40
    • Location: 0
    • Status: offline
    Re: DSPIC33EP512MU810, Help adding HID USB Functionality 2020/11/28 17:39:57 (permalink)
    4 (1)
    Problem solved.  Root cause was a hardware problem.  Don't forget to connect VBUS pin to USB +5V!
    #2
    Jump to:
    © 2021 APG vNext Commercial Version 4.5