What would cause the PLL to fail to settle? I'm using the MSP430F5522 with a custom made PCB. I know the PCB design works because I've been using it without any problems - until now. I'm using the examples from the USB Dev Package API stack. My USB device is not being recognized by the computer. When it is connected to my programmer board (launchpad), it just sits there and does nothing when I run the program. If I run my device standalone, it takes about 10 seconds fro my computer to recognize it, but it quickly says the device is not recognized. I hear the "dun-DUN" (connect) sound, quickly followed by the "Dun-dun" (disconnect) sound.
When I debug the program, I've tracked down the problem, I think. In the function call "USB_enable()", USBPLLIR never evaluates to being 0 (PLL settling failure?) in the do{ }while (USBPLLIR != 0); line. What would cause this? What would cause the USBPLL to never settle? Crystal problems?