Getting started with USB and MCF52259

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Getting started with USB and MCF52259

1,614件の閲覧回数
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!

ラベル(1)
0 件の賞賛
返信
4 返答(返信)

1,505件の閲覧回数
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 件の賞賛
返信

1,505件の閲覧回数
akatran
Contributor I

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

Sorry, my mistake!

0 件の賞賛
返信

1,505件の閲覧回数
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 件の賞賛
返信

1,505件の閲覧回数
akatran
Contributor I

Dear Li,

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

0 件の賞賛
返信