Example project using USB stack with TWR-KL25Z48M

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

Example project using USB stack with TWR-KL25Z48M

1,056 Views
kwanghoPARK
Contributor II

Hello,

I have following resources for evaluation Kinetis KL series to introduce in the our new project.

- Hardware TWR-KL25Z48M

- IDE : CW10.6 evaluation copy.

- Freescale USB stack v4.1.1

Especially, i have intrested in HID USB example project with USB stack.

So, I have made a project with Example "USB_HID_MOUSE_DEVICE_MKL25Z128_PEx" int USB stack v4.1.1.

and download object file(ihex) in TWR board. but, There is no USB HID mouse driver in Device manage of my PC (Windows7)

Could you advice somthing about this symptom.

Thanks in advance

BR. Park   

Labels (2)
2 Replies

485 Views
BlackNight
NXP Employee
NXP Employee

Hi Park,

I don't have a specific example for the TWR-KL25Z48M, but any USB example for the FRDM-KL25Z will work too. I have attached you one of my examples which works on the TWR-KL25Z45M too and enumerates as USB Keyboard. I have attached for you a CodeWarrior for MCU10.6 with Processor Expert from my GitHub examples repository.

In the FLASH folder there is a S19 file you can use and program with your tool of choice (or use the OpenSDA MSD bootloader on the board).

If things are not enumerating on your side, then check jumper J18. I was trapped by this, see USB with the TWR-KL25Z48M Board: Check Jumper J18! | MCU on Eclipse.

If you need any further examples or tips, you might check out the Compendium (Compendium | MCU on Eclipse) which is still work in progress. The GitHub and has as well several projects and hosts Processor Expert projects which makes (at least for me) things much easier. The USB examples on it are based on the USB stack V4.1.1 too.

I hope this helps,

Erich

486 Views
mjbcswitzerland
Specialist V

Hi

Try USB code for your board at µTasker Test Software and Demos to verify that the HW is OK.

You can get fully tested USB-HID code (mouse, HID loaders) for your board from http://www.utasker.com/kinetis.html

This works with CW10.x, IAR, Keil, Rowely, Coo Cox, Atollic or standalone GCC and allows USB enumeration and operation to be simulated and studied with VisualStudio.

Regards

Mark