Hello all!
How to get start with USB on the MCF52259 as a device?
The reference manual does not make clear how to use the USB module of the uC and the processor expert all that can do is the initialization sequence.
I have understood the USB protocol and the initialization sequence with the descriptors but I have trouble setting up the BDT.
Can anyone help?
Thank you in advance!
I have found the initialization sequence and almost how to read from and write to the USB module but I have a question about the DATA0 and DATA1.
Does the DATA0 corresponds to the first buffer (ODD) in the BDT for a specific endpoint and DATA1 to the second buffer (EVEN)?
Actually the other way around, DATA0 for even buffer and DATA1 for ODD?
Sorry, my mistake!
Hi,
For USB device application, we provide MQX USB device stack. Please find more detail information from below post:
Dear Li,
what if I don't want to use the MQX USB device stack?