• AVR Freaks

Helpful ReplyHot!PIC24FJ64GU205 USB HID Code referance

Author
Pethani Krumita
New Member
  • Total Posts : 7
  • Reward points : 0
  • Joined: 2019/05/28 22:34:53
  • Location: 0
  • Status: offline
2021/02/26 23:24:16 (permalink)
4 (1)

PIC24FJ64GU205 USB HID Code referance

hello all,
 
i am using PIC24FJ64GU205. i am looking for a sample code of USB HID for this micro controller but it is not available. also No more documents are available for this microcontroller. Only CDC and vendor class are available in MCC. 
 
Please tell me how long it will take for the sample code for this microcontroller. and also if anyone have sample code for USB HID for this microcontroller, please give it to me.
#1
Pethani Krumita
New Member
  • Total Posts : 7
  • Reward points : 0
  • Joined: 2019/05/28 22:34:53
  • Location: 0
  • Status: offline
Re: PIC24FJ64GU205 USB HID Code referance 2021/03/02 22:15:32 (permalink)
2 (1)
Please tell me how long it will take for the sample codes for this microcontroller. 
#2
JPortici
Super Member
  • Total Posts : 1327
  • Reward points : 0
  • Joined: 2012/11/17 06:27:45
  • Location: Grappaland
  • Status: offline
Re: PIC24FJ64GU205 USB HID Code referance 2021/03/02 22:56:42 (permalink) ☄ Helpfulby Pethani Krumita 2021/03/02 23:13:33
5 (2)
For the code you can use the good old MLA (latest version), the stack is more or less, if not exactly the same as the one in MCC. but the MLA has more examples for devices and more important for Host.
If you decide to ue the MLA you will have to edit a couple of include files to add the PIC24 you are using to the recognized list (should be obvious where from the error messages if you try to compile).
However you still need to configure the oscillator, which i found to be not so clear from the documentation so i had to use MCC to configure the clock (This i really didn't like, i shouldn't be forced to used code generators for something this simple, there should be better documentation instead)
#3
Jump to:
© 2021 APG vNext Commercial Version 4.5