K21F USB issue

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

K21F USB issue

2,889 次查看
AlvinLin1933
Contributor I

When use K21F to replace K21D, USB can't communicate with Tablet and the other device, the buzzer and LED function can work, try 5pcs, the issue is the same. would you please advise how to fix it ?

0 项奖励
回复
5 回复数

2,854 次查看
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, my name is Pavel, and I will be supporting your case, could you elaborate further about the communication through USB? Are you using the same bin, or do you have 2 different compile projects?

I say that because the MCU has a different frequency and needs to use the appropriate compilation, 120 MHz vs 50 MHz.

Best regards,
Pavel

0 项奖励
回复

2,659 次查看
AlvinLin1933
Contributor I

Hi Pavel :

    After completed the programming, Tablet can't recognize the USB K21F device.

0 项奖励
回复

2,629 次查看
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, sorry for the late response I found on the SDK builder the K21F has an example on the SDK, could you try any example that your similar application, I want to know if the behavior is the same. 

The other thing could you elaborate further on the issue?

Best regards,
Pavel

0 项奖励
回复

2,618 次查看
AlvinLin1933
Contributor I

Hi Pavel :

    Please refer the enclosed png, when set the USBx_USBTCR0[USBRESET] bit manually, it seems fix the USB issue, would you have the other suggestion ?

0 项奖励
回复

2,583 次查看
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, I found the following thread maybe could help you.

Delay needed before setting USB0_CTL? - NXP Community

Best regards,
Pavel

0 项奖励
回复