k64 USB U-disk enumeration error

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

k64 USB U-disk enumeration error

跳至解决方案
1,213 次查看
omercaylan
Contributor II

hi, we desing custom pcb with k64, we are trying to communite via usb, when usb disk attached, i get USB_HostEventEnumerationFail, when i examine the signal with oscilloscope, i get such a signal. Do you have any idea about this problem ? ide : McuXpresso sdk : 2.8.2WhatsApp Image 2020-11-10 at 10.51.31 AM (1).jpeg

0 项奖励
1 解答
1,063 次查看
omercaylan
Contributor II

Problem Solved: the schematic was wrong, . i connect 5v to k64 Usb reg. it worked.

在原帖中查看解决方案

0 项奖励
6 回复数
1,064 次查看
omercaylan
Contributor II

Problem Solved: the schematic was wrong, . i connect 5v to k64 Usb reg. it worked.

0 项奖励
1,109 次查看
danielchen
NXP TechSupport
NXP TechSupport

 

Hi

I would suggest you use USB analyzer to capture some USB packets.

Do you use OCARM or SDRAM as your first RAM in your project? Or DTCM as your first RAM?

 

Regards

Daniel

0 项奖励
1,147 次查看
bobpaddock
Senior Contributor III

Do the OE pins have internal pull-ups?  Such pins should not be floating.
The OSC could be randomly turning on and off.

 

0 项奖励
1,128 次查看
omercaylan
Contributor II

actually i checked the OSCs. links like this. OSC output so I measure the clk voltage 5.1 volts, do you think this could be a mistake? OSC VDD 3.3v

omeroaylan_0-1605707673211.png

 

0 项奖励
1,169 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi omeroaylan:

 

Could you provide more information about your application , what changes did you make? what demo you are using?

 

Regards

Daniel

0 项奖励
1,165 次查看
omercaylan
Contributor II

mcu : 144pin, MK64FN1M0VLQ12
we use external clock for usb and mcu. usb clk in : 47 - PTE26
we are only testing usb msd example.first we tested the code without any change on our circuit but did not work,
second we created a clean project for out 144 pin mcu and tested again(usb msd) but not a chance.
example working on nxp development board but not working our board.  i want to know, is this usb signal correct ?
it works until this function( USB_HostEvent() ) and i get enumeration error.code.pngosi.pngprojeicindekiler.pngusb.png

0 项奖励