Getting started with USB and MCF52259

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting started with USB and MCF52259

645 Views
akatran
Contributor I

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!

Labels (1)
0 Kudos
4 Replies

536 Views
akatran
Contributor I

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)?

0 Kudos

536 Views
akatran
Contributor I

Actually the other way around, DATA0 for even buffer and DATA1 for ODD?

Sorry, my mistake!

0 Kudos

536 Views
miduo
NXP Employee
NXP Employee

Hi,

For USB device application, we provide MQX USB device stack. Please find more detail information from below post:

https://community.nxp.com/message/55097 

0 Kudos

536 Views
akatran
Contributor I

Dear Li,

   what if I don't want to use the MQX USB device stack?

0 Kudos