This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi
I get problems in USB enumeration .
The connection state is CONNECTED_NO_ENUM.
when i step into the code , i can see that USB pll is not locked .
what can be the problem ?
USBOORIFG , USBLOSIFG and USBOOLIFG are set in USBPLLIR register .
Thanks
Jenitta
The external crystal used is 16MHz for XT2. Should I program the USBPLLDivB reg ? If so , when and in what sequence ?
Thanks !
I configured the USBPLLDIVB register to the value according to my input crystal .
Now the PLL is settled and working ..
Jenitta Rex said:I configured the USBPLLDIVB register to the value according to my input crystal .
Now the PLL is settled and working ..
Thank Jenitta, your suggestion solved the problem for me.
The exact way to find what/where to fix it is carefully written here:http://e2e.ti.com/support/microcontrollers/msp43016-bit_ultra-low_power_mcus/f/166/t/124221.aspx
In short, open msp430fxxxx.h and find those USBPLL_SETCLK defininitions, choose the setting best fit your xt2 frequency(I use 25MHz, so I choose 25_6) and copy it to this line:#define USB_XT_FREQ USBPLL_SETCLK_4_0
**Attention** This is a public forum