Hi,
I'm using the MSP430F5638, and I try to use the USB MSCexample project. Currently it's running, but the download performance is still low. The detection of the USB system in Windows is fast. So, there is my question, what parameter would be the best. My System is running a 20MHz on XT2.
So I change the example:
#define USB_MCLK_FREQ 20000000 // MCLK frequency of MCU, in Hz
#define USB_PLL_XT 2 // Defines which XT is used by the PLL (1=XT1, 2=XT2)
#define USB_XT_FREQ_VALUE 20.0 // Indicates the freq of the crystal on the oscillator indicated by USB_PLL_XT
#define USB_XT_FREQ USBPLL_SETCLK_19_2 // Indicates the freq of the crystal on the oscillator indicated by USB_PLL_XT
#define USB_DISABLE_XT_SUSPEND 1 // If non-zero, then USB_suspend() will disable the oscillator
// that is designated by USB_PLL_XT; if zero, USB_suspend won't
// affect the oscillator
#define USB_DMA_CHAN 0x00 // Set to 0xFF if no DMA channel will be used 0..7 for selected DMA channel