Problem with USB_CDC in KL25Z

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Problem with USB_CDC in KL25Z

913件の閲覧回数
arthshah
Contributor II

kerryzhou

Hello,

i am working with KL25Z.

i am using KSDK 1.3.0 and KDS 3.0 for given Example of USB_CDC in SDK.

i want to send data to UART TO USB, it's work fine but after some char. it had been give error like:

usb_device_send_data: DEV_GET_XD failed

and some times char are missing ex:i send 1234 from UART but USB receive 134 like this.

what was the problem?

please give any idea or solution to solve this problem.

thank you..!!

0 件の賞賛
返信
2 返答(返信)

788件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hello Arth Shah,

    Please try the newest KSDK2.2_FRDM-KL25 usb_cdc code.

   You can download KSDK2.2_FRDM-KL25 from this link:

Welcome to MCUXpresso | MCUXpresso Config Tools 

SDK Builder, board choose FRDM-KL25, then generate the code, and download it.

    I have test it on my side, it works ok.

pastedImage_2.png

Please try it at first!

Any question, just let me know!

   


Have a great day,
Kerry

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

0 件の賞賛
返信

788件の閲覧回数
mjbcswitzerland
Specialist V

Hi

See http://www.utasker.com/kinetis/FRDM-KL25Z.html
for industrial quality CDC operation ("FRDM-KL25Z USB-MSD Device using internal Flash with three composite CDC interfaces" for example).

If you need to use the KSDK CDC examples it is probably best to visit Eric Styger's https://mcuoneclipse.com/ and search for tips about configuring it and patching its bugs.

Regards

Mark

0 件の賞賛
返信