I am working with MK22FN512VLH12 under KDS3.0, I want to use PE genarate CDC clase, I use FSL_USB_stack, dose anyone have some idea?

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

I am working with MK22FN512VLH12 under KDS3.0, I want to use PE genarate CDC clase, I use FSL_USB_stack, dose anyone have some idea?

Jump to solution
877 Views
changfuzhao
Contributor III

pastedImage_0.png

pastedImage_1.png

I have installed PE_Lib create by Erich, inside 20150915

I don't know why FSL_USB_stack can't fine Init_USB_OTG_VAR0?

does anyone successes use  FSL_USB_stack in MK22FN512VLH12 under KDS3.0?

Thanks a lot

Labels (1)
0 Kudos
1 Solution
597 Views
BlackNight
NXP Employee
NXP Employee

Hi Carlos,

please read the instructions and information in McuOnEclipse Components: 17-Oct-2015 Release | MCU on Eclipse. You have to add the Init_USB_OTG  component and to disable the 'inherited' one.

Erich

View solution in original post

0 Kudos
6 Replies
597 Views
BlackNight
NXP Employee
NXP Employee

Hi Changfu,

first of all, I recommend to disable the 'tabs' view (see Switching between ‘tabs’ and ‘no-tabs’ UI in Processor Expert | MCU on Eclipse ) as things then are easier to work with.

Next, make sure that you do *not* use the Kinetis SDK, as the SDK is not compatible with any other than SDK components (starting with fsl_).

And I have a USB CDC project documented here: USB with the Freescale FRDM-K22F Board | MCU on Eclipse

There you find as well the project and sources on GitHub.

I hope this helps,

Erich

0 Kudos
597 Views
CCandido
Contributor V

USB_error.png

Hi, I have problems not solved.

tks to help,

Carlos.

0 Kudos
597 Views
BlackNight
NXP Employee
NXP Employee

Hi Carlos,

I have prepared a new release with workaround, please check out McuOnEclipse Components: 17-Oct-2015 Release | MCU on Eclipse

Erich

0 Kudos
597 Views
CCandido
Contributor V

Hi Erch,

update Components_17/10/2015,  not solved,

this problem started after I update.

KDS30,

KSDK1.3.

usb_erro2.png

the old projects with usb, is also giving error.

thanks,

Carlos.

0 Kudos
598 Views
BlackNight
NXP Employee
NXP Employee

Hi Carlos,

please read the instructions and information in McuOnEclipse Components: 17-Oct-2015 Release | MCU on Eclipse. You have to add the Init_USB_OTG  component and to disable the 'inherited' one.

Erich

0 Kudos
597 Views
CCandido
Contributor V

Hi Erich,

now USB ok!

see:

new cfg usb.jpg

thanks,

Carlos.

0 Kudos