Other Parts Discussed in Thread: C2000WARE, SYSCONFIG
Tool/software:
Hi,
My customer is currently evaluating USB CDC communication using TMS320F28384S on their custom board with a USB Type-C connector.
They are using the usb_ex1_dev_serial.c sample code included in C2000Ware v5.04.
・C2000Ware_5_04_00_00\driverlib\f2838x\examples\c28x\usb\usb_ex1_dev_serial.c
However, during testing, only the USB suspend interrupt occurs, and the device is not recognized by the PC.
Within the sample code, we found that several important settings are commented out, as shown below.
We would like to confirm with TI engineers whether these settings must be enabled to properly operate USB CDC on the F28384S, and if any additional configurations are required.
【Commented-out portions in the sample code】
// 1. USB Clock configuration
SysCtl_setAuxClock(DEVICE_AUXSETCLOCK_CFG_USB);
// 2. USB CDC device initialization
USBDCDCInit(0, &g_sCDCDevice);
// 3. USB interrupt registration
Interrupt_register(INT_USBA, &INT_myUSB0_ISR);
// 4. DP/DM pin MUX configuration (if not included in Device_initGPIO)
GPIO_setPinConfig(GPIO_42_USB0DM);
GPIO_setPinConfig(GPIO_43_USB0DP);
We would appreciate your clarification on the following points:
[Questions]
- Should all the above settings be enabled when using USB CDC on the F28384S?
- Are there any additional required settings or precautions that we should be aware of?
- Are there any specific points to note regarding the USB clock (60 MHz) setup on F28384S?
Thanks,
Conor