Hi,
I'm stuck in Sending USB-Data. My code is like this:
while (1)
if (usb_state == ST_ENUM_ACTIVE) {
rc = USBCDC_intfStatus(CDC0_INTFNUM, &bytesSent, &bytesReceived);
if (!rc) { // O.K.
sprintf(data, "Ich bin hier:%d\n", out_count++);
rc = cdcSendDataInBackground(data, sizeof(data), CDC0_INTFNUM, 0);
} else {
__no_operation();
}
}
after > 1000 loops the state rc stays on
kUSBCDC_waitingForSend
Any idea?