Tool/software: TI-RTOS
I have working USB CDC driver on TI EVAL board but did not work on custom board.
From what I read in USBAnalyser, it seems to be connected but unable to respond to VID/PID number and thus highlight USB nodevice error (or similar). The custom board has isolation device of same design I used on LPC154x device which was working good. I'm unsure if USB-ID would have impacts. I have not installed any TI driver. I have latest version CCS 8.0 with RTOS and TIVA library as of today. My PC is window 10. The custom board has the same TM4C1294 device as in EVAL board.
The firmware was based on RTOS, TI example USB CDC driver that found in TI library, I copied over to custom workspace and added several codes (GPIO, Timer, SPI, etc) to achieve custom operation. Even with modified firmware, the USB worked fine on EVAL board (TM4C1294 boosterpack) but it did not work on custom board (see schematic).
In the custom board, I have 16MHz XTAL instead of 25MHz XTAL but I included the code to boost 16Mhz to 120MHz to match system clock (see code below). Later on I going to change 16MHz to 25MHz (on order) if this solves USB clock issue.
(1) Is there code to correct USB clock from 16Mhz, can u provide which one.
(2) Does USB operation has impacts because of different XTAL 16MHz and 25MHz, even the system clock is 120MHz.
(3) I'm open for idea how to attack the problem and have USB working. I have studied and worked on USB project via LPC1549 many years ago so I'm familiar with them.
#ifndef THISISEVALBOARD uINT32 ui32SysClock = SysCtlClockFreqSet((SYSCTL_XTAL_16MHZ | SYSCTL_OSC_MAIN | SYSCTL_USE_PLL | SYSCTL_CFG_VCO_480), 120000000); #endif