Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE
Tool/software:
We currently use an UART communication in our Bootloader. Because of our Bootloader design, I would like to avoid using DMA and/or interrupts in the Bootloader.
The UART can be easily handled without any interrupt but by polling.
I would like to implement a serial port via the USB interface. I have found and already have modified the C2000Ware demo "usb_ex1_dev_serial" to my needs.
I am already able to communicate with my host PC (via the recognized serial port device)
It works well so far but I would like to know, if it is possible to use the USB library (usblib) without using the USB interrupt.
As far as I have seen it is mandatory to use the USB interrupt resp. the USB library automatically initializes the USB interrupt in the "USBDCDInit" function for all devices that are not OTG devices.
My question is:
Is it possible to use the USB library (CDC, serial port implementation) without the interrupt but, for example, by manually calling the interrupt handler from time to time?
I already tried to disable the interrupt in the source code of the USB library and to call the interrupt handler in my main/while(1) loop but it doesn't seem to work.
Environment:
* F28388D Control Card
* Bare-Metal (No RTOS or TI BIOS)
Thank you,
Markus