I am trying to get the usB to work on MK24FN1M0VDC using the Processor Expert. The code compiles and runs but neverr finds the USB bus. Am I missing something ?

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

I am trying to get the usB to work on MK24FN1M0VDC using the Processor Expert. The code compiles and runs but neverr finds the USB bus. Am I missing something ?

1,764 次查看
kentpowell
Contributor I

I am trying to get the USB to work on MK24FN1M0VDC using the Processor Expert. The code compiles and runs but never finds the USB bus. Am I missing something ? Does  the PE code start a Reset or Unreset to start enumeration or do I need to add code to do enumeration ?

标签 (1)
标记 (1)
0 项奖励
回复
3 回复数

1,333 次查看
mjbcswitzerland
Specialist V

Hi Kent

Are you using custom hardware? If so there are often problems when the VREG / VOUT33 requirements haven't been interpreted correct (it happens > 20% of cases in my experience).

If you are using the tower kit board load a binary from http://www.utasker.com/kinetis/TWR-K24F120M.html which includes various USB device operations to check the HW.

For a fool-proof solution to K24 USB projects (with varous classes and composite combinations and simulation capability) simply run the uTasker solution - even faster to generate a complete (fully working) project than PE ;-)

Regards

Mark

0 项奖励
回复

1,333 次查看
kentpowell
Contributor I

Thanks I will check power and get the uTasker going

Kent

0 项奖励
回复

1,333 次查看
isaacavila
NXP Employee
NXP Employee

Hello Kent,

Are you using MSD or HID components on Processor Expert? If so, then PEx configures all (USB clock and USB stack configuration) and you do not need to add anything else (if autoinitialization is enabled, otherwise, you will need to con USB_Class_xxx_init function).

If you only add fsl_usb_framework, then, you need to configure USB module manually.

You can give a look to this document for USB device: Creating a New USB project with KSDK and Processor Expert support in KDS  (It was created for KSDK 1.2 but same principle applies for 1.3) or here is another document for USB Host: https://community.nxp.com/docs/DOC-331376.

I hope this can help you!

Regards,

Isaac

0 项奖励
回复