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 ?

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

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 ?

948 Views
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 ?

Labels (1)
Tags (1)
0 Kudos
3 Replies

517 Views
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 Kudos

517 Views
kentpowell
Contributor I

Thanks I will check power and get the uTasker going

Kent

0 Kudos

517 Views
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 Kudos