xinzhou tang

MCF52259 as USB device

Discussion created by xinzhou tang on Oct 27, 2011
Latest reply on Oct 27, 2011 by Mark Butcher

Hello ,


I am now using MCF52259 as an USB device .  It's the first time to use usb peripheral .I am a little confused about the meaning of  tok_dne bit .


If  this bit is set only after receiving a token packet ?


For example if it's an out token ,  what will happen after receiving a data packet from the host  ?  A bit will be set to indicate the receiving of a data packet ?


Also , if the device wants to send a status packet . What will the device do ?


thanks a lot .