MCF52223 USB Slave, Fail to receive PC Tokens

cancel
Showing results for 
Search instead for 
Did you mean: 

MCF52223 USB Slave, Fail to receive PC Tokens

1,297 Views
Bartington
Contributor I
Hello
 
I'm working on using USB using the MCF52223 for one of my projects.
I've manage to detect Host and slave connection and disconnection.
When the PC is connected:
I Wait for a reset then when i get it
- i set EP0 in default state
- Send a reset for 10ms
-  switch on the USB_EN_SOF_EN bit
- Get EP0 ready for reception (packet size 8 byte, OWN, DTS)
and expect to get an TOK_DNE interrupt
But it dowsn't happens....
 
Please Help
 
thanks loads
Olivier
Labels (1)
0 Kudos
2 Replies

207 Views
Bartington
Contributor I
I've just posted my  source files.
I'm Stuck so please let me know if you've any idea of what i'm doing wrong
or if you can recommand me any interresting litterature on the subject
 
Thanks Loads
 
0 Kudos

207 Views
Bartington
Contributor I
0 Kudos