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.

Get USB examples to work with MSP430F5510

Other Parts Discussed in Thread: MSP430F5510

We are developing a custom PCB that converts usb to sdi-12 to communicate and update firmware on an environmental sensor. The PCB is using the MSP430F5510IPT. I've downloaded the MSP430_USBDevelopersPackage_5_00_00, imported the example H0_SimpleSend, configured project properties to use MSP430F5510, built the project and began debugging without any hiccups. All is fine until the API calls USB_connect(). Upon return of this function, Windows 7 pops up a notification that says "A usb device has malfunctioned..." The device manager shows the board under 'Other devices' and is named MSP430-USB Example. The hardware ids for the device read back VID_2047 and PID_0301 which are the expected numbers. My question is, what's causing it to fail in the USB_connect() method, and why doesn't it show up in the Human Interface Devices tree in windows device manager? I'm guessing there's a problem with PUR pin/configuration but I don't know what. My board configuration is attached. Let me know if you need anymore info.

  • Just "malfunctioned" is not a useful description. Can you connect this device to a Linux host and check the messages in the system log?

  • Are you sure that the descriptors in your example code are correct for the 4MHz clock you are using?
  • Thanks for the quick responses. I unfortunately don't have a linux host machine. I tried connecting it to an ubuntu vm. The board seemed to have no trouble registering on ubuntu. The command lsusb displayed the usb device as Texas Instruments with the correct VID and PID; however, the Java HID demo tool from the msp430 developers package crashed everytime I tried to connect to it.

    My descriptors.h file has this define in it:

    #define USB_XT_FREQ_VALUE       4.0

    and the frequency of the oscillator has been verified with an oscilloscope.

  • I was able to get the HID examples to work. Yay! Turns out the cap on V18 wasn't grounded properly. But now I can't get the CDC examples to work which is the ones I was hoping for. The drivers won't install properly and the instructions recommended on other posts don't seem to be working. Any ideas?

**Attention** This is a public forum