Other Parts Discussed in Thread: MSP-EXP430F5529LP, MSP430FG6626
Hello
We are working on a design that uses an MSP430 (MSP430FG6626) and have been having some issues getting the USB to beahve. To speed development along though, we purchased the MSP-EXP430F5529LP board and tried using the demo code that came with the board to at least get that working, with the hopes of making minor changes to port it to the 6626 part.
I've uploaded code to https://bitbucket.org/apecor/msp430fg6626_usb/src/master/ to at least help get some eyes on the code, and hopefully some pointers to get it to work. I originally set up the repo to track our original design, so you can ignore the markdown on the repo page w/ schematics... the code that is on there right now is for the launchpad code. It is essentially the same code that comes in the TI archive file @ https://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSP-EXP430F5529LP/latest/exports/MSP-EXP430F5529LP_Software_Examples_linux.tar.gz but I instead am using mspgcc as the compiler.
The problem we are having while using the launchpad board is that the device tries to enumerate but never completes enumeration and gives errors in dmesg:
[573720.992435] usb 1-2.4.1: new full-speed USB device number 118 using xhci_hcd
[573721.092460] usb 1-2.4.1: device descriptor read/64, error -32
[573721.312414] usb 1-2.4.1: device descriptor read/64, error -32
[573721.532485] usb 1-2.4.1: new full-speed USB device number 119 using xhci_hcd
[573721.632469] usb 1-2.4.1: device descriptor read/64, error -32
[573721.852464] usb 1-2.4.1: device descriptor read/64, error -32
[573721.972623] usb 1-2.4-port1: attempt power cycle
[573722.642387] usb 1-2.4.1: new full-speed USB device number 120 using xhci_hcd
[573722.642486] usb 1-2.4.1: Device not responding to setup address.
[573722.872571] usb 1-2.4.1: Device not responding to setup address.
[573723.102501] usb 1-2.4.1: device not accepting address 120, error -71
[573723.202450] usb 1-2.4.1: new full-speed USB device number 121 using xhci_hcd
[573723.202691] usb 1-2.4.1: Device not responding to setup address.
[573723.422621] usb 1-2.4.1: Device not responding to setup address.
[573723.652397] usb 1-2.4.1: device not accepting address 121, error -71
[573723.652582] usb 1-2.4-port1: unable to enumerate USB device
I frankly don't know where to start to get this working... so any helpful pointers would be great to try and debug this
Thanks!
Chris