PIC32MZ stuck in APP_STATE_WAIT_FOR_CONFIGURATION state
Background: PIC32MZ2048EFH064, XC32 v2.10, Harmony v2.05, MPLAB X IDE v4.15, Windows 10 Professional
I'm seeing the device stuck in the APP_STATE_WAIT_FOR_CONFIGURATION state, as per the cdc_com_port_single sample firmware. Also, I keep seeing a popup that says the following: USB device not recognized. The last USB device you connected to this computer malfunctioned, and Windows does not recognize it. In Device Manager it looks like it's showing up as the following under Universal Serial Bus controllers: Unknown USB Device (Device Descriptor Request Failed). I'm reasonably sure the clock and configuration bit settings are correct for my project, which uses an 8 MHz crystal instead of a 24 MHz oscillator, and my modbus RS-485 port works just fine, as does the EEPROM.
Additionally, this exact same circuit works fine with our boards that use a PIC32MX430F064H processor. The connector type for both projects is micro USB type AB. I've attached the relevant portion of the circuit.
I've tried several things, like enabling a pull down on USBID, but nothing seems to get it out of this state. I'm sure the solution is probably that I missed something obvious, but I'm stuck and felt it was time to reach out.
Edit: I should also point out that I've tried messing with RF3 as per this post - https://www.microchip.com/forums/m1118560.aspx
- but to no avail.
post edited by bblessing - 2019/12/12 14:35:31