USB Detection of K22DN512VLH5 Device to PC

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB Detection of K22DN512VLH5 Device to PC

1,838 Views
analogicstechin
Contributor III

Hello Everyone ,

          We are using MK22DN512VLH5  50 MHz  in our custom board , Used USB Device CDC Vcom example from SDK_2.3.1_MK22DN512xxx5.zip to build the application and Boot loader , The issue i am facing is the detection of custom board with Windows PCs.

                                      

                                 It is Detected correctly as Virtual Com Port in few PCs using the INF file provided with the SDK , It is detecting in Windows 10-64 bit and 32 bit ,In windows 7-32 bit Pcs we are facing problem , it is detecting properly in few and in other PCs it is showing as USB Device Unkown . In Windows Xp also we are facing the same issue .

Doubting our application and boot loader  we have tried flashing the custom board with the direct example provided in the SDK and it is the same . it shows Unknown USB device .

                                      

                     what could be the potential reason for this inconsistency of USB detection on various windows platforms .

Could there be any issue with the hardware ?

Any suggestions regarding this issue will be of great help .

I have attached the Inf file we used with this post , anticipation a solution .

Thanks and Regards .

10 Replies

1,413 Views
analogicstechin
Contributor III

Hui_Ma‌ 

Thanks for the response ,

We are facing the issue in windows 7 32 bit PC , yes the driver installation issue is what we are facing with .

We are using the same inf file yet it is detecting as Unknown USB device instead of VCom port like it did in few PCs we have .

Got struck with this step , the application and boot loader are ready and when we were planning to go for production this is what stopping us .

Thanks and regards

Analogics | Home 

0 Kudos

1,413 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

Do you have TWR-K21D50M board on hand?

If yes, could you do a test if TWR-K21D50M board could be recognized by Win7 32bit PC and WinXP PC?

How many customer boards tested with Win7 32bit PC?

best regards,

Mike

1,413 Views
analogicstechin
Contributor III

Hello Hui_Ma

 

                              No we do not have TWR-K21D50M  with us but are having FRDM-K22F board with us but came to know that both these are different so we took k21 50Mhz SDK and developed our application .

We have tested with around 8 PCs which run Windows 7 32 in our R&D and it is working fine on 5 of them and we are facing problem in 3 pcs . In windows XP there is  not even a single PCs the  board gets detected .

will look if we could get TWRK21 board , between FRDM K22 detection is fine in all of them .

Could we suspect the hardware ? but it is working fine in few .

Could we suspect the Application ? but the raw SDK is also showing same result .

What could be potential wrong that is happening here is unknown to us .

Thanks for the response .

Thanks and regards.

0 Kudos

1,413 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

Sorry for the later reply.

I discuss customer issue with local application team, we think it need to focus on hardware design.

If possible, could you do a USB signal quality test with the boards.

It also need to check the USB circuit design, please refer TWR-K21D50M board schematics about USB circuit:

pastedImage_1.png

best regards,

Mike

0 Kudos

1,412 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

There are some threads about USB CDC issue with Win8/Win10 OS.

Please check below threads for the detailed info:

Kinetis USB CDC driver supported on Windows8, Windows10 

I also attached TWR-K20D50M board USB CDC device driver for your test.


Have a great day,
Mike

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

1,412 Views
analogicstechin
Contributor III

Hello Hui_Ma,

 

                Thanks for the response,   With Windows 10 we are not facing issues , we have 3 windows 10 PCs and it is working fine with them , we are facing issues with windows 7 and  windows XP PCs , Out of 7 windows 7 PCs we have, it is detected in 4 of them and in other 3 it is not detecting ,also tried using the inf you have sent but the out come is same as previous , detecting under USB section as Unknown Device .

Thanks and Regards.

0 Kudos

1,411 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

I checked the previous [usb cdc driver] inf file USB VID & PID is different with MCUXpresso SDK provided <fsl_ucwxp.inf> file.

So, I change the <Freescale_CDC_Driver_Kinetis.inf> file's USB VID&PID.

Please try again to check if this cdc driver works at Win7 & WinXP OS PC.

best regards,

Mike

1,411 Views
analogicstechin
Contributor III

Hi Mike ,

        Thanks for making those changes in the INF file and sending it but that did  not resolve the problem .

Thanks and Regards.

0 Kudos

1,411 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

Sorry for the delay reply.

You mentioned before there with 7 Win7 PC with 3 PC couldn't detect the Kinetis K22_50MHz USB CDC device.

What's those Win7 OS version? 64bit or 32bit?

If those 3 Win7 PC could enumerate the USB CDC device?

If yes, there exist the issue at USB driver installation.

I compare the two USB CDC driver inf file line by line, there should be the same driver file.

The inf file major contents are totally same.

best regards,

Mike

1,411 Views
analogicstechin
Contributor III

Hui_Ma

  Thanks Mike,

          Sure will check and revert back about it .

0 Kudos