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.

MSP4350F5529 USB problem

Other Parts Discussed in Thread: MSP430F5529, MSP430F5510

Hi all

I am working on a project with MSP430F5529. For some minimum configuration i need to have USB interface. Whole our board is running on 1.8V and on XT1 ( 32768 Hz ) and sw developement is done on IAR IDE. For USB clock i am using XT2 running at 12Mhz.

USB stack has ben taken from TI support page ( mass storage )

What i have manage is

-port USB stack to my project

-MSP430  USB interface has been succesfuly detected, and i can see usb disk ( but unable to access it )

But now i have come to a problem: the device is restarted each time the USB is connected to device, but if i make a break point in usb status checking  than the device is not restarted and the connection is made. Now i am looking for a reason of restrat

-one option can be that MCLK  is running from MCLK that is "only" 1MHz and maybe this is too low

-one option could be that the  PMMCOREV is set level 0 bcs on HW is only 1.8V power so i can not change PMMCOREV to higher level and to increase MCLK... but as i could see in the manual PMMCORE level set is only related to MCLK and is not related to "USB CLK" which is running on 48MHz

thank you in advice for any idea or comment regarding this USB issue

BR zorz

  • Your application is using USB, and XT2 is running anyway, so in this case I will use XT2 for MCLK also. If 12 MHz is to high, dividers can be used to have lower MCLK. I don't see any reason for using DCO, when XT2 is present on board (and running all the time). Anyway, don't think that low MCLK value (close to 1MHz) is reason for TI USB stack problems, but you can try with higher clock, just to remove this possibility.

    What you are using as mass storage, MSP430 or SD card?

  • hi Zrno

    I have to say that the whole system is running on the battery and this is why we are using XT1 bcs i would like to run as low as possilbe and user as little power as possible

    MSP430( or external flash will be )  is used as a sotage .. but basicly it is only one simple file ..just few paramteres that are saved in.

    br zorz

  • You probably made some mistake during importing TI USB stack source, or something is wrong with USB configuration.

    At the beginning of my MSP430 USB journey, I tested almost all examples from original TI USB stack, and didn't have any problems. I was using MSP430F5510 with 12 MHz XT2. Result of testing M1_Example... 

    http://www.elektronika.ba/forum/viewtopic.php?f=23&t=9331&start=20#p122363

  • Hi all

    just to write down latest discoveries

    -changed from the USB stack that i previously using to USB stack found under "MSP430USBDevleopersPackage_3_20_02" i took CDC examples ( C3 to be more exact )

    -chaged CLOCK settigns to mine, changed XT2 driver to level i have

    and it WORKS in CDC mode no problem !!!

    bottom line

    USB can run on 1.8V  and on MCLK 1.8V and as i thought PMMCOREV only relates to MCLK as it states in the manula

    hope someone find this info usefull

    br zorz

**Attention** This is a public forum