Other Parts Discussed in Thread: EK-TM4C1294XL, , SYSBIOS, DK-TM4C129X
I have a TI EK-TM4C1294XL Launchpad and I tried out the usb serial device example project from TivaWare with TI-RTOS.
If I program it to the microcontroller it is working fine I see the text that is sent periodically on a virtual COM Port on the PC.
But on the board what we developed we have a TM4C1290NCZAD microcontroller and I would like to have now exactly the same
functionality on our custom board.
I changed the MCU in the Build properties I have the correct cmd file for the MCU.
In the Predefines I changed the MCU to PART_TM4C1290NCZAD
In the TM4C1294XL.c file I commented out 2 lines in the initEMAC function because GPIO_PF0_EN0LED0 was not defined but this function is not called anyways
// GPIOPinConfigure(GPIO_PF0_EN0LED0); /* EK_TM4C1294XL_USR_D3 */
// GPIOPinConfigure(GPIO_PF4_EN0LED1); /* EK_TM4C1294XL_USR_D4 */
I can build the code without errors but I have some warnings which I did not have for the 1294XL
If I put this code on the 1290NCZAD and start it Windows writes me that it is a not recognized USB device and in the Device Manager I see "Unknown USB Device(Device Descriptor Request failed)
It is not shown as a COM Port.
The USB on the board is working because others wrote some drivers without TI-RTOS and it can echo bak what I send to the board.
If I add these lines to the void EK_TM4C1294XL_initGeneral(void) function which is called at the beginning then I get a virtual COM port
everything looks fine on the PC but I cant receive anything from the board and it also does not receive anything from the PC
USBClockEnable(USB0_BASE, 8, USB_CLOCK_INTERNAL);
USBDCDFeatureSet(0, USBLIB_FEATURE_CPUCLK, &ui32SysClock);
USBDCDFeatureSet(0, USBLIB_FEATURE_USBPLL, &ui32PLLRate);
It stays here:
/* Block while the device is NOT connected to the USB */
and then goes to an AllBlocked part deep in to the SysBios.
Windows 10 PC
XDS200 USB Debugger on the custom board
The USB pins are the same on both boards.
I would be really happy if someone would have any suggestions how could I port this simple example to the 1290NCZAD because I could not make it work.
Thanks in advance!