MCF52223 USB Slave, Fail to receive PC Tokens

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MCF52223 USB Slave, Fail to receive PC Tokens

1,524 次查看
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
标签 (1)
0 项奖励
2 回复数

434 次查看
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 项奖励

434 次查看
Bartington
Contributor I
0 项奖励