• AVR Freaks

Hot!PIC32MZ2048EFH144 USB

Author
boiler
Junior Member
  • Total Posts : 98
  • Reward points : 0
  • Joined: 2008/04/04 08:26:09
  • Location: 0
  • Status: offline
2021/03/01 02:19:26 (permalink)
0

PIC32MZ2048EFH144 USB

Hi all,
 
I've some trouble starting USB in my own designed board. I can run cdc_com_port_single project on eval board but not on my own board. USB_DEVICE_Open is successful but APP_USBDeviceEventHandler is never called. What can be the reason why the callback is not called?
 
Best Mario
#1

1 Reply Related Threads

    boiler
    Junior Member
    • Total Posts : 98
    • Reward points : 0
    • Joined: 2008/04/04 08:26:09
    • Location: 0
    • Status: offline
    Re: PIC32MZ2048EFH144 USB 2021/03/01 09:02:27 (permalink)
    4 (1)
    Ok, PLL was wrong configured, now I get USB_DEVICE_EVENT_POWER_DETECTED and USB_DEVICE_EVENT_POWER_REMOVED. But I didn't get the USB_DEVICE_EVENT_CONFIGURED. What can be the root cause of this?
    I get only USB_DEVICE_EVENT_RESET and USB_DEVICE_EVENT_SUSPENDED and Windows 10 tells me some issues on USB device, error Code 43.
    post edited by boiler - 2021/03/02 01:08:46
    #2
    Jump to:
    © 2021 APG vNext Commercial Version 4.5